:root{color-scheme:dark;--bg:#030b1b;--bg2:#06152e;--panel:#081832;--panel2:#0c2042;--line:#1a3965;--line2:#234779;--text:#f5f8ff;--muted:#91a9cd;--mute2:#7187ac;--blue:#197bff;--electric:#00bbff;--ice:#76d4ff;--danger:#ff5a7f;--radius:19px}
*{box-sizing:border-box}html{height:100%;scroll-behavior:smooth}body{margin:0;min-height:100%;background:radial-gradient(ellipse 80% 60% at 50% -30%,#183874 0,transparent 75%),radial-gradient(ellipse 45% 40% at 100% 85%,#09264b80 0,transparent 85%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;letter-spacing:-.15px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}svg{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.85;stroke-linejoin:round;stroke-linecap:round;fill:none}svg.icon-defs{height:0;width:0;position:absolute;overflow:hidden}.hidden{display:none!important}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--ice);outline-offset:3px}.app-shell{min-height:100vh;max-width:1930px;margin:auto}
.topbar{height:91px;padding:0 clamp(18px,2.8vw,50px);display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(180deg,#091b36 0,#06142c 100%);border-bottom:1px solid #1c3b6a;box-shadow:0 13px 40px #0004;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:13px;flex:none}.brand-logo{width:66px;height:66px;object-fit:contain;filter:drop-shadow(0 0 8px #1766ff36)}.brand-name{font-size:clamp(19px,1.6vw,27px);font-weight:790;letter-spacing:-.9px;line-height:1.15}.brand-name b{font-weight:720;color:#e4f2ff}.brand-name small{display:block;font-size:8px;letter-spacing:2.8px;color:#5f90d0;font-weight:780;padding-top:6px}.top-nav{display:flex;align-items:center;gap:9px}.nav-btn{display:flex;align-items:center;gap:8px;background:none;border:1px solid transparent;border-radius:12px;color:#b5c6e4;font-weight:660;padding:12px 18px;min-height:46px;white-space:nowrap;font-size:13px}.nav-btn:hover{background:#122b4c}.nav-btn.active{color:white;background:linear-gradient(145deg,#1246a0,#084a9b 68%,#0c2a60);border-color:#237af5;box-shadow:inset 0 1px 0 #629dff3b,0 3px 20px #0b63e83b}.nav-btn svg{width:18px;height:18px}.mini-live{background:#e72b4d;color:#fff;font-size:9px;padding:3px 5px;border-radius:4px;letter-spacing:.6px}.top-actions{display:flex;align-items:center;gap:12px}.connection-pill{white-space:nowrap;color:#97bbec;font-size:9px;font-weight:850;letter-spacing:1px;padding:9px 11px;border:1px solid #2d4976;border-radius:30px}.connection-pill i{display:inline-block;height:6px;width:6px;border-radius:50%;background:#ffb858;margin-right:6px;box-shadow:0 0 0 3px #ffa34a24}.connection-pill.connected i{background:#49f5b7;box-shadow:0 0 0 3px #49f5b71f}.top-create{border:1px solid #22b8ff;background:linear-gradient(140deg,#02c9f4,#1679fb 55%,#1751e6);color:white;border-radius:12px;box-shadow:0 4px 23px #1176ff64;font-size:13px;font-weight:800;padding:12px 19px;display:flex;align-items:center;gap:8px;min-height:46px}.top-create:hover,.generate-button:hover{filter:brightness(1.12)}.top-create svg{width:17px;height:17px}.icon-button{border:1px solid #2b4670;background:#102546;width:43px;height:43px;display:grid;place-items:center;border-radius:50%;color:#d0e7ff}.icon-button:hover{background:#193f70}
.workspace{display:grid;grid-template-columns:minmax(205px,250px) minmax(550px,1fr) minmax(266px,310px);gap:16px;padding:22px clamp(13px,1.4vw,28px) 22px;min-height:calc(100vh - 139px)}.panel{background:linear-gradient(155deg,#0a1c3a,#07182f 77%);border:1px solid var(--line);border-radius:17px;box-shadow:0 13px 34px #0002;min-width:0}.sidebar,.live-panel{padding:18px 13px;display:flex;flex-direction:column;gap:0}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.panel-title>div{display:flex;align-items:center;gap:9px;min-width:0}.panel-title h2{font-size:17px;font-weight:760;white-space:nowrap;letter-spacing:-.5px}.panel-title svg{width:21px;height:21px;color:#c5e6ff}.link-button,.arrow-round{background:none;border:0;color:#b8d8fd;display:flex;gap:3px;align-items:center;white-space:nowrap;font-size:11px;font-weight:650;padding:3px}.link-button svg,.arrow-round svg{width:13px;height:13px}.sidebar-subtitle,.live-subtitle{font-size:11px;color:#7f9ac1;margin:11px 0 19px}.library-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;border-bottom:1px solid #18355a;padding-bottom:15px}.library-tabs button,.live-switch button{background:#0b2344;color:#bad0ea;border:1px solid #274873;border-radius:9px;padding:10px 2px;font-size:11px;font-weight:690;white-space:nowrap}.library-tabs button.active,.live-switch button.active{background:linear-gradient(145deg,#06b7f6,#155cff);color:white;border-color:#2198fc;box-shadow:0 3px 14px #0d72ff31}.side-library{padding-top:9px;display:flex;flex-direction:column;gap:0;min-height:215px;max-height:560px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#285184 transparent}.lib-item{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #193455;min-width:0;background:none;text-align:left;width:100%;border-left:0;border-right:0;border-top:0;color:white}.lib-item:hover .lib-caption b{color:#66ceff}.lib-item img{width:65px;height:57px;object-fit:cover;border-radius:9px;border:1px solid #31619a;flex:none}.lib-caption{display:flex;flex-direction:column;gap:5px;min-width:0}.lib-caption b{font-size:11px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.lib-caption small{font-size:10px;color:#7998c3}.lib-item .item-arrow{margin-left:auto;color:#557cae;font-size:12px}.empty-side{font-size:12px;line-height:1.6;color:var(--muted);padding:26px 4px;text-align:center}.sidebar-bottom{position:relative;overflow:hidden;margin-top:auto;border:1px solid #2a5590;background:linear-gradient(145deg,#0c3761 0%,#0a1e40 73%);border-radius:15px;padding:19px 16px 14px}.sidebar-bottom .sidebar-glow{position:absolute;right:-30px;top:-80px;width:150px;height:160px;background:#1d96f4;border-radius:50%;filter:blur(70px);opacity:.35}.sidebar-bottom>svg{color:#7bceff;width:23px;height:23px;margin-bottom:10px}.sidebar-bottom b{font-size:13px;line-height:1.4;position:relative;display:block}.sidebar-bottom p{color:#9fbbdd;font-size:11px;line-height:1.65;margin-top:7px;position:relative}.sidebar-bottom button{width:100%;margin-top:13px;border:1px solid #348bef;border-radius:8px;background:#155bb4;color:white;text-align:left;display:flex;align-items:center;justify-content:space-between;padding:9px 12px;font-size:11px;font-weight:700}
.main-column{min-width:0}.view{animation:fadein .18s ease-out}@keyframes fadein{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 8px 23px}.eyebrow{color:#80cfff;letter-spacing:2px;font-size:9px;font-weight:850;text-transform:uppercase}.eyebrow-dot{display:inline-block;width:6px;height:6px;background:#5bc5ff;border-radius:50%;margin-right:7px;box-shadow:0 0 10px #3dbafe}.workspace-heading h1{display:flex;align-items:center;gap:12px;font-size:clamp(26px,2.6vw,37px);line-height:1.12;letter-spacing:-1.5px;font-weight:800;margin-top:12px}.workspace-heading h1 svg{color:#8dd8ff;width:29px;height:29px;filter:drop-shadow(0 0 9px #2fa0ff8c)}.workspace-heading h1 span{color:#bce4ff}.workspace-heading p{margin-top:9px;font-size:12px;color:#9ab3d6}.headline-right{display:flex;flex-direction:column;gap:7px;text-align:right;color:#507da7;letter-spacing:1.8px;font-size:9px;font-weight:800}.version{padding:7px 10px;border:1px solid #1c3c6b;border-radius:20px;color:#8fbaf1;letter-spacing:1px}.mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:15px}.mode-tab{border:1px solid #315483;background:linear-gradient(155deg,#10294d,#081d3a);color:#d5e7ff;padding:14px 6px;min-height:52px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:680;white-space:nowrap}.mode-tab:hover{border-color:#428aff}.mode-tab svg{height:18px;width:18px}.mode-tab.active{border-color:#16b9ff;background:linear-gradient(128deg,#07b9fa 0%,#146bfc 62%,#1554ed 100%);color:white;box-shadow:0 0 18px #1275ff55,inset 0 1px 0 #d6e7ff6b}
.creation-grid{display:grid;grid-template-columns:minmax(270px,.95fr) minmax(300px,1.07fr);gap:11px}.card{min-width:0;border:1px solid #204674;border-radius:17px;background:linear-gradient(155deg,#0c2449,#081b38 57%,#07152c);box-shadow:0 6px 30px #0002;padding:15px}.card-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}.card-header h3{display:flex;align-items:center;gap:7px;font-size:15px;letter-spacing:-.3px}.card-header h3 svg{color:#84ceff;width:18px;height:18px}.engine-tag{color:#8ebdea;background:#102e54;border:1px solid #245585;padding:7px 8px;border-radius:7px;font-size:9px;font-weight:800;letter-spacing:.6px;white-space:nowrap}.control-label{font-size:12px;font-weight:760;display:flex;justify-content:space-between;gap:6px;align-items:center;margin:0 0 9px}.control-label span{color:#7995ba;font-size:10px;font-weight:470}.prompt-wrap{border:1px solid #398ff1;border-radius:11px;background:linear-gradient(145deg,#0a2a56,#071d3a);box-shadow:0 0 18px #187aff19,inset 0 0 0 1px #0c3868;overflow:hidden}.prompt-wrap textarea{display:block;resize:vertical;min-height:120px;width:100%;background:transparent;color:#f1f8ff;font-size:12px;line-height:1.68;border:0;outline:0;padding:14px 14px 3px}.prompt-wrap textarea::placeholder{color:#6689b4}.prompt-bottom{display:flex;justify-content:space-between;align-items:center;padding:6px 12px 10px;gap:8px;font-size:10px;color:#799ac6}.prompt-bottom button{background:none;border:0;color:#9fdaff;display:flex;align-items:center;gap:6px;font-size:10px;font-weight:680;padding:4px 0}.prompt-bottom svg{height:13px;width:13px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 10px;margin:16px 0}.field label{display:block;color:#d7e6fc;font-size:11px;font-weight:690;margin-bottom:7px}.field select,.url-input,.search-field input,.modal-input,.modal-textarea,.chat-form input{width:100%;min-width:0;color:#e5f3ff;border:1px solid #315686;background-color:#0c2448;border-radius:9px;min-height:40px;padding:9px 10px;font-size:11px;outline:0}.field select{appearance:none;padding-right:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='m1 1 4.5 5L10 1' fill='none' stroke='%2391c7ff' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;cursor:pointer}.field option{color:white;background:#10264a}.field select:focus,.url-input:focus{border-color:#3d9efd}.media-group{margin:16px 0}.reference-drop{border:1px dashed #5985ba;background:#0c2140;border-radius:11px;padding:16px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:91px;gap:4px;cursor:pointer;text-align:center}.reference-drop:hover{background:#0d2b56;border-color:#66bfff}.reference-drop svg{width:24px;height:24px;color:#91ceff}.reference-drop b{font-size:11px;font-weight:650}.reference-drop small{font-size:9px;color:#8fa6ca}.url-input{margin-top:7px;min-height:35px}.reference-thumb{max-width:100%;height:80px;border-radius:8px;object-fit:cover;margin-top:7px}.toggle-line{display:flex;justify-content:space-between;align-items:center;background:#091b36;padding:11px 12px;border:1px solid #1c3c68;border-radius:10px;margin-top:12px;cursor:pointer}.toggle-line>div{display:flex;align-items:center;gap:10px}.toggle-line>div svg{width:18px;height:18px;color:#90caff}.toggle-line b{font-size:11px}.toggle-line small{display:block;color:#7895ba;font-size:10px;margin-top:3px}.toggle-line input{position:absolute;opacity:0}.switch{height:21px;width:37px;border-radius:20px;background:#3f5678;position:relative;transition:background .2s}.switch:before{content:'';position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:white;transition:transform .2s}.toggle-line input:checked+.switch{background:#1686ed}.toggle-line input:checked+.switch:before{transform:translateX(16px)}.action-stack{display:grid;grid-template-columns:1fr;gap:8px;margin-top:18px}.generate-button{background:linear-gradient(120deg,#00c4fc,#1679ff 65%,#1258ef);color:#fff;border:1px solid #1bc9ff;box-shadow:0 0 20px #087de94d;border-radius:12px;min-height:52px;font-size:15px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:820}.generate-button svg{width:20px;height:20px}.generate-arrow{margin-left:auto;margin-right:13px;font-size:19px;font-weight:500}.generate-button>svg{margin-left:auto}.save-button{background:#0b264e;border:1px solid #31609c;color:#cce6ff;border-radius:9px;min-height:38px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px}.save-button svg{height:15px;width:15px}.api-hint{display:flex;align-items:flex-start;gap:7px;color:#7d9bbe;font-size:10px;line-height:1.5;margin:13px 2px 0}.tiny-led{width:6px;height:6px;background:#72b5ff;border-radius:100%;margin-top:5px;flex:none}
.preview-badge{font-size:9px;letter-spacing:1px;border:1px solid #385784;color:#9ac7f6;border-radius:20px;padding:7px 9px;white-space:nowrap}.preview-frame{position:relative;border:1px solid #315d9b;border-radius:12px;overflow:hidden;height:clamp(250px,28vw,392px);background:#101e3c}.preview-frame>img,.preview-frame video{width:100%;height:100%;object-fit:cover;display:block}.preview-gradient{position:absolute;inset:0;background:linear-gradient(0deg,#040d23d9 0,transparent 45%,#0410206e 100%);pointer-events:none}.preview-label{position:absolute;left:16px;top:15px;font-size:9px;color:#eaf7ff;letter-spacing:2px;font-weight:840}.preview-copy{position:absolute;bottom:20px;left:18px;right:18px;text-shadow:0 2px 9px #0005}.preview-copy span{font-size:9px;letter-spacing:2px;color:#b9e0ff;font-weight:750}.preview-copy h2{font-size:clamp(19px,2vw,29px);font-weight:780;letter-spacing:-1px;margin:5px 0 8px}.preview-copy small{color:#d9e8ffb3;font-size:10px}.preview-control{display:flex;justify-content:space-between;align-items:center;margin-top:9px;border:1px solid #193b66;background:#061b39;border-radius:8px;padding:10px;font-size:11px;color:#aec7e9}.preview-control>div{display:flex;align-items:center;gap:8px}.play-dot{color:#5dc5ff}.preview-control>span{border:1px solid #254677;border-radius:5px;padding:4px 6px;font-size:9px;color:#9ac4f2}.job-details{display:flex;align-items:center;gap:10px;background:#0b2243;border:1px solid #214574;border-radius:10px;padding:12px 11px;margin-top:12px;min-height:65px}.status-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#123c73;color:#82d3fc;font-size:18px;flex:none}.job-details b{font-size:12px}.job-details p{font-size:10px;color:#86a5cd;line-height:1.5;margin-top:3px}.preview-actions{display:grid;grid-template-columns:1fr 1fr auto auto;gap:6px;margin:11px 0 17px}.action-mini{display:flex;align-items:center;justify-content:center;gap:6px;min-height:37px;border:1px solid #325680;border-radius:9px;background:#132b4d;color:#e1f0ff;padding:8px 9px;font-size:10px;font-weight:660;white-space:nowrap}.action-mini:hover:not(.disabled){background:#1a3d6e}.action-mini svg{width:14px;height:14px}.action-mini.disabled{opacity:.42;pointer-events:none}.action-mini.icon-only{padding:7px;width:37px}.recent-jobs-head{border-top:1px solid #1e416a;padding-top:16px;display:flex;justify-content:space-between;align-items:center}.recent-jobs-head h4{font-size:12px;font-weight:730}.recent-jobs-head button{font-size:10px;color:#83c5ff;background:none;border:0;display:flex;align-items:center;gap:1px}.recent-jobs-head svg{width:12px;height:12px}.recent-jobs{padding-top:9px;display:flex;flex-direction:column;gap:5px}.no-jobs{padding:16px 6px;color:#829cbe;text-align:center;font-size:11px}.recent-job{display:flex;gap:7px;align-items:center;justify-content:space-between;padding:8px;border:1px solid #1a3d66;border-radius:8px;background:#0a2040;cursor:pointer;text-align:left;color:var(--text)}.recent-job:hover{background:#133054}.recent-job>div{min-width:0}.recent-job b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.recent-job small{display:block;color:#8dabd2;font-size:9px;margin-top:3px}.job-status{font-size:9px;background:#1b3d69;color:#a5d9ff;padding:5px 6px;border-radius:5px;white-space:nowrap}.job-status.ready{background:#0d5045;color:#73fcd2}.job-status.failed{background:#492138;color:#ffc2d2}
.live-panel{padding:17px 12px;min-height:700px}.live-panel .live-icon{color:#4cc3ff}.live-subtitle{margin-bottom:14px}.live-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}.live-switch button{padding:9px 0}.tiktok-card{border:1px solid #3767a6;border-radius:14px;overflow:hidden;box-shadow:0 12px 23px #0004;background:#071933}.vertical-stage{height:min(55vh,530px);min-height:368px;position:relative;overflow:hidden}.vertical-stage>img{height:100%;width:100%;object-fit:cover;display:block;object-position:center 20%}.stage-shade{position:absolute;inset:0;background:linear-gradient(180deg,#040d235f 0%,transparent 34%,#041024bb 76%,#020a1f 100%)}.stage-top{position:absolute;top:13px;left:10px;right:10px;display:flex;justify-content:space-between;align-items:center;gap:6px}.stage-channel{background:#06172acb;border:1px solid #ffffff49;border-radius:50px;padding:4px 9px 4px 4px;display:flex;align-items:center;gap:5px;white-space:nowrap;color:#fff;font-size:9px;font-weight:800;letter-spacing:.3px}.stage-channel img{width:26px;height:26px;border-radius:50%;object-fit:cover}.stage-label{color:#fff;background:#1866adce;border-radius:5px;padding:6px 7px;font-size:9px;font-weight:900;letter-spacing:.5px;white-space:nowrap}.stage-label.is-live{background:#ef3457}.stage-content{position:absolute;bottom:23px;left:13px;right:48px;color:#fff;text-shadow:0 2px 5px #0009}.stage-content>span{font-size:9px;font-weight:870;letter-spacing:1px;color:#afe5ff}.stage-content h3{font-size:22px;letter-spacing:-.8px;line-height:1.12;margin:9px 0 8px;word-break:break-word}.stage-content p{font-size:11px;line-height:1.5;color:#e0effb;max-height:85px;overflow:hidden;overflow-wrap:anywhere}.social-rail{position:absolute;right:10px;bottom:40px;display:flex;flex-direction:column;gap:13px}.social-rail button{background:#081930a3;color:white;border:1px solid #ffffff54;border-radius:30px;width:34px;height:34px;display:flex;flex-direction:column;align-items:center;justify-content:center;backdrop-filter:blur(5px)}.social-rail svg{width:19px;height:19px;stroke-width:2}.social-rail small{font-size:9px}.feed-pager{display:flex;justify-content:space-between;gap:5px;align-items:center;padding:12px 2px;color:#7999bf;font-size:9px;letter-spacing:.7px}.feed-pager button{border:0;background:none;color:#a3d6ff;font-weight:670;font-size:10px;padding:4px}.callout-action{width:100%;background:linear-gradient(125deg,#018fcc,#146af1);border:1px solid #0ab5fa;color:white;border-radius:10px;padding:12px;font-size:12px;font-weight:780;display:flex;align-items:center;justify-content:center;gap:8px}.callout-action svg{width:17px;height:17px}.disclaimer{font-size:10px;line-height:1.6;color:#678ebd;margin:13px 2px 0}.disclaimer-dot{height:6px;width:6px;display:inline-block;border-radius:50%;background:#4ea1d9;margin-right:4px}.app-footer{border-top:1px solid #112b50;min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:10px 27px;color:#5179a6;letter-spacing:1.5px;font-size:9px;font-weight:780}.app-footer em{color:#3e94e7;font-style:normal}
.section-intro{padding:20px 8px 24px}.section-intro h1{font-size:clamp(26px,3vw,38px);line-height:1.1;letter-spacing:-1.4px;margin:13px 0 10px}.section-intro em{font-style:normal;color:#8edcff}.section-intro p{color:#8aa6cf;line-height:1.6;font-size:12px}.library-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:20px}.search-field{border:1px solid #1d4478;background:#0a2143;border-radius:10px;display:flex;align-items:center;gap:10px;flex:1;padding:0 12px}.search-field svg{color:#78abde;width:17px;height:17px}.search-field input{border:0;background:none;min-height:45px;padding-left:0}.new-small{white-space:nowrap;background:#1573db;color:white;border:1px solid #23a2fa;border-radius:10px;min-height:43px;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;font-size:11px;font-weight:750}.new-small svg{width:16px;height:16px}.new-small.outline{background:#0a264a;color:#a8d6ff;border-color:#3368a1}.library-subhead{margin:20px 0 11px;padding-bottom:11px;border-bottom:1px solid #24456e;color:#96c1ed;font-weight:850;letter-spacing:1.5px;font-size:10px;display:flex;gap:9px}.library-subhead span{color:#5fd0ff}.library-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.result-card{background:#0a2041;border:1px solid #225184;border-radius:13px;overflow:hidden;min-width:0}.result-banner{height:110px;position:relative;background:linear-gradient(145deg,#132e5e,#0c4677)}.result-banner img{width:100%;height:100%;object-fit:cover}.result-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#030b1b8c,transparent 60%);pointer-events:none}.result-banner .result-type{position:absolute;z-index:1;left:10px;bottom:9px;background:#08192bc7;border:1px solid #577bb8;color:#c6e2ff;font-size:9px;padding:4px 6px;border-radius:5px}.result-details{padding:13px}.result-details h3{font-size:12px;line-height:1.4;margin-bottom:9px;font-weight:730;overflow-wrap:anywhere}.result-details p{font-size:10px;color:#799dc7;line-height:1.5;margin-bottom:11px}.result-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.result-footer button,.result-footer a{border:1px solid #3565a0;background:#10335c;color:#adddff;padding:7px 9px;border-radius:7px;font-size:10px;font-weight:680;display:flex;align-items:center;gap:4px}.result-footer .delete{background:transparent;border-color:#4b3655;color:#fca4b4}.result-footer svg{width:13px;height:13px}.empty-block{padding:40px 18px;text-align:center;color:#8ba8cd;font-size:12px;border:1px dashed #25517c;border-radius:14px;grid-column:1/-1;background:#0b1e3b}.callouts-heading{display:flex;align-items:center;gap:10px}.community-columns{display:grid;grid-template-columns:1.13fr .87fr;gap:13px;margin-top:14px}.full-feed,.room-list{display:flex;flex-direction:column;gap:11px}.post-card,.room-card{background:#0a2040;border:1px solid #224979;border-radius:12px;overflow:hidden}.post-cover{height:180px;object-fit:cover;width:100%;display:block}.post-content{padding:13px}.post-meta{font-size:9px;letter-spacing:1px;color:#70beed;margin-bottom:9px}.post-content h3{font-size:15px;line-height:1.3;margin-bottom:8px}.post-content p{font-size:11px;color:#adc4e3;line-height:1.6;overflow-wrap:anywhere}.post-actions{margin-top:13px;display:flex;justify-content:space-between;align-items:center;gap:5px}.post-actions button,.post-actions span{border:1px solid #275389;background:#113259;color:#a8dbff;padding:7px 10px;border-radius:8px;font-size:10px;display:flex;align-items:center;gap:6px}.post-actions svg{height:15px;width:15px}.post-actions .destructive{background:#2d1f35;color:#f8a4b4}.room-card{padding:12px;display:flex;gap:10px;align-items:center}.room-card>img{width:54px;height:60px;border-radius:8px;object-fit:cover;flex:none}.room-card h4{font-size:12px;line-height:1.4}.room-card p{margin-top:5px;color:#789dcb;font-size:10px}.room-card button{margin-left:auto;border:1px solid #2c8cd7;background:#0c5097;padding:7px 9px;color:white;border-radius:7px;font-size:10px;flex:none}.room-card button:disabled{opacity:.5}.room-status-dot{display:inline-block;width:6px;height:6px;background:#ff577a;border-radius:50%;margin-right:4px}
.room-display{border:1px solid #2b5383;border-radius:13px;overflow:hidden;background:#071a36}.room-visual{height:160px;position:relative;background:#0c2c51}.room-visual img{width:100%;height:100%;object-fit:cover;object-position:center 22%;filter:brightness(.65)}.room-live-label{position:absolute;top:9px;right:9px;font-size:9px;font-weight:830;color:white;background:#436687;border-radius:5px;padding:6px 8px}.room-live-label.active{background:#ed3759}.room-visual-title{position:absolute;bottom:10px;left:12px;right:12px;font-size:16px;font-weight:800;text-shadow:0 3px 12px black}.chat-messages{min-height:145px;max-height:185px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:12px}.chat-empty{color:#8aa7cb;font-size:11px;line-height:1.6;text-align:center;margin:auto}.chat-bubble{color:#dceeff;font-size:10px;line-height:1.5;background:#18365a;border-radius:8px;padding:8px}.chat-bubble b{color:#64cdff;margin-right:5px}.chat-form{padding:7px 10px 9px;border-top:1px solid #1c406a}.chat-form>input{min-height:31px;margin-bottom:7px}.chat-compose{display:flex;gap:6px}.chat-compose input{min-height:36px}.chat-compose button{border:1px solid #17abfb;background:#125bd0;width:38px;flex:none;display:grid;place-items:center;border-radius:9px;color:white}.chat-compose svg{width:17px;height:17px}.room-controls{display:flex;align-items:center;justify-content:space-between;padding:0 11px 12px;gap:6px}.room-controls button{background:transparent;border:1px solid #35629d;color:#90c8ff;border-radius:7px;padding:7px 10px;font-size:10px}.room-controls #endRoomButton{border-color:#62374d;color:#fea6b9}.room-select-head{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#719dcc;margin:14px 3px 9px}.side-rooms{display:flex;flex-direction:column;gap:6px}.side-room{background:#10294d;border:1px solid #2a5481;color:#b9dafa;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px;border-radius:8px;font-size:10px}.side-room span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-room.active{border-color:#17a4f1;background:#173e70}.side-room small{color:#ff799a;font-weight:790;font-size:9px}
.modal-backdrop{position:fixed;z-index:30;inset:0;background:#020917d9;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:16px}.modal{background:linear-gradient(155deg,#0d2a53,#061a35);border:1px solid #3772ad;box-shadow:0 30px 90px #000a;border-radius:19px;width:min(100%,490px);max-height:min(90vh,800px);overflow:auto;padding:25px}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:23px;gap:8px}.modal-heading h2{font-size:24px;letter-spacing:-.8px;margin-top:9px}.close-modal{border:1px solid #36628c;border-radius:9px;background:#13355e;color:#cce8ff;width:35px;height:35px;display:grid;place-items:center}.modal-body-label{display:block;color:#c4deff;font-size:11px;font-weight:750;margin:14px 0 7px}.modal-input,.modal-textarea{font-size:12px;min-height:42px}.modal-textarea{resize:vertical;min-height:110px;line-height:1.6;padding:12px}.modal-file{display:flex;align-items:center;justify-content:center;gap:10px;color:#a9d7ff;background:#0c2b50;border:1px dashed #4e87bd;border-radius:10px;padding:16px;font-size:11px;cursor:pointer}.modal-file svg{width:19px;height:19px}.modal-file img{max-height:90px;border-radius:7px}.modal-help{font-size:11px;color:#87a8d2;line-height:1.7;margin:14px 0}.modal-help a{color:#72c8ff;text-decoration:underline;text-underline-offset:2px}.modal-actions{display:flex;gap:9px;margin-top:20px}.modal-actions button{flex:1;min-height:45px;border-radius:9px;border:1px solid #2379cd;background:linear-gradient(120deg,#0592e8,#175fdf);color:white;font-size:12px;font-weight:790}.modal-actions button.secondary{background:#102c51;border-color:#335e88;color:#d1eaff}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #28517b;font-size:12px}.setting-row strong{color:#8fe6ff}.code-sample{background:#041229;border:1px solid #35618c;border-radius:8px;font-size:11px;color:#94e2fc;display:block;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}.auth-info{font-size:11px;line-height:1.7;color:#a5c7ed;margin:12px 0}.toast{position:fixed;z-index:40;right:18px;bottom:20px;max-width:min(480px,calc(100vw - 35px));opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s,transform .2s;background:#123a66;color:#fff;border:1px solid #4e99e4;border-radius:11px;padding:13px 16px;font-size:12px;box-shadow:0 15px 50px #0009}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#4b1d35;border-color:#b55679}
@media(max-width:1510px){.workspace{grid-template-columns:minmax(192px,230px) minmax(520px,1fr) minmax(246px,280px);gap:10px;padding-inline:12px}.sidebar,.live-panel{padding:14px 10px}.creation-grid{grid-template-columns:minmax(245px,.95fr) minmax(260px,1fr);gap:9px}.mode-tab{font-size:10px;gap:5px}.brand-name{font-size:20px}.brand-logo{width:59px;height:59px}.topbar{padding:0 20px}.nav-btn{padding:11px 12px}.panel-title h2{font-size:15px}.link-button{font-size:10px}}
@media(max-width:1160px){.workspace{grid-template-columns:205px minmax(0,1fr)}.live-panel{grid-column:2;grid-row:2;min-height:0}.live-panel #liveFeedPanel{max-width:560px}.vertical-stage{height:380px;min-height:0}.creation-grid{grid-template-columns:1fr 1fr}.top-nav{gap:3px}.nav-btn{font-size:11px}.topbar{gap:10px}}
@media(max-width:860px){.topbar{height:auto;min-height:72px;flex-wrap:wrap;padding:10px 15px}.brand-logo{height:49px;width:49px}.brand-name{font-size:18px}.brand-name small{font-size:7px}.top-nav{order:3;width:100%;justify-content:center}.nav-btn{flex:1;justify-content:center}.connection-pill{display:none}.workspace{display:flex;flex-direction:column;padding:13px;min-height:0}.main-column{order:1}.sidebar{order:2}.live-panel{order:3}.sidebar-bottom{margin-top:20px}.side-library{display:grid;grid-template-columns:repeat(2,1fr);gap:0 14px;max-height:none}.creation-grid{grid-template-columns:1fr 1fr}.mode-tabs{gap:5px}.mode-tab{padding:10px 6px;min-height:49px}.live-panel #liveFeedPanel{margin:auto;width:100%;max-width:400px}.live-panel{min-height:0}.vertical-stage{height:500px}.app-footer{gap:10px;font-size:8px}}
@media(max-width:610px){.top-create{min-height:39px;padding:9px 11px}.top-create span{display:none}.top-actions{gap:7px}.icon-button{height:39px;width:39px}.nav-btn{padding:9px 5px;font-size:10px;gap:4px}.nav-btn svg{width:14px;height:14px}.mini-live{font-size:7px;padding:2px 3px}.workspace-heading{padding:11px 3px 18px}.workspace-heading h1{font-size:28px}.headline-right{display:none}.mode-tabs{grid-template-columns:repeat(2,1fr)}.mode-tab{font-size:11px}.creation-grid{grid-template-columns:1fr}.preview-frame{height:310px}.card{padding:13px}.library-results{grid-template-columns:1fr}.community-columns{grid-template-columns:1fr}.library-toolbar{flex-direction:column;align-items:stretch}.side-library{grid-template-columns:1fr 1fr}.app-footer span:nth-child(2){display:none}.callouts-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}

.ai-callout-action{margin-bottom:8px;background:linear-gradient(115deg,#194bd9,#1e9cf5);box-shadow:0 0 20px rgba(37,106,255,.15)}
.ai-callout-action:hover{filter:brightness(1.12)}
[data-ai-status]{font-weight:700;color:#68c9ff}
/* Call-Out: an immersive feed with a conversation alongside it. */
.callout-view .workspace{grid-template-columns:minmax(0,1fr);max-width:1260px;margin:auto}.callout-view .sidebar,.callout-view .live-panel{display:none}.callout-header{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:26px 0 30px}.callout-header h1{font-size:clamp(34px,4vw,58px);letter-spacing:-2.4px;line-height:1.04;margin:13px 0}.callout-header h1 em{font-style:normal;color:#74d8ff}.callout-header p{color:#a4b8d2;font-size:14px}.callout-tools{display:flex;gap:8px;flex-wrap:wrap;max-width:340px;justify-content:flex-end}.callout-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.feed-tabs{display:flex;gap:5px;padding:4px;background:#0c1c32;border:1px solid #264164;border-radius:40px}.feed-tabs button{border:0;color:#a4bbd8;background:none;padding:11px 22px;border-radius:28px;font-weight:700}.feed-tabs button.active{background:#e2f5ff;color:#06162c}.callout-toolbar input{background:#0b192d;border:1px solid #263f60;color:white;padding:14px 18px;border-radius:30px;width:min(360px,50%);min-width:0}.callout-layout{display:grid;grid-template-columns:minmax(0,560px) minmax(240px,1fr);gap:40px;justify-content:center}.feed-direction{font-size:9px;letter-spacing:2px;color:#9baecc;display:flex;justify-content:space-between;padding:0 4px 12px}.immersive-feed{height:760px;height:min(78svh,840px);overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;border-radius:26px;background:#091529;overscroll-behavior-y:contain;outline-offset:4px}.immersive-feed::-webkit-scrollbar{display:none}.callout-slide{position:relative;height:100%;min-height:480px;scroll-snap-align:start;scroll-snap-stop:always;isolation:isolate;overflow:hidden;background:#122a47}.callout-visual{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.callout-gradient{position:absolute;inset:0;background:linear-gradient(180deg,#02071455 0%,transparent 30%,#02091b70 50%,#02091bf2 95%);z-index:-1}.callout-top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:21px}.creator-chip{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700}.creator-chip img{width:34px;height:34px;object-fit:contain;background:#07152c;border-radius:50%;padding:4px}.post-kind{background:#07112699;backdrop-filter:blur(10px);font-size:9px;letter-spacing:1px;padding:8px 10px;border:1px solid #ffffff30;border-radius:30px}.callout-copy{position:absolute;bottom:30px;left:27px;right:85px}.callout-kicker{font-size:8px;letter-spacing:2px;color:#93dbff;font-weight:800}.callout-copy h2{font-size:clamp(27px,3vw,40px);line-height:1.08;letter-spacing:-1.2px;margin:12px 0;overflow-wrap:anywhere}.callout-copy p{font-size:13px;line-height:1.7;color:#e0eaf8;white-space:pre-wrap;overflow-wrap:anywhere}.callout-date{display:block;color:#99acc6;font-size:10px;margin-top:12px}.join-conversation{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid #ffffff42;background:#ffffff17;color:white;backdrop-filter:blur(15px);border-radius:12px;padding:14px;margin-top:20px;font-size:12px;font-weight:650}.callout-rail{position:absolute;right:15px;bottom:34px;display:flex;flex-direction:column;gap:17px;align-items:center}.callout-rail button{border:0;background:#07122566;color:white;border-radius:50%;width:45px;min-height:45px;padding:10px 7px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px}.callout-rail button small{font-size:9px}.callout-rail button svg{width:22px;height:22px}.callout-rail button[aria-pressed=true]{color:#80ddff;background:#0f4076}.callout-rail button:disabled{opacity:1}.text-callout{background:radial-gradient(ellipse at 70% 20%,#3c5b96,transparent 65%),linear-gradient(150deg,#172e57,#0c1a32)}.text-callout:nth-child(3n){background:radial-gradient(ellipse at 70% 20%,#425f53,transparent 65%),#102d30}.text-visual{position:absolute;top:17%;left:9%;font-family:Georgia,serif;font-size:300px;line-height:1;color:#c4eaff15;z-index:-2}.conversation-hub{padding-top:38px}.hub-label{font-size:9px;letter-spacing:2px;color:#75d5ff}.conversation-hub h2{font-size:38px;letter-spacing:-1.4px;line-height:1.12;margin:18px 0}.conversation-hub>p{font-size:13px;line-height:1.8;color:#a8bdd8;max-width:330px}.hub-note{font-size:10px;color:#79cfba;background:#11333360;border:1px solid #2b5d5b;border-radius:12px;padding:13px;margin:24px 0 35px}.conversation-hub .room-card{display:flex;padding:10px;gap:10px;align-items:center}.conversation-hub .room-card>img{width:55px;height:64px;border-radius:8px;object-fit:cover}.conversation-hub .room-card>div{padding:0;flex:1}.conversation-hub .room-card h4{font-size:12px}.conversation-hub .room-card p{font-size:9px}.conversation-hub .room-card button{padding:10px}.feed-empty{min-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px;gap:20px;background:radial-gradient(ellipse at top,#183f6e,#07142a)}.feed-empty>span{font-size:60px;color:#8edfff}.feed-empty h2{font-size:32px;letter-spacing:-1px}.feed-empty p{font-size:13px;color:#a7bddb;line-height:1.8;max-width:290px}.feed-empty button{border:1px solid #6dccff;background:#1477df;color:white;padding:15px 22px;border-radius:30px}.reply-context{padding:18px;border:1px solid #29466d;border-radius:14px;background:#0b1f3a}.reply-context p{color:#acbdd5;line-height:1.7;font-size:13px;margin-top:8px}.reply-list{max-height:32svh;overflow:auto;margin:15px 0;overscroll-behavior:contain}.reply-item{padding:15px 3px;border-bottom:1px solid #244064}.reply-item b{font-size:12px}.reply-item small{font-size:9px;color:#8ca7c8;margin-left:12px}.reply-item p,.full-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin-top:8px}.read-message{background:none;color:#8cdfff;border:0;padding:8px 0;font-size:12px}.mobile-dock{display:none}.modal{max-height:90svh;overflow-y:auto;overscroll-behavior:contain}.modal-input,.modal-textarea{font-size:16px}.modal-backdrop{z-index:100}.toast{z-index:120}#calloutRoomDock{scroll-margin-top:20px}#calloutRoomDock .chat-messages{height:280px}#calloutRoomDock #liveRoomPanel{margin:20px 0;padding:12px;background:#0b203d;border-radius:20px}
@media(max-width:860px){body{padding-bottom:78px}.mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:60;align-items:center;justify-content:space-around;background:#061326ed;backdrop-filter:blur(20px);border-top:1px solid #274365;padding:9px 8px calc(9px + env(safe-area-inset-bottom))}.mobile-dock button{display:flex;align-items:center;flex-direction:column;gap:5px;color:#93aeca;background:none;border:0;min-width:50px;min-height:45px;font-size:9px}.mobile-dock button.active{color:#8bdfff}.mobile-dock #mobilePost{font-size:28px;color:#061c30;background:#8ee2ff;border-radius:16px;width:51px;min-height:43px;justify-content:center}.callout-view .top-nav{display:none}.callout-view .topbar{min-height:64px}.callout-view .workspace{padding:0 14px}.callout-header{padding:23px 4px 18px;gap:12px}.callout-header h1{font-size:34px;letter-spacing:-1.5px}.callout-header p{font-size:11px}.callout-header .eyebrow{font-size:8px}.callout-tools{max-width:150px;gap:7px}.callout-tools button{font-size:10px;padding:11px;min-height:40px}.callout-layout{grid-template-columns:minmax(0,1fr);gap:20px}.callout-toolbar{gap:9px;margin-bottom:12px}.feed-tabs button{padding:10px 14px;font-size:11px}.callout-toolbar input{width:48%;font-size:11px;padding:13px}.immersive-feed{height:calc(100svh - 160px);min-height:530px;border-radius:22px}.callout-slide{min-height:530px}.callout-copy{left:22px;right:76px;bottom:25px}.callout-copy h2{font-size:32px}.callout-copy p{font-size:12px;line-height:1.6}.callout-rail{right:12px;gap:14px;bottom:25px}.callout-top{padding:17px}.callout-rail button{width:43px}.conversation-hub{padding:20px 10px}.conversation-hub>h2,.conversation-hub>.hub-label,.conversation-hub>p,.hub-note{display:none}.callout-view .app-footer{display:none}.toast{bottom:90px}.modal-backdrop{padding:10px;align-items:flex-end}.modal{width:100%;max-height:88svh;border-radius:24px 24px 12px 12px;padding:22px 18px}.modal h2{font-size:24px}.callout-view .main-column{width:100%;min-width:0}}
@media(max-width:360px){.callout-header h1{font-size:29px}.callout-tools{max-width:128px}.callout-copy h2{font-size:27px}.callout-toolbar input{font-size:10px}.creator-chip{font-size:10px}}
@media(max-width:860px){.callout-header{padding:18px 4px 14px;align-items:center}.callout-header h1{font-size:26px;letter-spacing:-1px;margin:8px 0 0}.callout-header p{display:none}.callout-tools{max-width:130px}.callout-tools #makeCallout,.callout-tools #makeRoom{display:none}.callout-toolbar{margin-bottom:8px}.feed-direction{padding-bottom:10px}.immersive-feed{height:calc(100svh - 275px);min-height:450px}.callout-slide{min-height:450px}.callout-copy h2{font-size:29px}.callout-copy{bottom:22px}.callout-copy p{line-height:1.5}.join-conversation{margin-top:14px;padding:12px}.callout-header .eyebrow{letter-spacing:1.5px}}
@media(max-width:860px){.immersive-feed{height:calc(100svh - 340px)}.callout-copy h2{font-size:27px}}
.prediction-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}.prediction-intro h2{font-size:34px;letter-spacing:-1px;margin:8px 0}.prediction-intro p{color:#a6bddc;font-size:13px}.demo-wallet{background:#102c4e;border:1px solid #375c86;padding:15px 22px;border-radius:18px;white-space:nowrap}.demo-wallet small{display:block;color:#99b6df;font-size:9px;letter-spacing:1.5px}.demo-wallet b{display:block;font-size:24px;margin-top:5px}.prediction-notice{background:#113039;border:1px solid #28575d;border-radius:12px;padding:13px;color:#acd2d7;font-size:11px;line-height:1.7}.prediction-filters{display:flex;gap:8px;align-items:center;margin:22px 0}.prediction-filters button{padding:10px 15px;color:#adc5e7;background:none;border:1px solid #284b72;border-radius:24px;font-size:12px}.prediction-filters button.active{background:#d6edff;color:#102d50}.prediction-filters>span{margin-left:auto;font-size:10px;color:#94b2d7}.prediction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.prediction-card{padding:23px;border-radius:27px;background:linear-gradient(135deg,#347bce,#2c65b1);box-shadow:inset 0 1px 0 #ffffff24,0 16px 40px #0002;color:#f5f8ff;min-width:0}.prediction-category{font-size:9px;letter-spacing:1.5px;color:#d0e5ff;display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.prediction-category>span{font-size:8px;background:#ffffff14;border:1px solid #ffffff26;border-radius:20px;padding:4px 7px}.prediction-question{display:flex;align-items:start;gap:13px;min-height:105px}.prediction-avatar{display:grid;place-items:center;flex:none;width:53px;height:53px;background:#163f76;border:1px solid #ffffff30;border-radius:50%;font-size:26px}.prediction-question h3{font-size:23px;line-height:1.22;letter-spacing:-.65px;flex:1;overflow-wrap:anywhere}.market-bookmark{background:none;border:0;color:#c8e4ff;font-size:24px;padding:0;min-width:28px;min-height:35px}.market-bookmark[aria-pressed=true]{color:#ffde8a}.prediction-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}.prediction-outcomes button{border:2px solid transparent;border-radius:20px;min-height:66px;color:#fff;font-size:29px;font-weight:800}.prediction-outcomes .yes{background:#08b985}.prediction-outcomes .no{background:#fb365c}.prediction-outcomes button:disabled{opacity:.62}.prediction-outcomes button.chosen{opacity:1;border-color:white;box-shadow:0 0 0 3px #ffffff24}.market-pool{display:flex;align-items:center;gap:14px;background:#ffffff13;border:1px solid #ffffff30;border-radius:20px;padding:14px 18px}.market-pool>span:first-child{font-size:28px}.market-pool small{display:block;font-size:11px;letter-spacing:1.4px;color:#c5ddff}.market-pool b{display:block;font-size:23px;margin-top:4px}.your-call{margin-left:auto;font-size:11px;font-weight:700}.market-deadline{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:#c2ddff;padding:15px 1px}.market-deadline button{background:none;border:0;color:white;font-size:11px;min-height:30px}.market-actions{display:flex;gap:15px;align-items:center;border-top:1px solid #ffffff25;padding-top:14px;color:#c5e1ff}.market-actions button{color:inherit;background:none;border:0;min-width:34px;min-height:40px;font-size:25px;padding:0}.market-actions button small{font-size:11px}.market-actions button[aria-pressed=true]{color:#ffdf99}.market-participants{font-size:14px}.market-entry{margin-left:auto;white-space:nowrap;font-size:17px;font-weight:750;background:#ffffff16;border-radius:30px;padding:9px 13px}.prediction-footnote{color:#8ba9ce;font-size:11px;line-height:1.7;margin:20px 0}.market-confirm{font-size:18px;font-weight:650;line-height:1.5}.market-choice-summary{display:flex;justify-content:space-between;padding:20px;background:#164875;border-radius:15px;margin:20px 0}.market-choice-summary b{font-size:25px}.feed-tabs{flex-wrap:wrap}.prediction-card button:focus-visible{outline:3px solid white;outline-offset:3px}@media(max-width:700px){.prediction-grid{grid-template-columns:1fr;gap:16px}.prediction-intro h2{font-size:26px}.prediction-intro p{font-size:11px;line-height:1.6}.demo-wallet{padding:12px}.demo-wallet b{font-size:19px}.prediction-card{padding:20px;border-radius:24px}.prediction-question h3{font-size:23px}.prediction-question{min-height:93px}.prediction-filters{flex-wrap:wrap}.prediction-filters>span{margin-left:0;width:100%}.callout-toolbar{flex-wrap:wrap}.callout-toolbar input{flex:1;min-width:140px}.feed-tabs button{padding:10px 11px}.prediction-outcomes button{min-height:64px}.prediction-notice{font-size:10px}.market-actions{gap:12px}.market-entry{font-size:16px}}@media(max-width:370px){.prediction-avatar{width:42px;height:42px;font-size:23px}.prediction-question{gap:9px}.prediction-question h3{font-size:21px}.market-entry{padding:9px}.market-actions{gap:9px}}
.conversation-hub #predictionPanel{margin-bottom:30px}.conversation-hub .prediction-intro{display:block;margin-top:0}.conversation-hub .prediction-intro h2{font-size:27px;margin:10px 0}.conversation-hub .demo-wallet{margin-top:14px;display:flex;justify-content:space-between;align-items:center}.conversation-hub .demo-wallet b{font-size:18px;margin:0}.conversation-hub .prediction-grid{grid-template-columns:1fr;max-height:670px;overflow:auto;padding:3px;scrollbar-width:thin}.conversation-hub .prediction-card{padding:18px;border-radius:22px}.conversation-hub .prediction-question h3{font-size:21px}.conversation-hub .prediction-question{min-height:80px}.conversation-hub .prediction-filters{flex-wrap:wrap}.conversation-hub .prediction-filters>span{width:100%}.market-callout-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.market-callout-actions button{background:#092f60;border:1px solid #95c8ff55;border-radius:10px;color:white;font-size:11px;padding:12px}.market-callout-actions a{font-size:10px;text-decoration:underline}.attached-prediction{background:#3477cce8;border:1px solid #a3d1ff66;border-radius:18px;padding:14px;margin-top:14px;backdrop-filter:blur(15px)}.attached-prediction>span{font-size:8px;letter-spacing:1px;color:#c7e4ff}.attached-prediction>b{display:block;font-size:16px;line-height:1.25;margin:8px 0}.attached-prediction>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.attached-prediction button{border:0;border-radius:11px;color:white;background:#06b984;min-height:42px;font-size:18px;font-weight:800}.attached-prediction button+button{background:#fc365c}.attached-prediction small{display:block;font-size:9px;margin-top:10px}.attached-prediction>a{display:block;font-size:10px;margin-top:9px;text-decoration:underline}.callout-slide:has(.attached-prediction) .callout-copy h2{font-size:25px}.callout-slide:has(.attached-prediction) .callout-copy>p{max-height:55px;overflow:auto}.callout-slide:has(.attached-prediction) .join-conversation{display:none}.callout-slide:has(.attached-prediction) .callout-date{display:none}@media(max-width:860px){.conversation-hub #predictionPanel{display:block!important}.conversation-hub .prediction-grid{max-height:none}.callout-slide:has(.attached-prediction) .callout-copy{left:15px;right:65px;bottom:16px}.callout-slide:has(.attached-prediction) .callout-copy h2{font-size:21px;margin:7px 0}.callout-slide:has(.attached-prediction) .callout-kicker{display:none}.attached-prediction{padding:12px}.attached-prediction>b{font-size:15px}.callout-slide:has(.attached-prediction) .callout-copy>p{font-size:11px;max-height:32px}}
/* Consistent Whoolah workspace and conversation surfaces. */
html{overflow-x:clip}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}input,select,textarea{max-width:100%}.main-column,.live-panel,.sidebar,.conversation-hub{min-width:0}.live-panel #liveRoomHome{width:100%}.room-visual{height:125px;display:flex;align-items:center;gap:15px;padding:18px;background:radial-gradient(ellipse at top right,#164e78,#0b2344)}.room-visual img{width:61px;height:61px;object-fit:contain;filter:none;flex:none}.room-visual-title{position:static!important;font-size:18px!important;line-height:1.3;padding:20px 0 0!important;max-width:calc(100% - 80px);overflow-wrap:anywhere}.room-live-label{top:12px!important;right:13px!important;font-size:8px!important;letter-spacing:.6px;padding:6px 8px!important}.room-visual.has-cover{padding:0;isolation:isolate}.room-visual.has-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.45);z-index:-1}.room-visual.has-cover .room-visual-title{margin-left:18px}.chat-empty{padding:24px 20px;line-height:1.8;max-width:320px;margin:auto;font-size:12px}.chat-messages{height:220px!important;min-height:140px;padding:14px;overscroll-behavior:contain;scrollbar-width:thin}.chat-form{padding:12px!important}.chat-form input{font-size:14px;min-height:44px}.chat-compose{min-width:0;display:flex;gap:8px}.chat-compose input{min-width:0;width:100%}.chat-compose button{flex:none;width:44px;min-height:44px}.room-controls{gap:8px;flex-wrap:wrap;padding:0 12px 12px}.room-controls button{min-height:40px}.room-display{border-radius:17px}.room-card p{overflow-wrap:anywhere}.workspace-settings-brand{display:flex;gap:15px;align-items:center;margin:12px 0 25px}.workspace-settings-brand img{width:65px;height:65px;object-fit:contain}.workspace-settings-brand b{font-size:16px}.workspace-settings-brand p{color:#9eb8d9;font-size:12px;line-height:1.6;margin-top:5px}.setting-row{gap:15px;align-items:center}.setting-row strong{text-align:right;font-size:11px}.result-details h3,.recent-job b,.post-content p,.side-room span{overflow-wrap:anywhere}.modal-actions{flex-wrap:wrap}.modal-actions button{min-height:44px}.modal-input,.modal-textarea{width:100%;font-size:16px}.modal-input option{color:#f1f7ff;background:#122a48}.conversation-hub .prediction-grid{scrollbar-gutter:stable}.topbar .brand{min-width:0}.topbar .brand-name{white-space:nowrap}.callout-rail button{touch-action:manipulation}.callout-rail small{pointer-events:none}@media(max-width:1160px) and (min-width:861px){.callout-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:22px}.callout-header{padding-inline:8px}.callout-tools{max-width:280px}}@media(max-width:860px){.room-visual{height:120px}.chat-messages{height:220px!important}.modal{padding-bottom:calc(20px + env(safe-area-inset-bottom));scroll-padding-bottom:20px}.workspace-settings-brand{gap:10px}.workspace-settings-brand img{width:50px;height:50px}.workspace-settings-brand b{font-size:14px}.callout-view .conversation-hub{padding:18px 0}.topbar{gap:8px}.brand-logo{width:44px;height:44px}.brand-name{font-size:16px}.chat-form input{font-size:16px}.prediction-question h3{overflow-wrap:normal}}@media(max-width:380px){.brand-name{font-size:14px}.brand-name small{font-size:6px;letter-spacing:1.5px}.brand{gap:7px}.top-actions{gap:5px}.top-create,.icon-button{width:36px;height:36px;min-height:36px;padding:7px}.callout-tools{max-width:112px}.callout-tools button{font-size:9px}.callout-header h1{font-size:24px}.setting-row{font-size:11px}.prediction-card{padding:16px}.market-actions{gap:7px}}
/* Mobile journeys: Create → Predict → Call-Out. */
.creation-paths{display:grid;gap:12px;margin-top:20px}.creation-paths button{background:#102e51;border:1px solid #34628c;border-radius:16px;color:white;text-align:left;padding:20px;min-height:90px}.creation-paths b{display:block;font-size:17px}.creation-paths span{display:block;color:#a8c7e7;font-size:12px;line-height:1.7;margin-top:8px}.creation-paths button+button{background:linear-gradient(130deg,#174f9d,#117ca2)}#mobileRooms{min-height:40px}.prediction-focus .callout-layout{grid-template-columns:minmax(0,1fr)}.prediction-focus .callout-layout>div:first-child{display:none}.prediction-focus .conversation-hub{padding-top:0}.prediction-focus .conversation-hub>#predictionPanel{display:block!important}.prediction-focus .conversation-hub>.hub-label,.prediction-focus .conversation-hub>h2,.prediction-focus .conversation-hub>p,.prediction-focus .conversation-hub>.hub-note,.prediction-focus .conversation-hub>.library-subhead,.prediction-focus #fullRoomList,.prediction-focus #calloutRoomDock{display:none}.prediction-focus .conversation-hub .prediction-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.prediction-focus .conversation-hub .prediction-intro{display:flex}.prediction-focus .callout-header h1{display:none}.prediction-focus .callout-header{padding:18px 0 8px}.prediction-focus .conversation-hub .demo-wallet{margin:0}.callout-view:not(.prediction-focus) .conversation-hub #predictionPanel{display:none!important}@media(max-width:860px){.mobile-dock #mobilePost{background:none;color:#93aeca;font-size:9px;width:auto;gap:3px;min-height:47px}.mobile-dock .dock-plus{display:grid;place-items:center;background:#86ddff;color:#092746;font-size:25px;font-weight:600;border-radius:10px;width:42px;height:30px;line-height:1}.mobile-dock button{font-size:10px;min-width:52px}.mobile-dock button.active{color:#a6e6ff}.callout-tools #mobileRooms{display:block;font-size:10px;padding:10px}.callout-tools{max-width:150px;flex-wrap:nowrap;align-items:center}.callout-tools #makeAiCallout{display:none}.callout-header h1{font-size:25px}.prediction-focus .callout-header{padding:18px 4px 0}.prediction-focus .callout-toolbar{display:none}.prediction-focus .prediction-intro{margin:12px 0 18px!important;align-items:center}.prediction-focus .prediction-intro h2{font-size:27px;margin:8px 0}.prediction-focus .conversation-hub .prediction-grid{grid-template-columns:1fr;gap:16px;overflow:visible}.prediction-focus .prediction-card{padding:21px}.prediction-focus .conversation-hub{padding-top:6px}.prediction-focus .conversation-hub .prediction-intro{display:flex;gap:12px}.prediction-focus .prediction-intro .eyebrow{font-size:8px}.prediction-focus .demo-wallet{display:block!important;padding:12px}.prediction-focus .demo-wallet b{font-size:20px!important;margin-top:5px!important}.prediction-focus .demo-wallet small{font-size:8px}.prediction-focus .callout-header .eyebrow{font-size:9px}.prediction-focus .prediction-question h3{font-size:24px}.callout-view:not(.prediction-focus) .conversation-hub{padding-top:5px}.top-nav{display:none}.topbar{min-height:65px}.workspace-heading h1{font-size:26px}.workspace-heading{padding-bottom:14px}.creation-grid{gap:14px}.mode-tabs{position:relative}.side-library{grid-template-columns:1fr 1fr}.sidebar{display:none}.library-results{gap:14px}.section-intro{padding-inline:3px}.section-intro h1{font-size:28px}.card{padding:16px}.callout-toolbar{gap:8px}.callout-toolbar input{min-width:120px}.prediction-focus .callout-header .callout-tools{margin-left:auto}.prediction-focus .callout-header h1+p{display:none}}
/* Home and a four-destination navigation. */
#connectionPill{display:none!important}.home-view .workspace{grid-template-columns:minmax(0,1fr);max-width:1180px;margin:auto}.home-view .sidebar,.home-view .live-panel{display:none}.home-welcome{padding:60px 26px 40px;background:radial-gradient(ellipse at top right,#16487a66,transparent 65%);border-bottom:1px solid var(--line)}.home-welcome h1{font-size:clamp(39px,5vw,68px);letter-spacing:-3px;line-height:1.08;margin:20px 0}.home-welcome h1 em{font-style:normal;color:#72d6ff}.home-welcome>p{color:var(--muted);font-size:15px;line-height:1.9}.home-primary-actions{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}.home-primary-actions button{display:flex;justify-content:space-between;gap:35px;align-items:center;border:1px solid #26a6ec;border-radius:14px;color:white;background:linear-gradient(130deg,#148dda,#2451df);padding:16px 20px;font-size:13px;font-weight:750}.home-primary-actions button+button{background:#123355;border-color:#325e87;color:#dceeff}.home-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:26px}.home-journey button{padding:26px;display:flex;flex-direction:column;align-items:start;text-align:left;background:linear-gradient(130deg,#102744,#0a1b32);border:1px solid #244567;border-radius:22px;color:white}.home-journey button>span{font-size:9px;letter-spacing:1.5px;color:#7edbff}.home-journey b{font-size:22px;letter-spacing:-.6px;margin-top:22px}.home-journey p{font-size:12px;line-height:1.9;color:#98b4d5;margin:12px 0 20px}.home-journey em{font-size:12px;color:#8bdcff;font-style:normal;margin-top:auto}.home-bottom{display:flex;justify-content:space-between;align-items:center;padding:25px 5px;color:#8da8cc;font-size:12px}.home-bottom button{background:none;border:0;color:#a9ddff;min-height:44px}.callout-tools #mobilePost{font-size:11px;min-height:42px}.callout-slide:has(.attached-prediction) .callout-copy{right:76px}.attached-prediction{width:205px;max-width:100%;background:#3579ccf2;margin-top:12px;padding:12px;border-radius:15px}.attached-prediction>b{font-size:12px;line-height:1.3;margin:6px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.attached-prediction>span{font-size:7px;letter-spacing:.7px}.attached-prediction button{font-size:14px;min-height:32px;border-radius:8px}.attached-prediction small{font-size:8px;margin-top:7px}.attached-prediction>a{font-size:8px;margin-top:6px}.callout-slide:has(.attached-prediction) .callout-copy>p{max-height:40px}.callout-slide:has(.attached-prediction) .callout-copy h2{font-size:23px;margin:7px 0}.callout-toolbar .feed-tabs{flex-wrap:nowrap}.callout-tools{max-width:none}.mobile-dock .dock-create svg{background:#8adfff;color:#092641;width:38px;height:28px;padding:4px;border-radius:8px}.mobile-dock .dock-create.active svg{background:#d6f4ff}@media(max-width:860px){.home-welcome{padding:30px 6px 25px;border-radius:0}.home-welcome h1{font-size:43px;letter-spacing:-1.9px;margin:17px 0}.home-welcome>p{font-size:13px;line-height:1.8}.home-primary-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:23px}.home-primary-actions button{width:100%;padding:15px 18px}.home-journey{grid-template-columns:1fr;gap:12px;margin-top:20px}.home-journey button{padding:21px}.home-journey b{margin-top:12px;font-size:21px}.home-journey p{margin:8px 0 13px}.home-bottom{font-size:10px;gap:12px}.callout-tools{max-width:none;gap:6px}.callout-tools #mobilePost{font-size:10px;padding:10px}.callout-tools #mobileRooms{font-size:9px;padding:10px}.prediction-focus .callout-tools #mobilePost{display:none}.callout-header h1{font-size:24px}.callout-view .callout-toolbar input{width:100%;flex:1;min-width:110px}.callout-toolbar .feed-tabs button{padding:10px;font-size:10px}.callout-toolbar .feed-tabs{gap:0}.mobile-dock{justify-content:space-evenly}.mobile-dock button{width:24%;min-height:48px}.mobile-dock button span{font-size:10px}.callout-slide:has(.attached-prediction) .callout-copy{left:16px;right:65px;bottom:17px}.attached-prediction{width:177px;padding:10px;border-radius:13px}.attached-prediction>b{font-size:11px}.attached-prediction>div button{min-height:30px;font-size:13px}.attached-prediction>a{display:none}.callout-slide:has(.attached-prediction) .callout-copy h2{font-size:20px}.callout-slide:has(.attached-prediction) .callout-copy>p{display:none}}
/* Light mode changes the workspace while image overlays retain readable contrast. */
:root[data-theme=light]{--bg:#f2f6fb;--bg2:#e8f1fb;--panel:#fff;--panel2:#edf4fc;--line:#cfdeee;--text:#102945;--muted:#526d8b;color-scheme:light}html[data-theme=light] body{background:radial-gradient(ellipse at top,#dceefe,transparent 70%),#f2f6fb;color:#102945}html[data-theme=light] .topbar{background:#ffffffed;border-color:#cfdeee;box-shadow:0 8px 30px #1936500a}html[data-theme=light] .brand-name,html[data-theme=light] .brand-name b{color:#122e4d}html[data-theme=light] .brand-name small{color:#52779b}html[data-theme=light] .nav-btn{color:#416487}html[data-theme=light] .nav-btn.active{color:white}html[data-theme=light] .panel,html[data-theme=light] .card,html[data-theme=light] .result-card,html[data-theme=light] .room-display{background:#fff;border-color:#cedeee;box-shadow:0 6px 25px #13304c08}html[data-theme=light] input,html[data-theme=light] textarea,html[data-theme=light] select,html[data-theme=light] .modal-input option{background:#f6f9fd;color:#15314f;border-color:#bfd3e7}html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#6a829d}html[data-theme=light] .modal{background:#fff;color:#15314f;border-color:#bed5ec}html[data-theme=light] .modal-help,html[data-theme=light] .auth-info,html[data-theme=light] .setting-row,html[data-theme=light] .workspace-settings-brand p{color:#55708e}html[data-theme=light] .setting-row strong{color:#12678c}html[data-theme=light] .section-intro em,html[data-theme=light] .callout-header h1 em,html[data-theme=light] .home-welcome h1 em{color:#087fba}html[data-theme=light] .callout-header p,html[data-theme=light] .section-intro p,html[data-theme=light] .feed-direction,html[data-theme=light] .app-footer,html[data-theme=light] .sidebar-subtitle,html[data-theme=light] .live-subtitle{color:#577394}html[data-theme=light] .icon-button,html[data-theme=light] .feed-tabs,html[data-theme=light] .library-tabs,html[data-theme=light] .side-room,html[data-theme=light] .room-card,html[data-theme=light] .chat-form{background:#edf4fc;color:#234b74;border-color:#cadcee}html[data-theme=light] .feed-tabs button{color:#416484}html[data-theme=light] .feed-tabs button.active{background:#136bb6;color:white}html[data-theme=light] .mobile-dock{background:#ffffffed;border-color:#c4d9ee}html[data-theme=light] .mobile-dock button{color:#597592}html[data-theme=light] .mobile-dock button.active{color:#096ab1}html[data-theme=light] .home-journey button{background:linear-gradient(130deg,#fff,#eaf4ff);border-color:#c7dded;color:#143957}html[data-theme=light] .home-journey p,html[data-theme=light] .home-bottom{color:#5a7795}html[data-theme=light] .home-journey button>span,html[data-theme=light] .home-journey em,html[data-theme=light] .home-bottom button{color:#147bb1}html[data-theme=light] .prediction-notice{background:#e4f4f3;color:#285c64;border-color:#bddddb}html[data-theme=light] .prediction-filters button{color:#315d82;border-color:#b6cfe5}html[data-theme=light] .prediction-filters button.active{background:#176cba;color:#fff}html[data-theme=light] .prediction-footnote,html[data-theme=light] .prediction-intro p{color:#5b7795}html[data-theme=light] .demo-wallet{background:#dfedfc;color:#163c65;border-color:#c1d8ee}html[data-theme=light] .demo-wallet small{color:#547a9e}html[data-theme=light] .reply-context,html[data-theme=light] .reply-item{background:#f2f7fd;color:#193b60;border-color:#c8dcec}html[data-theme=light] .reply-context p{color:#4a6a8c}html[data-theme=light] .creation-paths button{background:#eaf4ff;color:#184368;border-color:#c0d9ed}html[data-theme=light] .creation-paths button span{color:#557795}html[data-theme=light] .mode-tab{background:#eaf2fc;border-color:#c8dbee;color:#3d6288}html[data-theme=light] .mode-tab.active{background:#147ddd;color:#fff}html[data-theme=light] .recent-job,html[data-theme=light] .empty-block,html[data-theme=light] .no-jobs{color:#526f8d}html[data-theme=light] .prediction-card,html[data-theme=light] .callout-slide,html[data-theme=light] .room-visual,html[data-theme=light] .preview-frame{color:white}html[data-theme=light] .room-visual-title{color:white}html[data-theme=light] .chat-bubble{background:#e6f1fe;color:#244767}html[data-theme=light] .chat-empty{color:#567594}html[data-theme=light] .room-controls button{background:#e6f0fc;color:#285c8c;border-color:#bed4ec}
html[data-theme=light] .eyebrow{color:#2a729d}html[data-theme=light] .home-welcome{background:radial-gradient(ellipse at top right,#d8ebfd,transparent 75%)}html[data-theme=light] .prediction-filters>span{color:#567796}
.ph-categories{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.ph-categories button{min-height:40px;padding:10px 15px;border:1px solid #2d527b;border-radius:24px;color:#b2cbe7;background:#0c223b;font-size:11px;white-space:nowrap}.ph-categories button.active{background:#d7efff;color:#123759;border-color:#8ccfff}.market-source{display:inline-block;font-size:12px;color:#7ed7ff;margin:15px 0;text-decoration:underline}.archived-market button{opacity:.5;cursor:default}html[data-theme=light] .ph-categories button{background:#eaf3fd;color:#386184;border-color:#c0d7eb}html[data-theme=light] .ph-categories button.active{background:#1a71b8;color:white}html[data-theme=light] .market-source{color:#126da0}@media(max-width:860px){.ph-categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:5px;gap:7px}.ph-categories button{flex:none;font-size:10px;padding:10px 13px}.prediction-focus .prediction-intro h2{font-size:24px}.prediction-focus .prediction-intro p{max-width:230px}}
#importHiggsfieldButton{display:none}.topbar .top-nav{gap:6px}.topbar .nav-btn{font-size:12px;padding:12px 15px}.topbar .nav-btn.active{box-shadow:inset 0 1px 0 #70b6ff30}.headline-right .version{font-size:8px;letter-spacing:1.5px}.workspace-heading p{max-width:520px}.creation-grid .card{box-shadow:none}.sidebar{background:linear-gradient(170deg,#0b203b,#07162b)}.lib-item{min-height:72px}.lib-item img{object-fit:cover}.result-banner:has(img[src$="studio.svg"]){background:linear-gradient(140deg,#15385d,#081a33)}.result-banner img[src$="studio.svg"]{object-fit:contain;padding:30px;opacity:.6}.preview-actions a[aria-disabled=true]{pointer-events:none;opacity:.45}.icon-button:focus-visible{outline:2px solid #7bd7ff;outline-offset:3px}.topbar .nav-btn:focus:not(:focus-visible){outline:none}.callout-toolbar input::placeholder{font-size:11px}html[data-theme=light] .sidebar{background:#fff}@media(min-width:1161px){.workspace{gap:18px;padding-top:22px}.creation-grid{gap:16px}.topbar{height:84px}.brand-logo{width:59px;height:59px}.brand-name{font-size:23px}.top-create{padding:12px 19px}}@media(max-width:860px){.workspace-heading h1{font-size:27px}.mode-tabs{gap:8px}.mode-tab{min-height:46px}.home-welcome h1{letter-spacing:-2px}.topbar .brand-name{font-size:16px}.topbar .brand-logo{width:44px;height:44px}.creation-grid .card{border-radius:18px}.callout-header{gap:8px}.callout-tools{gap:5px}.callout-tools #mobilePost{padding:10px 8px;font-size:10px}.callout-tools #mobileRooms{padding:10px 8px;font-size:9px}}
.market-actions button{display:flex;align-items:center;justify-content:center;gap:4px}.market-actions button svg{width:21px;height:21px}.market-bookmark{display:flex;align-items:center;justify-content:center}.market-bookmark svg{width:20px;height:23px}.market-bookmark[aria-pressed=true] svg{fill:#ffdf9955}.mode-tab[aria-pressed=true]{border-color:#4bcaff}.home-bottom button:hover,.market-source:hover{text-decoration:underline}
/* Compact market browsing: denser cards, with touch targets retained on phones. */
.prediction-focus .conversation-hub .prediction-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch}.prediction-focus .conversation-hub .prediction-card,.conversation-hub .prediction-card{padding:14px;border-radius:18px;box-shadow:inset 0 1px 0 #ffffff20}.prediction-category{font-size:8px;letter-spacing:1.1px;margin-bottom:10px}.prediction-category>span{font-size:7px;padding:3px 6px}.prediction-focus .conversation-hub .prediction-question,.conversation-hub .prediction-question{min-height:62px;gap:9px}.prediction-focus .conversation-hub .prediction-question h3,.conversation-hub .prediction-question h3{font-size:16px;line-height:1.3;letter-spacing:-.25px}.prediction-avatar{width:35px;height:35px;font-size:20px}.market-bookmark{min-width:23px;min-height:30px}.market-bookmark svg{width:16px;height:20px}.prediction-outcomes{gap:9px;margin:10px 0}.prediction-outcomes button{min-height:38px;font-size:19px;border-radius:11px}.market-pool{gap:9px;border-radius:12px;padding:9px 11px}.market-pool>span:first-child{font-size:20px}.market-pool small{font-size:8px;letter-spacing:1px}.market-pool b{font-size:17px;margin-top:2px}.your-call{font-size:9px}.market-callout-actions{gap:7px;margin-top:8px}.market-callout-actions button{padding:8px 10px;border-radius:9px;font-size:10px;min-height:34px}.market-callout-actions a{font-size:9px}.market-deadline{font-size:9px;padding:5px 0}.market-deadline button{font-size:10px;min-height:28px}.market-actions{gap:9px;padding-top:7px}.market-actions button{min-width:28px;min-height:32px}.market-actions button svg{width:18px;height:18px}.market-actions button small{font-size:10px}.market-participants{font-size:11px}.market-entry{font-size:13px;padding:6px 9px}.prediction-focus .prediction-intro h2{font-size:27px}.prediction-intro{margin:12px 0}.prediction-notice{padding:10px 12px;font-size:10px}.prediction-filters{margin:15px 0;gap:7px}.prediction-filters button{padding:8px 12px;font-size:11px}.ph-categories{margin-bottom:14px;gap:6px}.ph-categories button{min-height:34px;padding:8px 12px;font-size:10px}.prediction-focus .callout-header{padding:10px 0 4px}.prediction-footnote{font-size:10px;margin:14px 0}.prediction-focus .conversation-hub .demo-wallet{padding:10px 14px}.prediction-focus .demo-wallet b{font-size:18px!important}.prediction-focus .demo-wallet small{font-size:8px}@media(min-width:1500px){.prediction-focus .conversation-hub .prediction-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.prediction-focus .workspace{max-width:1460px}}@media(max-width:1050px){.prediction-focus .conversation-hub .prediction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.prediction-focus .conversation-hub .prediction-grid{grid-template-columns:1fr;gap:12px}.prediction-focus .conversation-hub .prediction-card{padding:15px}.prediction-focus .conversation-hub .prediction-question h3{font-size:17px}.prediction-focus .conversation-hub .prediction-question{min-height:54px}.prediction-outcomes button{min-height:44px;font-size:20px}.market-callout-actions button{min-height:40px;padding:9px 13px}.market-actions button{min-height:40px;min-width:34px}.market-actions{padding-top:6px}.market-pool{padding:9px 12px}.prediction-category{margin-bottom:9px}.prediction-focus .prediction-intro h2{font-size:22px}.prediction-focus .prediction-intro p{font-size:10px}.ph-categories button{min-height:38px}.prediction-focus .conversation-hub .demo-wallet{padding:10px}.market-entry{font-size:14px}}
/* Readability tokens: neutral surfaces and their text always switch together. */
:root{--ui-text:#f1f6ff;--ui-muted:#afc3dd;--ui-soft:#102946;--ui-border:#355572;--ui-link:#9bdcff;--ui-icon:#b5d9fa;--ui-empty:#0c213d;--ui-secondary:#183c64;--ui-secondary-text:#eef7ff}
:root[data-theme=light]{--ui-text:#16324f;--ui-muted:#486580;--ui-soft:#eaf3fc;--ui-border:#b7ccdf;--ui-link:#145d97;--ui-icon:#245f91;--ui-empty:#f0f6fc;--ui-secondary:#e4effb;--ui-secondary-text:#18466f}
.lib-item,.lib-caption b{color:var(--ui-text)}.lib-caption small,.result-details p,.recent-job small,.no-jobs,.empty-side,.sidebar-subtitle,.live-subtitle,.prediction-footnote,.home-bottom{color:var(--ui-muted)}.lib-item{border-bottom-color:var(--ui-border)}.lib-item .item-arrow{color:var(--ui-icon)}.lib-item:hover .lib-caption b{color:var(--ui-link)}.library-subhead{color:var(--ui-muted);border-bottom-color:var(--ui-border)}.library-subhead span{color:var(--ui-link)}.empty-block{background:var(--ui-empty);color:var(--ui-muted);border-color:var(--ui-border)}.result-details h3{color:var(--ui-text)}.result-footer button,.result-footer a{background:var(--ui-secondary);color:var(--ui-secondary-text);border-color:var(--ui-border)}.result-footer .delete{background:transparent;color:#ffb3c3;border-color:#a54d6a}.sidebar-bottom{background:var(--ui-soft);border-color:var(--ui-border)}.sidebar-bottom b{color:var(--ui-text)}.sidebar-bottom p{color:var(--ui-muted)}.sidebar-bottom>svg{color:var(--ui-icon)}.sidebar-bottom .sidebar-glow{opacity:.1}.sidebar-bottom button{background:#145faf;color:#fff;border-color:#4f94cd}.library-tabs button,.live-switch button{background:var(--ui-secondary);color:var(--ui-secondary-text);border-color:var(--ui-border)}.library-tabs button.active,.live-switch button.active,.mode-tab.active,.top-create,.generate-button,.ai-callout-action,.home-primary-actions button:first-child{background:linear-gradient(130deg,#0868ad,#2546b9);color:#fff;border-color:#418ac9}.topbar .nav-btn.active{color:#fff}.link-button,.arrow-round,.room-controls button{color:var(--ui-link)}.link-button:hover{color:var(--ui-text)}.side-room{color:var(--ui-text)}.side-room small,.room-card p{color:var(--ui-muted)}.room-select-head,.room-select-head+div{color:var(--ui-muted)}.disclaimer{color:var(--ui-muted)}.chat-bubble b{color:#b4e5ff}.api-hint,.prompt-meta,.control-label,.field>label,.card-header>span{color:var(--ui-muted)}.preview-control,.job-details p{color:var(--ui-muted)}.job-details b{color:var(--ui-text)}.feed-tabs button{color:var(--ui-muted)}.callout-toolbar input::placeholder{color:var(--ui-muted)}.feed-direction{color:var(--ui-muted)}.prediction-card{background:linear-gradient(135deg,#235fa4,#204f8f);color:#fff}.prediction-category,.prediction-category>span,.market-pool small,.market-deadline,.market-actions{color:#e4f1ff}.prediction-outcomes .yes,.attached-prediction button{background:#007d57;color:#fff}.prediction-outcomes .no,.attached-prediction button+button{background:#c91f46;color:#fff}.market-pool{background:#ffffff0d;border-color:#b7d6ff55}.market-bookmark{color:#e5f3ff}.market-entry{background:#ffffff13;color:#f1f7ff}.market-actions button[aria-pressed=true],.market-bookmark[aria-pressed=true]{color:#ffe18f}.attached-prediction{background:#245c9ef5;color:#fff}.attached-prediction>span,.attached-prediction small,.attached-prediction>a{color:#e4f0ff}.close-modal{background:var(--ui-secondary);color:var(--ui-secondary-text);border-color:var(--ui-border)}.reply-item small{color:var(--ui-muted)}.modal-help,.auth-info{color:var(--ui-muted)}.modal-body-label{color:var(--ui-text)}.modal-file{color:var(--ui-link);border-color:var(--ui-border)}.setting-row{border-color:var(--ui-border)}.prediction-filters>span{color:var(--ui-muted)}.home-welcome>p,.home-journey p{color:var(--ui-muted)}.home-journey button>span,.home-journey em{color:var(--ui-link)}.hub-label{color:var(--ui-link)}.conversation-hub>p{color:var(--ui-muted)}
/* Explicit light-theme overrides win over earlier component-specific rules. */
html[data-theme=light] .lib-item,html[data-theme=light] .lib-caption b,html[data-theme=light] .sidebar-bottom b,html[data-theme=light] .result-details h3,html[data-theme=light] .job-details b{color:#16324f}html[data-theme=light] .lib-caption small,html[data-theme=light] .result-details p,html[data-theme=light] .no-jobs,html[data-theme=light] .sidebar-bottom p,html[data-theme=light] .empty-block,html[data-theme=light] .prediction-footnote,html[data-theme=light] .room-card p,html[data-theme=light] .disclaimer,html[data-theme=light] .job-details p,html[data-theme=light] .preview-control,html[data-theme=light] .modal-help,html[data-theme=light] .reply-item small{color:#486580}html[data-theme=light] .sidebar-bottom,html[data-theme=light] .empty-block{background:#edf5fc;border-color:#b7ccdf}html[data-theme=light] .result-footer button,html[data-theme=light] .result-footer a,html[data-theme=light] .library-tabs button,html[data-theme=light] .live-switch button,html[data-theme=light] .close-modal{background:#e4effb;color:#18466f;border-color:#b7ccdf}html[data-theme=light] .result-footer .delete{color:#a31d43;border-color:#c28a9d;background:#fff5f7}html[data-theme=light] .library-tabs button.active,html[data-theme=light] .live-switch button.active,html[data-theme=light] .mode-tab.active{background:linear-gradient(130deg,#0868ad,#2546b9);color:white;border-color:#418ac9}html[data-theme=light] .library-subhead{color:#345f86;border-color:#b7ccdf}html[data-theme=light] .library-subhead span,html[data-theme=light] .lib-item .item-arrow,html[data-theme=light] .sidebar-bottom>svg,html[data-theme=light] .link-button,html[data-theme=light] .arrow-round{color:#175e97}html[data-theme=light] .sidebar-bottom button{color:#fff;background:#145faf}html[data-theme=light] .chat-bubble b{color:#135c97}html[data-theme=light] .chat-messages{background:#f8fbff}html[data-theme=light] .reference-drop,html[data-theme=light] .toggle-line,html[data-theme=light] .job-details,html[data-theme=light] .preview-control{background:#f0f6fd;border-color:#bdd2e6}html[data-theme=light] .reference-drop b,html[data-theme=light] .toggle-line b{color:#163d61}html[data-theme=light] .reference-drop small,html[data-theme=light] .toggle-line small{color:#486580}html[data-theme=light] .reference-drop svg,html[data-theme=light] .toggle-line svg{color:#236492}html[data-theme=light] .save-button,html[data-theme=light] .action-mini{background:#e4effb;color:#18466f;border-color:#b7ccdf}html[data-theme=light] .prompt-box,html[data-theme=light] .prompt-container{background:#f5f9ff;border-color:#bfd2e5}html[data-theme=light] .modal-file{background:#f1f7fd;color:#175e97;border-color:#b7ccdf}html[data-theme=light] .feed-tabs button{color:#486580}html[data-theme=light] .feed-tabs button.active{background:#1463a2;color:#fff}html[data-theme=light] .conversation-hub>p{color:#486580}html[data-theme=light] .hub-note{background:#e5f2f0;color:#245d54;border-color:#aacfc6}html[data-theme=light] .prediction-notice{color:#28554f}html[data-theme=light] .modal-heading .eyebrow{color:#236492}html[data-theme=light] .reply-item{border-bottom-color:#b7ccdf}html[data-theme=light] .room-card h4{color:#16324f}html[data-theme=light] .room-card button{background:#e4effb;color:#18466f;border-color:#b7ccdf}
.panel-title svg,.card-header h3 svg{color:var(--ui-icon)}.feed-pager{color:var(--ui-muted)}.feed-pager button,.recent-jobs-head button{color:var(--ui-link)}.callout-action,.new-small:not(.outline){background:linear-gradient(130deg,#0868ad,#2546b9);color:#fff;border-color:#418ac9}.new-small.outline{background:var(--ui-secondary);color:var(--ui-secondary-text);border-color:var(--ui-border)}.search-field{background:var(--ui-soft);border-color:var(--ui-border)}.search-field svg{color:var(--ui-icon)}.recent-job{background:var(--ui-empty);color:var(--ui-text);border-color:var(--ui-border)}.recent-jobs-head{border-top-color:var(--ui-border)}html[data-theme=light] .panel-title svg,html[data-theme=light] .card-header h3 svg,html[data-theme=light] .search-field svg,html[data-theme=light] .arrow-round svg,html[data-theme=light] .link-button svg{color:#245f91}html[data-theme=light] .search-field{background:#f6f9fd;border-color:#b7ccdf}html[data-theme=light] .search-field input{background:transparent}html[data-theme=light] .feed-pager{color:#486580}html[data-theme=light] .feed-pager button,html[data-theme=light] .recent-jobs-head button{color:#145d97}html[data-theme=light] .prompt-wrap{background:#f5f9ff;box-shadow:none;border-color:#8eb7db}html[data-theme=light] .prompt-wrap textarea{background:transparent;color:#16324f}html[data-theme=light] .prompt-wrap textarea::placeholder{color:#58718c}html[data-theme=light] .prompt-tools,html[data-theme=light] .prompt-footer{background:#edf5fd;color:#486580}html[data-theme=light] #enhanceIdea{color:#145d97}html[data-theme=light] #promptCounter{color:#486580}html[data-theme=light] .recent-job,html[data-theme=light] .recent-job:hover{background:#eff6fd;color:#16324f;border-color:#b7ccdf}html[data-theme=light] .recent-job small{color:#486580}html[data-theme=light] .new-small.outline{background:#e4effb;color:#18466f;border-color:#b7ccdf}html[data-theme=light] .save-button:hover{background:#dcecfb;color:#123b62}html[data-theme=light] .action-mini:hover:not(.disabled){background:#d8e9fa;color:#123b62}
/* Creation and community have separate destinations. */
.workspace{grid-template-columns:minmax(190px,230px) minmax(0,1fr)}#calloutLegacy{display:none!important}@media(min-width:1161px){.workspace{max-width:1500px;margin:auto;gap:20px;padding-inline:22px}.creation-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(min-width:861px) and (max-width:1160px){.workspace{grid-template-columns:190px minmax(0,1fr)}.creation-grid{grid-template-columns:1fr}.sidebar{padding-inline:12px}}.stage-channel{font-size:10px}.stage-channel img{flex:none}.preview-label{letter-spacing:2px}.creator-chip{font-size:10px}.brand-name{white-space:nowrap}
/* Community accounts, camera and prediction engagement */
.account-button{padding:10px 14px;border-radius:24px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px;background:var(--ui-secondary);color:var(--ui-secondary-text);border:1px solid var(--ui-border)}
.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.profile-grid>div{display:flex;flex-direction:column;gap:7px;border:1px solid var(--ui-border);border-radius:14px;padding:16px;background:var(--ui-empty);color:var(--ui-text)}.profile-grid b{font-size:26px}.profile-grid small,.profile-grid span{color:var(--ui-muted);font-size:12px}.text-button{background:transparent;color:var(--ui-link);margin-top:20px;border:0}.capture-preview{display:block;width:100%;max-height:360px;min-height:160px;object-fit:contain;background:#030a16;border-radius:14px;margin:16px 0}.capture-actions{display:flex;flex-wrap:wrap;gap:8px}.capture-actions button,.upload-video,.end-live{padding:12px 16px;min-height:44px;border-radius:10px}.upload-video{cursor:pointer;background:var(--ui-secondary);color:var(--ui-secondary-text);border:1px solid var(--ui-border);display:flex;align-items:center}.upload-video input{width:1px;height:1px;opacity:0}.ai-check{display:flex;align-items:center;gap:10px;margin:16px 0;color:var(--ui-text)}.ai-check input{width:20px;height:20px}.video-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.video-entry button{padding:12px 18px;border-radius:12px;min-height:44px}.video-entry span{color:var(--ui-muted);font-size:13px}.prediction-outcomes button small{display:block;font-size:11px;font-weight:500;margin-top:3px}.prediction-outcomes button{line-height:1.1}.live-prediction{background:var(--ui-empty);border:1px solid var(--ui-border);padding:16px;border-radius:14px;color:var(--ui-text);margin:16px 0}.live-prediction>div{display:flex;gap:10px;margin:12px 0}.live-prediction button{flex:1;min-height:44px;background:#087e61;color:white;border-radius:10px}.live-prediction button+button{background:#c91e43}.live-prediction small{color:var(--ui-muted)}.end-live{background:#c91e43;color:white;width:100%}.watch-live{position:absolute;top:90px;left:20px;z-index:5;border-radius:20px;padding:12px 18px;background:#c91e43;color:#fff;min-height:44px}.callout-video{object-fit:contain!important;z-index:2;pointer-events:auto}.callout-slide:has(.callout-video) .callout-gradient{pointer-events:none}.callout-slide:has(.callout-video) .callout-copy{pointer-events:none;bottom:74px}.callout-slide:has(.callout-video) .callout-copy button{pointer-events:auto}.callout-slide:has(.callout-video) .callout-copy p,.callout-slide:has(.callout-video) .callout-kicker,.callout-slide:has(.callout-video) .callout-date{display:none}.callout-slide:has(.callout-video) .callout-copy h2{font-size:22px}.callout-top,.callout-rail,.callout-copy{z-index:3}.attached-prediction{position:relative!important;inset:auto!important;max-width:none!important;width:100%!important;margin:0 0 24px!important;flex:none;padding:16px!important;background:var(--ui-empty)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;border-radius:0 0 16px 16px!important;box-sizing:border-box}.attached-prediction>b{color:var(--ui-text)!important}.attached-prediction>span,.attached-prediction small{color:var(--ui-muted)!important}.attached-prediction a{color:var(--ui-link)!important}.callout-slide:has(+.attached-prediction){margin-bottom:0!important;border-bottom-left-radius:0;border-bottom-right-radius:0}.attached-prediction>div button{min-height:44px}.modal #authError{color:#f55c75}.upload-video:focus-within{outline:3px solid #45bbff;outline-offset:2px}
@media(max-width:640px){.account-button{padding:8px 10px;max-width:95px;font-size:12px}.profile-grid{grid-template-columns:1fr}.profile-grid>div{display:grid;grid-template-columns:1fr auto}.profile-grid span{grid-column:1/-1}.video-entry{align-items:stretch;flex-direction:column}.video-entry span{display:none}.capture-preview{max-height:300px}.capture-actions>*{flex:1;font-size:13px}.attached-prediction{padding:12px!important}.callout-slide:has(.callout-video) .callout-copy{left:16px;right:75px}.callout-slide:has(.callout-video) .callout-copy h2{font-size:18px}.callout-slide:has(.callout-video) .join-conversation{display:none}}
.video-entry button{background:linear-gradient(115deg,#087fbd,#204bd3);border:1px solid #55b8ec;color:white;font-weight:700}.capture-actions button{background:#1558bc;color:#fff;border:1px solid #439bec}.capture-actions button:disabled{opacity:.5}.capture-actions button.secondary{background:var(--ui-secondary);color:var(--ui-secondary-text);border-color:var(--ui-border)}
@media(max-width:640px){.topbar{flex-wrap:nowrap;gap:8px;min-height:68px;padding:10px 12px}.brand{min-width:0;gap:7px;flex:1}.brand-logo{width:40px;height:40px}.brand-name{font-size:14px;white-space:normal}.brand-name small{display:none}.top-actions{gap:6px;flex:none}.top-actions #topCreate{display:none}.account-button{max-width:90px}.icon-button{min-width:40px;width:40px;height:40px}}
/* Home film and a focused prediction Call-Out flow */
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:40px;align-items:center;border-bottom:1px solid var(--ui-border);padding:30px 0 40px}.home-hero .home-welcome{padding:20px 0;border-bottom:0}.home-hero .home-welcome h1{font-size:clamp(32px,4.2vw,60px)}.home-video{margin:0;border:1px solid var(--ui-border);border-radius:24px;overflow:hidden;background:#031026;box-shadow:0 20px 70px #087be91c;min-width:0}.home-video video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#031026}.home-video figcaption{padding:14px 18px;color:#bddef9;font-size:13px;text-align:center;letter-spacing:.5px}.callout-tools [hidden]{display:none!important}.conversation-hub h2{font-size:30px;line-height:1.12;margin:18px 0}.conversation-hub>p{font-size:15px;line-height:1.65}.conversation-hub .hub-note{padding:16px;font-size:13px;margin:18px 0}.prediction-chat-create{min-height:44px;width:100%;padding:12px;border-radius:12px;background:var(--ui-secondary);color:var(--ui-secondary-text);border:1px solid var(--ui-border)}.callout-tools #mobilePost{display:block!important}.callout-tools{gap:0}.prediction-focus .video-entry,.prediction-focus .prediction-chat-create{display:none}.feed-tabs button{min-height:44px}.callout-slide .callout-rail{gap:14px}.callout-header h1{font-size:clamp(28px,3vw,42px)}.creation-paths{grid-template-columns:1fr;gap:10px}.creation-paths button{min-height:70px}.home-hero .home-primary-actions{flex-wrap:wrap}.home-hero .home-primary-actions button{min-height:46px;padding:12px 16px;font-size:14px}
@media(max-width:900px){.home-hero{gap:24px;grid-template-columns:1fr 1fr}.home-hero .home-welcome h1{font-size:34px}.home-hero .home-welcome>p{font-size:14px}.home-hero .home-primary-actions{flex-direction:column;align-items:stretch}.home-hero .home-primary-actions button{width:100%}}
@media(max-width:640px){.home-hero{grid-template-columns:1fr;gap:16px;padding:12px 0 24px}.home-hero .home-welcome{padding:12px 5px 0}.home-hero .home-welcome h1{font-size:36px}.home-video{border-radius:18px}.home-video figcaption{padding:10px;font-size:12px}.callout-header{align-items:center;gap:10px}.callout-header>div:first-child>p{display:none}.callout-tools #mobilePost{font-size:12px;min-height:44px;padding:10px 12px}.callout-header .eyebrow{font-size:9px}.callout-toolbar{gap:12px}.callout-toolbar .feed-tabs{flex-shrink:0}.callout-layout .conversation-hub h2{font-size:24px}}
/* Keep both feed destinations reachable, including the phone prediction view. */
.prediction-focus .callout-toolbar{display:flex!important}.callout-toolbar .feed-tabs{flex-wrap:nowrap}.prediction-question{grid-template-columns:38px minmax(0,1fr)}
@media(max-width:640px){.callout-toolbar{flex-direction:column;align-items:stretch}.callout-toolbar .feed-tabs{align-self:stretch;display:grid;grid-template-columns:1fr 1fr}.callout-toolbar .feed-tabs button{font-size:13px}.callout-toolbar input{width:100%;min-height:44px;flex:auto}.prediction-focus .callout-header{margin-bottom:12px}}
@media(max-width:640px){.callout-header h1{font-size:26px;line-height:1.1;margin:10px 0}.callout-header{padding-bottom:12px}.callout-header .callout-tools{align-self:center}}
/* Keep each video, conversation and prediction together in the page scroll. */
.callout-view:not(.prediction-focus) .workspace{max-width:1080px}
.callout-header{padding:18px 0 20px}.callout-header h1{margin:9px 0;font-size:34px;letter-spacing:-1.2px}
.callout-toolbar{margin-bottom:16px}.callout-layout{grid-template-columns:minmax(0,420px) minmax(0,400px);gap:28px;justify-content:start;align-items:start}
.feed-direction{letter-spacing:1.2px;padding-bottom:10px}.immersive-feed{height:auto;min-height:0;overflow:visible;scroll-snap-type:none;border-radius:18px;background:transparent;overscroll-behavior-y:auto}
.callout-slide{height:auto;min-height:0;scroll-snap-align:none;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-empty);color:var(--ui-text)}
.callout-slide .callout-visual{position:relative;inset:auto;display:block;width:100%;height:clamp(240px,36svh,320px);object-fit:contain;background:#030a16;z-index:0}
.callout-slide .callout-gradient{display:none}.callout-slide .callout-top{position:absolute;top:0;left:0;right:0;padding:12px;color:#fff;pointer-events:none;background:linear-gradient(#020a16b3,transparent)}
.creator-chip{background:#031226b3;border-radius:24px;padding:3px 9px 3px 3px;font-size:11px}.creator-chip img{width:28px;height:28px}
.callout-slide .callout-copy,.callout-slide:has(.callout-video) .callout-copy{position:relative;inset:auto;padding:14px 16px 4px;pointer-events:auto}
.callout-slide .callout-copy h2,.callout-slide:has(.callout-video) .callout-copy h2{font-size:18px;line-height:1.3;letter-spacing:-.3px;margin:0 0 6px;color:var(--ui-text)}
.callout-slide .callout-kicker,.callout-slide .callout-date,.callout-slide .join-conversation{display:none!important}.callout-slide .callout-copy p{color:var(--ui-muted);font-size:13px;line-height:1.5}
.callout-slide .callout-rail{position:relative;inset:auto;display:flex;flex-direction:row;justify-content:flex-start;gap:8px;padding:4px 12px 10px}
.callout-slide .callout-rail button{width:auto;min-width:44px;min-height:44px;flex-direction:row;gap:6px;border-radius:10px;color:var(--ui-link);background:var(--ui-secondary)}.callout-slide .callout-rail button small{font-size:11px}.callout-slide .callout-rail svg{width:18px;height:18px}
.attached-prediction{margin-bottom:22px!important;padding:14px!important}.attached-prediction>b{font-size:16px;line-height:1.35;margin:7px 0 10px}.attached-prediction button small{color:#fff!important;margin:3px 0 0}
.conversation-hub{padding:24px 0 0}.conversation-hub .video-entry{flex-direction:column;align-items:stretch;gap:8px}.video-entry span{font-size:12px}.conversation-hub h2{font-size:25px;margin:12px 0}.conversation-hub>p{max-width:none;font-size:14px}.conversation-hub .hub-note{margin:16px 0;padding:12px}.conversation-hub .empty-block{min-height:90px}
@media(max-width:860px){.callout-layout{grid-template-columns:minmax(0,1fr);gap:14px;max-width:520px;margin:auto}.callout-slide .callout-visual{height:clamp(230px,35svh,310px)}.callout-header h1{font-size:26px}.conversation-hub{padding:0 0 18px}.callout-toolbar input{font-size:13px}.attached-prediction{padding:12px!important}.callout-slide .callout-copy,.callout-slide:has(.callout-video) .callout-copy{padding:12px 14px 2px}.callout-slide .callout-top{padding:10px}.callout-slide:has(.callout-video) .callout-copy h2{font-size:17px}}
.image-manager{display:flex;flex-direction:column;gap:12px;max-height:55vh;overflow:auto}.image-manager article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-empty);color:var(--ui-text)}.image-manager article>div{min-width:0}.image-manager b{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.image-manager small{display:block;margin-top:6px;color:var(--ui-muted)}.image-manager button{min-height:44px;padding:10px 14px;border-radius:10px;flex:none}

.callout-slide:not(:has(.callout-visual)) .callout-top{position:relative;background:#031226}.callout-slide:not(:has(.callout-visual)) .text-visual{display:none}
/* Model-specific controls share the Studio form's readable theme surfaces. */
.mode-tabs{display:flex;overflow-x:auto;gap:8px;padding-bottom:5px;scrollbar-width:thin}.mode-tabs .mode-tab{flex:1 0 135px;min-height:46px;padding:12px;font-size:12px;white-space:nowrap}.model-description{color:var(--ui-muted);font-size:12px;line-height:1.55;margin:12px 0}.model-fields{display:grid;gap:12px;margin:12px 0}.model-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;min-width:0}.model-field>label{font-size:13px;font-weight:650;color:var(--ui-text)}.model-field input:not([type=checkbox]),.model-field select,.model-field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:10px;color:var(--ui-text);background:var(--ui-soft);font:inherit;font-size:14px;box-sizing:border-box}.model-field textarea{resize:vertical}.model-field small{color:var(--ui-muted);font-size:11px}.model-check{flex-direction:row;align-items:center;justify-content:space-between}.model-check input{width:20px;height:20px}.model-advanced{border:1px solid var(--ui-border);border-radius:12px;padding:12px}.model-advanced summary{font-size:13px;min-height:30px;cursor:pointer;color:var(--ui-link)}.model-catalog-button,.model-upload{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border:1px solid var(--ui-border);border-radius:9px;background:var(--ui-secondary);color:var(--ui-secondary-text);font-size:12px;cursor:pointer}.model-upload input{max-width:100%;font-size:11px;margin-left:8px}.model-field select[multiple]{min-height:120px}.generated-outputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.generated-outputs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.generated-outputs .output-download{color:var(--ui-link);font-size:12px;align-self:center}.callout-slide{scroll-margin-top:16px}@media(max-width:640px){.mode-tabs .mode-tab{flex-basis:120px}.model-field input:not([type=checkbox]),.model-field textarea,.model-field select{font-size:16px}.model-upload{flex-wrap:wrap;justify-content:flex-start}.model-upload input{margin:6px 0 0}.model-fields{gap:8px}}
/* Creator insights and Studio social surfaces */
.insights-hero{display:grid;grid-template-columns:1.6fr .7fr;gap:32px;align-items:center;padding:28px 0}.insights-hero h1{font-size:clamp(30px,4vw,54px);line-height:1.08;margin:14px 0}.insights-hero p{max-width:620px;line-height:1.65}.insights-actions,.insight-filters,.opportunity-actions{display:flex;gap:10px;flex-wrap:wrap}.insights-mode{display:block;font-size:12px;margin-top:16px;color:var(--muted,#87a4c5)}.insights-brand{margin:0;max-width:300px;justify-self:end}.insights-brand video{width:100%;max-height:250px;border-radius:22px;object-fit:cover}.insights-brand figcaption{font-size:12px;text-align:center;margin:10px}.insight-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 35px}.insight-stats>div{padding:18px;border:1px solid #31577d;border-radius:14px;background:var(--panel,#0d203a)}.insight-stats b{font-size:26px;display:block}.insight-stats span{font-size:12px;color:var(--muted,#a9bdd5)}.insights-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 16px}.insights-section-heading h2{font-size:25px;margin:8px 0}.insights-section-heading p{font-size:13px;color:var(--muted,#a9bdd5)}.insight-search{display:flex;align-items:center;gap:8px}.insight-search svg{width:18px;height:18px}.insight-search input{background:transparent;border:1px solid #31577d;border-radius:12px;color:inherit;padding:12px;max-width:240px}.insight-filters{margin-bottom:18px}.insight-filters button{padding:9px 15px;border:1px solid #31577d;border-radius:22px;background:transparent;color:inherit}.insight-filters button.active{background:#1264ba;color:white}.opportunity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.opportunity-card{padding:20px;border:1px solid #31577d;border-radius:18px;background:var(--panel,#0d203a)}.opportunity-card>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:12px}.opportunity-card small{font-size:9px;letter-spacing:1px;color:#76cfff}.opportunity-card h3{font-size:20px;margin:18px 0 10px}.opportunity-card p{font-size:14px;line-height:1.6;color:var(--muted,#b5c7dc)}.opportunity-card blockquote{margin:16px 0;padding:12px;border-left:2px solid #57c7f4;font-size:14px;line-height:1.5}.opportunity-actions button,.personal-media-card button{background:#145eac;color:white;border:1px solid #4a91d6;border-radius:9px;padding:10px 12px;font-size:12px}.studio-trends{display:grid;gap:10px}.studio-trends article{display:flex;justify-content:space-between;padding:16px;border:1px solid #31577d;border-radius:12px}.studio-trends span{font-size:13px;color:var(--muted,#b5c7dc)}.whoolah-bridge{display:flex;align-items:center;gap:24px;padding:24px;margin:32px 0;border:1px solid #33898c;border-radius:18px}.whoolah-bridge>span{font-size:12px;letter-spacing:2px}.whoolah-bridge p{font-size:13px;line-height:1.6}.whoolah-bridge a,.whoolah-outbound{color:#79d9ff;white-space:nowrap}.create-choices{display:grid;gap:12px}.create-choices button {
  display:grid;
  grid-template-columns:clamp(3.5rem, 12vw, 5.75rem) minmax(0, 1fr);
  align-items:center;
  gap:clamp(.65rem, 2.5vw, 1rem);
  text-align:left;
  padding:clamp(.6rem, 2vw, 1rem);
  border:1px solid #4279ab;
  border-radius:14px;
  background:#102b49;
  color:#fff;
}
.create-choices button:hover {border-color:#79d9ff;background:#153758}
.create-choice-icon {
  display:block;
  width:100%;
  aspect-ratio:1;
  background:url('/assets/create-choice-icons.webp') no-repeat;
  background-size:200% 200%;
}
.create-choice-icon--vault {background-position:0 0}
.create-choice-icon--studio {background-position:100% 0}
.create-choice-icon--video {background-position:0 100%}
.create-choice-icon--photo {background-position:100% 100%}
.create-choice-text {display:grid;gap:.25rem}
.create-choice-text > span {font-size:.875rem;color:#b8cde2}
.link-details{margin:18px 0}.link-details summary{cursor:pointer;font-size:14px}.social-post{border:1px solid #31577d;border-radius:18px;overflow:hidden;background:var(--panel,#0c2039);margin-bottom:22px}.social-post header{padding:15px;display:flex;justify-content:space-between;gap:10px;align-items:center}.social-post header span{font-size:12px;color:var(--muted,#adc1da)}.creator-name{padding:0;background:none;border:0;color:inherit;font-weight:700}.social-post>video,.social-post>img{width:100%;max-height:560px;object-fit:contain;background:#040b17;display:block}.social-post-body{padding:20px}.social-post h3{font-size:21px;line-height:1.35;margin:6px 0 12px}.social-post p{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.social-post footer{display:flex;gap:20px;border-top:1px solid #31577d;padding-top:14px;margin-top:18px}.social-post footer button{background:none;border:0;color:inherit;font-size:14px;min-height:44px}.social-post footer button:disabled{color:#7bcdf8;opacity:1}.prediction-preview{display:grid;gap:9px;padding:16px;border:1px solid #3892ce;border-radius:12px;color:inherit;text-decoration:none;background:rgba(28,114,176,.15)}.prediction-preview small{font-size:10px;letter-spacing:1px;color:#83d8ff}.prediction-preview span,.prediction-context a{font-size:13px;color:#83d8ff}.prediction-context{display:grid;gap:8px;padding:14px;background:rgba(60,130,190,.12);border-radius:12px;font-size:13px}.creator-hub h2{font-size:28px}.creator-hub .video-entry{margin:18px 0}.creator-hub{align-self:start;position:sticky;top:110px}.immersive-feed{max-height:none!important;overflow:visible!important;scroll-snap-type:none!important}.personal-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.personal-media-card{border:1px solid #31577d;border-radius:14px;overflow:hidden;background:var(--panel,#10233c)}.personal-media-card img,.personal-media-card video{height:180px;width:100%;object-fit:contain;background:#051020}.personal-media-card>div{padding:14px}.personal-media-card h3{font-size:14px;overflow-wrap:anywhere}.personal-media-card button{margin:4px}.ai-disclosure{color:#83d8ff;letter-spacing:1px;font-size:10px}.watch-live{margin:0 20px 20px}.insights-hero button,.creator-hub button{min-height:44px}.mobile-nav button{min-width:0}
html[data-theme="light"] .opportunity-card,html[data-theme="light"] .insight-stats>div,html[data-theme="light"] .social-post,html[data-theme="light"] .personal-media-card{background:#fff;color:#142b47}html[data-theme="light"] .opportunity-card p,html[data-theme="light"] .insight-stats span,html[data-theme="light"] .studio-trends span,html[data-theme="light"] .social-post header span,html[data-theme="light"] .insights-section-heading p{color:#4b6380}html[data-theme="light"] .prediction-preview span,html[data-theme="light"] .prediction-preview small,html[data-theme="light"] .prediction-context a,html[data-theme="light"] .whoolah-outbound,html[data-theme="light"] .whoolah-bridge a{color:#075aa5}
@media(max-width:1100px){.opportunity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-media{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.insights-hero{grid-template-columns:1fr;padding:12px 0;gap:20px}.insights-brand{max-width:100%;justify-self:stretch}.insights-brand video{max-height:180px;object-fit:contain}.insights-hero h1{font-size:34px}.insight-stats{gap:6px;margin:18px 0}.insight-stats>div{padding:12px 9px}.insight-stats span{font-size:10px}.opportunity-grid,.personal-media{grid-template-columns:1fr}.insights-section-heading{align-items:start;flex-direction:column}.insight-search,.insight-search input{width:100%;max-width:none}.insight-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.insight-filters button{white-space:nowrap}.whoolah-bridge{align-items:start;flex-direction:column;gap:8px;padding:18px}.studio-trends article{display:grid;gap:6px}.creator-hub{position:static}.callout-layout{display:flex!important;flex-direction:column}.creator-hub{order:-1;padding:18px!important}.creator-hub h2{font-size:22px;margin:12px 0}.creator-hub .hub-note,.creator-hub>p,.creator-hub .video-entry span{display:none}.creator-hub .video-entry{margin:10px 0}.social-post header{align-items:start;flex-direction:column}.social-post-body{padding:16px}.social-post>video{max-height:62vh}.social-post footer{gap:14px}.insights-actions button{flex:1}.personal-media-card img,.personal-media-card video{height:240px}}

html[data-theme="light"] .opportunity-card small{color:#245e95}html[data-theme="light"] .insights-mode{color:#4b6380}.social-post-body h3{overflow-wrap:anywhere}.creator-hub .video-entry button{width:100%}

.add-reference{margin-top:12px;gap:8px}
#referenceChoose{width:100%;color:inherit}
.reference-help{font-size:12px;line-height:1.55;color:var(--muted);margin:6px 0}
.reference-result{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.reference-result .reference-thumb{object-fit:contain}
#modelReferences{margin-top:12px}
/* Temporary prediction preview: no entries or balances are changed. */
.demo-prediction-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.demo-prediction .demo-choice{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:2px solid transparent;border-radius:10px;font-size:16px;font-weight:800;text-decoration:none;color:#fff}.demo-prediction .demo-yes{background:#087d59}.demo-prediction .demo-no{background:#c72b4b}.demo-prediction .demo-choice[aria-pressed="true"]{outline:3px solid var(--text,#ecf5ff);outline-offset:2px}.demo-prediction .demo-choice:focus-visible{outline:3px solid #7edbff;outline-offset:3px}.demo-prediction .demo-prediction-status{font-size:12px;line-height:1.5;margin:2px 0;color:inherit}.demo-prediction>a{font-size:13px;color:#8bdcff}html[data-theme="light"] .demo-prediction>a{color:#075aa5}
.social-share-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.share-platform{display:grid;gap:7px;text-align:left;background:#145eac;border:1px solid #60a4df;border-radius:12px;padding:16px;color:#fff;text-decoration:none;font-weight:700;min-height:72px}.share-platform small{font-size:12px;color:#e0eeff;font-weight:400}.share-download{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #5d9ed5;border-radius:10px;color:inherit;text-decoration:none}.social-share-links{display:flex;flex-wrap:wrap;gap:20px}.social-share-links a{color:#8bdcff}html[data-theme="light"] .social-share-links a{color:#075aa5}
.prediction-media{margin-bottom:16px;background:#030b1b;border-radius:12px;overflow:hidden}.prediction-media>img,.prediction-media>video{display:block;width:100%;max-height:360px;object-fit:contain}
.generation-working{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;width:100%}.generation-brand{position:relative;width:56px;height:56px;display:grid;place-items:center}.generation-brand img{width:44px;height:44px;object-fit:contain;animation:whoolah-pulse 1.8s ease-in-out infinite}.generation-brand>span{position:absolute;inset:0;border:2px solid #4ab8ed44;border-top-color:#66daff;border-right-color:#3275ff;border-radius:50%;animation:whoolah-orbit 1.4s linear infinite}.generation-status-copy b{display:block;font-size:14px}.generation-status-copy p{font-size:12px!important;line-height:1.5}.generation-progress{grid-column:1/-1;height:7px;border-radius:99px;background:#5586b533;overflow:hidden}.generation-progress>span{display:block;height:100%;width:38%;border-radius:inherit;background:linear-gradient(90deg,#1298e8,#73e6ff,#4765ff);animation:whoolah-progress 1.8s ease-in-out infinite}.generation-working>small{grid-column:1/-1;color:var(--muted);font-size:11px}@keyframes whoolah-orbit{to{transform:rotate(360deg)}}@keyframes whoolah-pulse{50%{transform:scale(1.08);filter:drop-shadow(0 0 8px #42c6ff99)}}@keyframes whoolah-progress{from{transform:translateX(-110%)}to{transform:translateX(365%)}}@media(prefers-reduced-motion:reduce){.generation-brand img,.generation-brand>span,.generation-progress>span{animation:none}.generation-progress>span{width:100%;opacity:.6}}
.prediction-callouts-link{border:1px solid #5d9ed5;background:transparent;color:inherit;border-radius:10px;padding:10px;min-height:44px;font-size:13px;text-align:center}.callout-metrics{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--muted);margin:14px 0}.prediction-feed-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.prediction-feed-toolbar label{display:flex;gap:8px;align-items:center;font-size:13px}.prediction-feed-toolbar select{background:var(--panel);color:var(--text);border:1px solid #5d9ed5;border-radius:8px;padding:9px}.modal:has(.prediction-scroll-feed){max-width:720px}.prediction-scroll-feed{max-height:60vh;overflow:auto;overscroll-behavior:contain;scroll-snap-type:y proximity;margin:14px -4px;padding:4px;scrollbar-width:thin}.prediction-ranked-post{border:1px solid #31577d;border-radius:14px;overflow:hidden;margin-bottom:18px;scroll-snap-align:start;background:var(--panel)}.prediction-ranked-post>header{display:flex;justify-content:space-between;gap:12px;padding:14px;font-size:12px}.prediction-ranked-post>video,.prediction-ranked-post>img{display:block;width:100%;max-height:330px;object-fit:contain;background:#030b1b}.prediction-ranked-body{padding:16px}.prediction-ranked-body>h3{font-size:18px}.prediction-ranked-body>p{font-size:14px;line-height:1.6;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.ranked-actions{display:flex;gap:10px}.ranked-actions button,.prediction-ranked-body form button{min-height:44px;border:1px solid #5d9ed5;border-radius:9px;padding:10px 16px;background:#145eac;color:#fff}.prediction-ranked-body details{border-top:1px solid #31577d;padding-top:14px;margin-top:14px}.prediction-ranked-body summary{cursor:pointer;min-height:40px;font-size:14px}.prediction-ranked-body textarea{width:100%;min-height:75px;padding:10px;border:1px solid #5d9ed5;border-radius:9px;background:var(--panel);color:var(--text);margin:8px 0}.ranked-comment{padding:12px 0;border-bottom:1px solid #31577d;font-size:13px}.ranked-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}html[data-theme="light"] .prediction-ranked-post{background:#fff;color:#142b47}
.callout-sort-tabs{display:flex;gap:8px;margin-bottom:16px}.callout-sort-tabs button{border:1px solid #31577d;background:var(--panel);color:var(--text);min-height:44px;border-radius:10px;padding:10px 16px;font-size:13px}.callout-sort-tabs button.active{background:#145eac;color:white;border-color:#69b3f4}.top-callers-panel{margin-top:22px;padding-top:18px;border-top:1px solid #31577d}.top-callers-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.top-callers-heading h3{font-size:18px}.top-callers-heading label{display:flex;gap:8px;align-items:center;font-size:12px}.top-callers-heading select{border:1px solid #31577d;border-radius:8px;background:var(--panel);color:var(--text);padding:8px}.top-caller{display:flex;width:100%;gap:10px;align-items:center;padding:12px;margin-top:10px;text-align:left;background:var(--panel);color:var(--text);border:1px solid #31577d;border-radius:12px}.caller-avatar{width:36px;height:36px;display:grid;place-items:center;background:#175ba2;border-radius:50%;color:white;font-weight:800;flex:none}.top-caller b{display:block;font-size:13px}.top-caller small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.top-caller>strong{margin-left:auto;font-size:12px;white-space:nowrap}.thread-image{display:block;max-width:100%;max-height:230px;object-fit:contain;border-radius:10px;margin:10px 0}.ranked-image-label{display:grid;gap:8px;font-size:12px;margin:8px 0}.ranked-image-label input{max-width:100%;font-size:12px}
.mobile-vault-button{display:none}.vault-tabs{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap}.vault-tabs button,.vault-prompt-card button,.vault-build{min-height:44px;padding:10px 14px;border:1px solid #4b91cf;border-radius:10px;color:#fff;background:#145eac;font-size:13px}.vault-tabs button{color:var(--text);background:var(--panel)}.vault-tabs button.active{background:#145eac;color:#fff}.vault-search,.vault-builder-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.vault-search label,.vault-builder-fields label{display:grid;gap:8px;font-size:13px}.vault-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vault-prompt-card{border:1px solid #31577d;border-radius:12px;padding:16px;background:var(--panel)}.vault-prompt-card small{font-size:11px;color:var(--muted)}.vault-prompt-card h3{font-size:16px;margin:10px 0}.vault-prompt-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0}.vault-prompt-card>div{display:flex;flex-wrap:wrap;gap:7px}.vault-output{min-height:280px!important;font-size:13px!important;line-height:1.65!important;white-space:pre-wrap}.vault-build{width:100%}#vaultBuilt{margin-top:20px}.modal:has(.vault-grid),.modal:has(#masterPromptForm){max-width:760px}@media(max-width:700px){.mobile-vault-button{display:grid}.vault-grid,.vault-search,.vault-builder-fields{grid-template-columns:1fr}.vault-tabs button{flex:1}.top-actions{gap:7px}}

.studio-context{border:1px solid var(--border,#315680);border-radius:10px;padding:12px;margin:12px 0}.studio-context summary{cursor:pointer;font-size:12px;font-weight:650}.studio-context summary span{float:right;color:var(--muted)}.studio-context>label{display:block;margin:12px 0 5px;font-size:12px}.studio-context .modal-input{margin:0}.library-archive-filter{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:0;text-transform:none}.library-subhead{flex-wrap:wrap;gap:8px}
/* Social platform identity and temporarily unavailable Prompt Vault. */
.share-platform-title{display:flex;align-items:center;gap:12px}.social-brand{width:25px;height:25px;flex:none}.social-brand-facebook,.social-brand-x,.social-brand-tiktok{fill:currentColor;stroke:none}.social-share-links a{display:inline-flex;align-items:center;gap:8px}.social-share-links .social-brand{width:20px;height:20px}.coming-soon-badge{font-size:9px;line-height:1.2;padding:3px 5px;border:1px solid currentColor;border-radius:5px;white-space:nowrap}#promptVaultButton:disabled,#mobilePromptVault:disabled{opacity:.7;color:var(--muted);cursor:not-allowed}#promptVaultButton{gap:7px}

.top-callers-details>summary{font-size:18px;font-weight:750;cursor:pointer;min-height:44px;display:list-item}.top-callers-heading{margin-top:8px}.modal-actions button:not(.secondary){background:linear-gradient(120deg,#116bc4,#174eae)}@media(max-width:700px){.top-callers-panel{margin-top:12px;padding-top:10px}.top-callers-details>summary{font-size:14px;min-height:34px}}

/* Three visible replies turn each Call-Out into a compact conversation thread. */
.inline-thread{margin-top:15px;border-top:1px solid var(--border,#31577d);padding-top:14px;min-width:0}.inline-thread-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.inline-thread-heading>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750}.inline-thread-heading svg{width:15px;height:15px;color:var(--ice,#82d3fc)}.inline-thread-heading small{font-size:10px;color:var(--muted)}.inline-thread-list{display:grid;gap:0}.inline-thread-comment{display:flex;gap:10px;min-width:0;padding:10px 0;position:relative}.thread-avatar{width:30px;height:30px;display:grid;place-items:center;background:#144c7c;border:1px solid #3674a2;color:#dff3ff;border-radius:50%;font-size:12px;font-weight:800;flex:none;z-index:1}.inline-thread-comment:not(:last-child):before{content:'';position:absolute;left:14px;top:39px;bottom:-8px;width:1px;background:#31577d}.thread-comment-content{min-width:0;flex:1}.thread-comment-content>header{padding:0;flex-direction:row;display:flex;align-items:baseline;gap:8px;justify-content:space-between;flex-wrap:wrap}.thread-comment-content b{font-size:12px;overflow-wrap:anywhere}.thread-comment-content time,.ranked-comment-time{font-size:10px;color:var(--muted);white-space:nowrap}.ranked-comment-time{margin-left:10px}.thread-comment-content p{font-size:12px;line-height:1.55;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.inline-thread-image{display:block;max-height:100px;max-width:min(180px,100%);border-radius:8px;margin-top:8px;object-fit:contain}.thread-view-all{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;background:transparent;color:var(--ice,#82d3fc);border:0;border-radius:8px;font-size:11px;font-weight:700;text-align:left;padding:9px 8px;margin-top:5px}.thread-view-all:hover{background:#2871a420}html[data-theme=light] .thread-view-all,html[data-theme=light] .inline-thread-heading svg{color:#075b9c}html[data-theme=light] .thread-avatar{background:#deeffc;color:#174669;border-color:#b6d2e8}@media(max-width:700px){.thread-comment-content p{font-size:13px}.thread-comment-content b{font-size:12px}.inline-thread-heading small{font-size:11px}.thread-view-all{font-size:12px;min-height:44px}}

/* Prompt Vault uses the same surfaces and focus treatments as Studio. */
#view-vault .section-intro{margin-bottom:22px}
.vault-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.vault-controls label,.vault-prompt-label,.vault-editor label,.vault-copy-extras label{display:grid;gap:6px;font-size:12px;font-weight:650}
.vault-controls select{width:100%;min-height:44px;background:var(--ui-surface,#132742);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:10px;padding:8px}
.vault-pack-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px}
.vault-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:14px}
.vault-topic,.vault-draft-banner{background:var(--ui-surface,#11223b);border:1px solid var(--ui-border);border-radius:16px;padding:18px;min-width:0}
html[data-theme=light] .vault-topic,html[data-theme=light] .vault-draft-banner,html[data-theme=light] .vault-controls select{background:#fff;color:#142b47}
.vault-topic-header,.vault-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vault-topic-header{justify-content:space-between;margin-bottom:10px}
.vault-topic h2{font-size:21px;margin:0 0 10px}
.vault-question{font-weight:720;line-height:1.5}
.vault-context,.vault-source,.vault-market,.vault-message{font-size:12px;line-height:1.5;color:var(--ui-muted);margin:8px 0}
.vault-source a{font-weight:750;color:inherit;text-decoration:underline}
.vault-badge{font-size:10px;font-weight:750;border:1px solid var(--ui-border);border-radius:20px;padding:5px 8px}
.vault-format-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:15px 0 9px}
.vault-format-tabs button,.vault-actions button,.vault-topic-action,.vault-pack-heading button,.vault-editor button,#vaultPublishPack,#vaultDiscussionDraft,#vaultRetry,.vault-copy-extras button,[data-check-post-market]{min-height:42px;border:1px solid var(--ui-border);border-radius:9px;padding:8px 10px;font-weight:650;font-size:12px;color:var(--ui-text);background:var(--panel,#193153)}
html[data-theme=light] .vault-format-tabs button,html[data-theme=light] .vault-actions button,html[data-theme=light] .vault-topic-action,html[data-theme=light] .vault-pack-heading button,html[data-theme=light] .vault-editor button,html[data-theme=light] .vault-copy-extras button,html[data-theme=light] #vaultDiscussionDraft{background:#edf4fb;color:#173656}
.vault-format-tabs button[aria-pressed=true],.vault-actions button.vault-primary,#vaultPublishPack,.vault-editor button.vault-primary,html[data-theme=light] .vault-format-tabs button[aria-pressed=true],html[data-theme=light] .vault-actions button.vault-primary,html[data-theme=light] .vault-editor button.vault-primary{background:#145fbb;color:white;border-color:#5cacf4}
.vault-prompt{resize:vertical;min-height:105px;margin:0 0 8px}
.vault-topic-action{margin-top:10px}
.vault-copy-extras{margin-top:14px;font-size:12px}
.vault-copy-extras summary,.vault-review-cards summary{cursor:pointer;padding:7px 0}
.vault-copy-extras label{margin-top:9px}
.vault-message:empty{display:none}
.vault-editor,.vault-review-cards{display:grid;gap:10px;margin:12px 0}
.vault-review-cards>details{border:1px solid var(--ui-border);border-radius:9px;padding:10px}
.vault-editor label:has(input[type=checkbox]){display:flex;align-items:center}
.vault-draft-banner{display:grid;gap:7px;margin:10px 0}
.vault-draft-banner p{font-size:13px;margin:0}
#vaultResultActions:empty{display:none}
#vaultResultActions{margin-top:10px}
.vault-composer-preview{display:grid;gap:8px;margin-bottom:14px}
.vault-composer-preview img,.vault-composer-preview video{width:100%;max-height:240px;object-fit:contain;border-radius:10px;background:#07162b}
.vault-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.vault-library button{display:grid;gap:6px;background:var(--panel);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:9px;padding:6px;overflow-wrap:anywhere}
.vault-library img{width:100%;height:100px;object-fit:cover;border-radius:6px}
@media(max-width:700px){
  .vault-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vault-topic{padding:13px}
  .vault-topic .vault-actions{display:grid;grid-template-columns:1fr 1fr}
  .vault-format-tabs button{padding:7px 4px;font-size:11px}
}

/* Prompt Vault news desk */
.vault-news-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--ui-border);margin-top:20px;padding-bottom:7px}
.vault-news-tabs button{color:var(--ui-text);background:transparent;border:1px solid transparent;border-radius:8px;padding:10px 15px;font-weight:750}
.vault-news-tabs button[aria-pressed=true]{border-color:var(--ui-border);background:var(--panel)}
.vault-news-heading h2{margin:5px 0;font-size:clamp(1.55rem,3vw,2.15rem)}
.vault-news-heading p{margin:0;color:var(--ui-muted)}
.vault-news-kicker{font-size:.72rem;letter-spacing:.1em;font-weight:800;margin:0 0 8px}
.vault-news-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.vault-news-actions label{display:grid;gap:4px;font-size:.75rem;font-weight:700}
.vault-news-actions select,.vault-news-actions button{width:100%;min-height:42px;border-radius:8px;padding:7px 10px}
.vault-news-actions select{color:var(--ui-text);background:var(--panel);border:1px solid var(--ui-border)}
.vault-news-actions button{grid-column:1/-1;border:1px solid #569af0;background:#1759a5;color:white;font-weight:800}
.vault-news-actions button:disabled{opacity:.55}
.vault-demo-stories{margin-top:22px}
.vault-demo-stories summary{cursor:pointer;font-weight:700;padding:8px 0}
.vault-recommendations{border:1px solid var(--ui-border);border-radius:10px;padding:10px;margin-top:8px;font-size:.85rem}
.vault-recommendations ul{padding-left:20px;margin:6px 0 0}
.vault-recommendations li+li{margin-top:5px}
.vault-recommendations select{width:100%;margin-top:7px}
.vault-news-heading+.vault-topics>.vault-topic:first-child h2{font-size:clamp(1.3rem,2.6vw,1.85rem);line-height:1.15}

.vault-recommendations [data-vault-preview]{padding:0;color:inherit;background:none;border:0;text-align:left;text-decoration:underline}

/* A quieter reading layout for the news desk. */
.workspace:has(#view-vault:not(.hidden)){display:block;max-width:1240px}
.workspace:has(#view-vault:not(.hidden))>.sidebar{display:none}
#view-vault .section-intro{margin:clamp(12px,3vw,36px) 0 24px}
#view-vault .section-intro h1{font-size:clamp(2.3rem,6vw,4.15rem);letter-spacing:-.05em;margin:6px 0}
#view-vault .section-intro p{max-width:54ch;line-height:1.55}
#view-vault .vault-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#view-vault .vault-topic{display:flex;flex-direction:column;padding:clamp(16px,2.2vw,26px);border-radius:14px}
#view-vault .vault-topic h2{font-size:clamp(1.22rem,2.1vw,1.55rem);line-height:1.2;letter-spacing:-.025em}
#view-vault .vault-question{font-size:.96rem;margin:0 0 6px}
#view-vault .vault-context{font-size:.875rem;margin:0 0 12px}
#view-vault .vault-source{overflow-wrap:anywhere}
#view-vault .vault-topic-action{align-self:flex-start}
#view-vault .vault-news-tabs button{min-height:44px}
#view-vault .vault-news-actions{margin-top:auto;padding-top:13px}
#view-vault .vault-news-actions select{min-width:0}
#view-vault .vault-news-actions button{min-height:44px}
#view-vault .vault-copy-extras{margin-top:9px}
.vault-category{display:inline-flex;align-items:center;gap:7px;font-size:.75rem;font-weight:800}
.vault-category>span{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--ui-border);border-radius:8px;background:var(--panel)}
.vault-draft-source{font-size:.82rem;overflow-wrap:anywhere}
@media(max-width:740px){
  #view-vault .vault-topics{grid-template-columns:minmax(0,1fr)}
  #view-vault .vault-news-tabs{gap:2px}
  #view-vault .vault-news-tabs button{padding:8px 10px;font-size:.84rem}
}


/* Keep the whole generated frame visible, with height limited by the viewport. */
.preview-frame.has-output{
  --preview-height:min(68vh,680px);
  --preview-height:min(68svh,680px);
  width:min(100%,calc(var(--preview-height) * var(--output-ratio,1.7778)));
  height:auto;
  aspect-ratio:var(--output-ratio,1.7778);
  margin-inline:auto;
  background:#071323;
}
.preview-frame.has-output>img,.preview-frame.has-output>video{object-fit:contain}
@media(max-width:610px){
  .preview-frame.has-output{
    --preview-height:76vh;
    --preview-height:76svh;
  }
}

/* Market Watch uses the same icon treatment for categories, cards and actions. */
#view-vault label[hidden]{display:none}
.market-watch{--watch-surface:var(--panel);--watch-accent:#63e7ff}
html[data-theme=light] .market-watch{--watch-accent:#00537c}
.market-watch-icon{flex:none;width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.market-watch-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.market-watch-search{display:flex;align-items:center;gap:9px;width:min(100%,340px);min-height:44px;padding:0 11px;border:1px solid var(--ui-border);border-radius:10px;background:var(--watch-surface);color:var(--watch-accent)}
.market-watch-search:focus-within{border-color:var(--watch-accent);outline:2px solid var(--watch-accent);outline-offset:2px}
.market-watch-search input{width:100%;min-width:0;min-height:42px;border:0;background:none;color:var(--ui-text);font:inherit;font-size:16px;outline:none}
.market-watch-search input::placeholder{color:var(--ui-muted)}
.market-watch-count{margin:0;color:var(--ui-muted);font-size:.82rem}
.market-watch-tools{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.market-watch-tools button,.market-watch-more,.market-watch-empty button{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:7px 10px;border:1px solid var(--ui-border);border-radius:9px;background:var(--watch-surface);color:var(--ui-text);font-size:.8rem;font-weight:650}
.market-watch :is(button,a) .market-watch-icon{color:var(--watch-accent)}
.market-watch-tools small{padding:2px 5px;border-radius:5px;background:var(--ui-soft);color:var(--ui-muted);font-variant-numeric:tabular-nums}
.market-watch-tools button:hover,.market-watch-more:hover,.market-watch-empty button:hover{background:var(--ui-soft)}
.market-watch-tools button[aria-pressed=true]{border-color:#347bb8;background:#145eac;color:#fff}
.market-watch-tools button[aria-pressed=true] :is(svg,small),.market-watch-actions button:hover .market-watch-icon{color:#fff}
.market-watch-tools button[aria-pressed=true] small{background:#ffffff26}
.market-watch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.market-watch-card{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid var(--ui-border);border-radius:13px;background:var(--watch-surface);color:var(--ui-text)}
.market-watch-card header{display:flex;align-items:center;gap:9px;margin-bottom:11px;font-size:.78rem}
.market-watch-tile{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:var(--ui-soft);color:var(--watch-accent)}
.market-watch-card header strong,.market-watch-card header small{display:block}
.market-watch-card header small,.market-watch-card p{color:var(--ui-muted)}
.market-watch-card h3{margin:0 0 7px;font-size:1.08rem;line-height:1.3;overflow-wrap:anywhere}
.market-watch-card p{flex:1;margin:0 0 10px;font-size:.85rem;line-height:1.5}
.market-watch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px}
.market-watch-actions button,.market-watch-actions a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:7px 9px;border-radius:8px;font-size:.8rem;font-weight:650}
.market-watch-actions button{border:1px solid var(--ui-border);background:var(--ui-secondary);color:var(--ui-secondary-text)}
.market-watch-actions button:hover{background:#145eac;color:#fff}
.market-watch-actions a{color:var(--ui-link);text-decoration:underline;text-underline-offset:3px}
.market-watch-actions .market-watch-icon{width:14px;height:14px}
.market-watch-more{margin-top:14px}
.market-watch-empty{grid-column:1/-1}
.market-watch-empty p{margin:0 0 8px}
@media(max-width:1000px){
  .market-watch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .market-watch-grid{grid-template-columns:minmax(0,1fr)}
  .market-watch-tools{flex-wrap:nowrap;overflow-x:auto;padding:4px;scroll-padding-inline:4px}
  .market-watch-tools button{flex:none}
}

.home-malaya{margin:1rem 0 1.25rem;padding:clamp(.85rem,2.4vw,1.45rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.home-malaya-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.home-malaya h2{margin:.2rem 0;font-size:clamp(1.3rem,3vw,1.8rem)}
.home-malaya p,.home-malaya-signals small{color:var(--muted);font-size:.83rem}
.home-malaya-agents{display:flex;gap:.22rem}
.home-malaya-agents i{display:block;width:2rem;aspect-ratio:1;border:1px solid var(--line2);border-radius:50%;background:url('/assets/malaya-mascots.webp') no-repeat 5% 4%/226%}
.home-malaya-agents i:nth-child(2){background-position:95% 4%}.home-malaya-agents i:nth-child(3){background-position:5% 96%}.home-malaya-agents i:nth-child(4){background-position:95% 96%}
.home-malaya-status{margin:.85rem 0}
.home-malaya-signals{list-style:none;margin:.65rem 0;padding:0}
.home-malaya-signals li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.65rem 0;border-top:1px solid var(--line)}
.home-malaya-signals small,.home-malaya-signals strong{display:block;overflow-wrap:anywhere}
.home-malaya-signals strong{font-size:.94rem;line-height:1.4}
.home-malaya .new-small{display:inline-flex;align-items:center;width:max-content;min-height:40px;white-space:nowrap}
@media(max-width:460px){.home-malaya-signals li{grid-template-columns:1fr;gap:.35rem}.home-malaya .new-small{min-height:44px}}

@media(prefers-reduced-motion:no-preference){
 .home-malaya-agents i{--mascot-glow:#82a9ff;--mascot-tilt:-6deg;animation:home-mascot-wave 5s var(--mascot-delay,0s) ease-in-out infinite}
 .home-malaya-agents i:nth-child(2){--mascot-delay:.26s;--mascot-glow:#ff8ba3;--mascot-tilt:7deg}
 .home-malaya-agents i:nth-child(3){--mascot-delay:.52s;--mascot-glow:#63dbc8;--mascot-tilt:-4deg}
 .home-malaya-agents i:nth-child(4){--mascot-delay:.78s;--mascot-glow:#b8a6ff;--mascot-tilt:6deg}
 @keyframes home-mascot-wave{
  0%,24%,100%{transform:translateY(0);box-shadow:none}
  11%{transform:translateY(-.24rem) rotate(var(--mascot-tilt)) scale(1.08);box-shadow:0 0 .65rem var(--mascot-glow)}
 }
}
.home-malaya-agent-link{display:grid;justify-items:start;gap:.3rem;color:var(--text);font-size:.8rem;font-weight:650;padding:.25rem 0}
.home-malaya-agent-link:hover span:last-child{text-decoration:underline;text-underline-offset:.2em}

.studio-news-link{text-decoration:none}
.home-brand-media{position:relative;width:100%;aspect-ratio:16/9}
.insights-brand{width:100%;min-width:0}
.insights-brand video{display:block;width:100%;height:100%;object-fit:contain}
#playHomeBrand{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:52px;height:52px;border:1px solid #8ddcff99;border-radius:50%;background:#071629df;color:#fff;cursor:pointer}
#playHomeBrand[hidden]{display:none}
@media(max-width:700px){
  .home-brand-media{max-width:420px;margin-inline:auto}
  .insights-brand video{max-height:none}
  .mobile-dock{backdrop-filter:none;background:#061326}
}
@media(max-width:390px){
  .insights-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .insights-actions>*{justify-content:center;text-align:center;min-height:44px;padding-inline:6px}
  .mobile-dock button{min-width:40px}
}
.callout-layout{grid-template-columns:minmax(0,680px) minmax(240px,340px);justify-content:center;gap:clamp(12px,3vw,32px)}
.callout-toolbar,.callout-header{max-width:1052px;margin-inline:auto}
.feed-period{margin-bottom:12px}.feed-period select{background:var(--ui-panel,#10243d);color:var(--ui-text,#edf8ff);padding:8px;border:1px solid var(--line);border-radius:8px}
#newCallouts{width:100%;margin-bottom:12px}#newCallouts[hidden],#bestPeriod[hidden],#threadWatch[hidden]{display:none}
.social-post>header{display:flex;align-items:center;justify-content:flex-start;gap:.55rem;flex-wrap:wrap}
.social-post>header time{color:var(--ui-muted,#aec5df);font-size:.76rem}
.social-post>header .creator-name{max-width:58%;overflow-wrap:anywhere;text-align:left}
.feed-post-badge{margin-left:auto}.feed-post-live{color:#ff9bac}
.feed-post-title{background:none;border:0;color:inherit;font:inherit;padding:0;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.feed-post-media{display:block;padding:0;margin:0 0 .6rem;background:none;border:0;border-radius:12px;width:100%;overflow:hidden}
.feed-post-media img{width:100%;display:block;max-height:220px;object-fit:cover}
.feed-post-actions{display:flex;gap:.3rem .6rem;align-items:center;flex-wrap:wrap}.feed-post-actions>span{color:var(--ui-muted,#aec5df);font-size:.76rem;margin-left:auto}
.feed-post-actions>button,.watch-live{min-height:44px}
.inline-thread{border-inline-start:2px solid var(--line);padding-inline-start:.65rem}
.reply-context{overflow-wrap:anywhere}.reply-context p{white-space:pre-wrap}
.thread-video,#threadPlayer video{display:block;width:100%;max-height:52svh;object-fit:contain;background:#000;border-radius:12px;margin:.75rem 0}
.thread-section-title{font-size:1rem;margin:1rem 0 .4rem}
.thread-reply-form textarea{min-height:70px}.thread-update{display:flex;gap:.5rem;align-items:center;margin-block:.5rem}
#replyList .reply-item{overflow-wrap:anywhere}
@media(max-width:860px){
 .callout-layout{grid-template-columns:minmax(0,1fr);max-width:620px}
 .callout-toolbar{display:grid;gap:.6rem}
 .callout-toolbar .feed-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-width:0;gap:.2rem}
 .callout-toolbar .feed-tabs button{min-height:44px;padding-inline:.18rem;font-size:.8rem}
 .callout-toolbar #calloutSearch{width:100%;min-width:0}
 .feed-post-media img{max-height:176px}
}

.profile-identity{display:flex;align-items:center;gap:14px;margin:8px 0 18px}
.profile-identity>div{display:grid;min-width:0;gap:4px;overflow-wrap:anywhere}
.profile-identity small,.profile-links small{color:var(--ui-muted)}
.profile-avatar{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:50%;background:#8adfff;color:#092641;font-size:1.25rem;font-weight:750}
.profile-links{display:grid;gap:8px}
.profile-links button{display:grid;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:58px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-empty);color:var(--ui-text);text-align:left}
.profile-links button:hover{border-color:#68c9ef}
.profile-links button span{display:grid;gap:3px}
.profile-links svg,.profile-avatar svg{width:22px;height:22px}
@media(max-width:860px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right))}
  .mobile-dock button,.mobile-dock a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;width:100%;min-height:48px;color:#a7bdd5;font-size:11px;text-decoration:none}
  .mobile-dock [aria-current="page"]{color:#a6e6ff}
  .mobile-dock a svg{height:20px;width:20px}
  html[data-theme=light] .mobile-dock a{color:#526e8c}
  html[data-theme=light] .mobile-dock [aria-current="page"]{color:#096ab1}
}

.mode-tabs .mode-tab {
  flex-basis: 9rem;
  min-height: 3rem;
  gap: .45rem;
  padding: .35rem .6rem;
}
.mode-icon {
  display: block;
  flex: 0 0 2.35rem;
  height: 2.35rem;
  background: url('/assets/studio-mode-icons.webp') no-repeat var(--icon-x, 0%) var(--icon-y, 0%) / 400% 200%;
}
.mode-icon--image-video, .mode-icon--film { --icon-x: 33.333333%; }
.mode-icon--text-image, .mode-icon--video-tools { --icon-x: 66.666667%; }
.mode-icon--edit-image, .mode-icon--characters { --icon-x: 100%; }
.mode-icon--motion, .mode-icon--film, .mode-icon--video-tools, .mode-icon--characters { --icon-y: 100%; }

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  overflow: visible;
}
.mode-tabs .mode-tab {
  min-width: 0;
  white-space: normal;
}

.insights-actions > .new-small {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 3rem;
  padding: .35rem .75rem;
  white-space: normal;
}
.home-action-icon {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  flex: 0 0 auto;
  background: url('/assets/home-action-icons.webp') no-repeat var(--action-x, 0%) var(--action-y, 0%) / 200% 200%;
}
.home-action-icon--callout, .home-action-icon--studio { --action-x: 100%; }
.home-action-icon--market, .home-action-icon--studio { --action-y: 100%; }
@media (max-width: 480px) {
  .insights-actions > .new-small {
    justify-content: flex-start;
    padding-inline: .4rem;
    text-align: left;
  }
  .home-action-icon { inline-size: 1.75rem; block-size: 1.75rem; }
}


/* Keep interactive panels usable within narrow and short viewports. */
:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid #79d9ff;
  outline-offset: 3px;
}
.main-column, .editor, .preview-card, .callout-layout > *, .modal { min-width: 0; }
.modal { max-inline-size: 100%; overflow-wrap: anywhere; }
.modal :is(input, select, textarea, video, img) { max-inline-size: 100%; }
.modal-actions { flex-wrap: wrap; }
.modal-actions > :is(button, a) { min-height: 44px; }
.close-modal { min-width: 44px; min-height: 44px; flex: 0 0 auto; }
.preview-actions, .action-stack { flex-wrap: wrap; }
@media (max-width: 860px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .modal-backdrop { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .modal { max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); }
  #calloutRoomDock { scroll-margin-block: .75rem 5rem; }
}
@media (max-width: 680px) {
  .creation-grid { grid-template-columns: minmax(0, 1fr); }
  .modal :is(input:not([type=checkbox]), select, textarea), #calloutSearch { font-size: 16px; }
  .callout-toolbar .feed-tabs button { white-space: normal; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.mobile-dock :is(a, button), .create-choices button { touch-action: manipulation; }
.mobile-dock :is(a, button):active { opacity: .72; }
@media (max-width: 860px) {
  .modal-backdrop { backdrop-filter: none; }
}

#previewOverlay .preview-copy {
  inset: 2.5rem 1rem 1rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .75rem;
  text-align: center;
}
#previewOverlay .preview-brand-logo {
  display: block;
  width: clamp(4.75rem, 16vw, 7.5rem);
  aspect-ratio: 1;
  background: url('/assets/whoolah-logo-320.webp') center / contain no-repeat;
}
#previewStatus {
  overflow-wrap: anywhere;
}

.avatar-templates {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
  gap:10px;
  margin:10px 0 14px;
}
.avatar-template {
  padding:0;
  overflow:hidden;
  border:1px solid var(--ui-border);
  border-radius:12px;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.avatar-template img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
.avatar-template span { display:block; padding:8px 9px; font-size:.85rem; font-weight:600; }
.avatar-template:is(:hover,:focus-visible) { outline:2px solid #3cced9; outline-offset:2px; }

@media (prefers-reduced-motion: no-preference) {
  #previewFrame.is-generating .preview-brand-logo {
    animation: preview-logo-breathe 2.4s ease-in-out infinite;
  }
}
@keyframes preview-logo-breathe {
  0%, 100% { transform:scale(1); filter:drop-shadow(0 0 5px #3cced94d); }
  50% { transform:scale(1.08); filter:drop-shadow(0 0 16px #3cced999); }
}

#generationFilters { flex-wrap:wrap; margin:0 0 12px; }

/* Studio accents need their own contrast on light surfaces. */
html[data-theme="light"] #view-studio .workspace-heading h1 span,
html[data-theme="light"] #view-studio .workspace-heading h1 svg {
  color:#15548a;
}
html[data-theme="light"] #view-studio .workspace-heading h1 span {
  -webkit-text-fill-color:currentColor;
  background:none;
  text-shadow:none;
}
html[data-theme="light"] #view-studio .workspace-heading p,
html[data-theme="light"] #view-studio .workspace-heading .headline-right,
html[data-theme="light"] #view-studio .workspace-heading .headline-right span,
html[data-theme="light"] #view-studio .control-label span,
html[data-theme="light"] #view-studio .field > label,
html[data-theme="light"] #view-studio #prompt::placeholder {
  color:#3d5875;
  opacity:1;
}
html[data-theme="light"] #view-studio #promptLabel {
  color:#1e3c5b;
  font-weight:650;
}
html[data-theme="light"] #view-studio #engineTag {
  color:#eef6ff;
}

.modal-backdrop.media-viewer .modal {
  width:min(100%,960px);
  max-height:calc(100dvh - 32px);
}
.media-viewer .modal-heading { margin-bottom:12px; }
.enlarged-media {
  display:block;
  width:100%;
  max-height:calc(100dvh - 170px);
  object-fit:contain;
  border-radius:10px;
}
#previewVideo { cursor:zoom-in; }

.prompt-review-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:12px 0; }
.prompt-review-tools button { min-height:44px; }
#reviewPromptText, #dictationTranscript { width:100%; }
.review-original { white-space:pre-wrap; overflow-wrap:anywhere; }

/* Call-Outs */
#fullCalloutFeed { position:relative; height:min(76svh,820px); min-height:430px; overflow-y:auto!important; scroll-snap-type:y proximity!important; scrollbar-width:thin; overscroll-behavior-y:contain; border:1px solid var(--line,#31577d); background:var(--panel,#0c2039); }
.reel-navigation { display:flex; justify-content:flex-end; gap:8px; margin-bottom:8px; }
.reel-navigation button { min-width:44px; min-height:44px; }
#fullCalloutFeed .callout-reel { scroll-snap-align:start; display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.85fr); min-height:100%; margin:0; border:0; border-bottom:1px solid var(--line,#31577d); border-radius:0; }
.reel-stage { position:relative; display:grid; place-items:center; min-height:200px; background:radial-gradient(ellipse at 30% 30%,#164370,#080f23 72%); color:#eef7ff; }
.reel-stage:empty { display:none; }
.reel-stage>video,.reel-stage>img { width:100%; height:100%; max-height:min(74svh,810px); object-fit:contain; }
.reel-stage-label { position:absolute; top:12px; left:12px; pointer-events:none; font-size:.8rem; padding:4px 8px; border-radius:8px; background:#091529; }
.reel-stage-label:empty { display:none; }
.reel-stage .watch-live { position:absolute; bottom:20px; }
.reel-details { align-self:center; min-width:0; padding:clamp(14px,2vw,28px); }
.reel-byline,.reel-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.reel-byline time { font-size:.8rem; }
.reel-actions button,.reel-prediction a,.reel-prediction button { min-height:44px; }
.reel-prediction { display:grid; gap:6px; margin:12px 0; padding:12px; border:1px solid var(--line,#31577d); border-radius:12px; }
.reel-prediction a { display:inline-flex; align-items:center; color:inherit; }
.reel-empty { padding:24px; }
@media(max-width:900px){
 #fullCalloutFeed .callout-reel { display:block; }
 .reel-stage>video,.reel-stage>img { height:min(48svh,540px); }
}
.reel-stage[hidden] { display:none; }
#fullCalloutFeed .callout-reel:has(.reel-stage[hidden]) { grid-template-columns:1fr; }

.reel-actions { margin:16px 0 10px; padding-top:12px; border-top:1px solid var(--line,#31577d); }
.reel-actions button,.reel-create { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:8px 10px; min-height:44px; border:1px solid var(--line,#31577d); border-radius:12px; background:transparent; color:inherit; font-size:.88rem; }
.reel-actions svg,.reel-create svg { position:static; width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
.reel-actions button:disabled[data-social-like] { color:#e75f8a; opacity:1; }
.reel-actions small { font-size:.8em; margin-inline-start:3px; }
.reel-create { width:100%; color:inherit; font-weight:650; }
.callout-share-actions { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.callout-share-actions>* { width:100%; text-align:center; justify-content:center; }
.share-platform .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.reply-context summary { cursor:pointer; font-weight:650; padding:8px 0; }

.reel-prediction .reel-predict { width:fit-content; padding:0 14px; border:1px solid #298ce3; border-radius:10px; background:#165ca5; color:#fff; font-weight:700; text-decoration:none; }
.reel-view-count { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 8px; color:var(--muted,#adc1da); font-size:.82rem; }

.callout-topic-filter { display:flex; align-items:center; gap:8px; min-width:0; }
.callout-topic-filter label { margin:0; }
.callout-topic-filter select { min-width:0; min-height:44px; margin:0; }
@media (max-width:860px){
  #view-callouts .callout-toolbar { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:end; gap:8px; }
  #view-callouts .feed-tabs { grid-column:1/-1; }
  #view-callouts #calloutSearch,#view-callouts #feedTopic { min-height:44px; font-size:16px; }
  #view-callouts .callout-topic-filter { display:grid; grid-template-columns:minmax(0,1fr); gap:2px; }
  #view-callouts .callout-topic-filter label { font-size:.75rem; }
  #view-callouts .callout-layout { gap:12px; }
  #view-callouts #fullCalloutFeed { min-height:380px; height:clamp(380px,75svh,680px); border-radius:14px; }
  #view-callouts .reel-stage>video,#view-callouts .reel-stage>img { height:clamp(210px,42svh,420px); }
  #view-callouts .reel-details { padding:14px 12px; }
  #view-callouts .reel-actions { gap:6px; }
  #view-callouts .reel-actions button { flex:1 1 auto; padding-inline:6px; white-space:nowrap; }
  #view-callouts .creator-hub { display:grid; gap:10px; padding:12px; margin:0; }
  #view-callouts .creator-hub .video-entry,#view-callouts .creator-hub .top-callers-panel { margin:0; }
  #view-callouts .creator-hub .video-entry p { display:none; }
  #view-callouts .whoolah-outbound { display:flex; align-items:center; min-height:44px; margin:0; }
  #view-callouts .top-callers-details>summary { min-height:44px; font-size:1rem; }
}

.reel-ai-label { display:inline-flex; align-items:center; gap:4px; padding:3px 7px; border:1px solid var(--line,#31577d); border-radius:999px; color:inherit; font-size:.72rem; white-space:nowrap; }
.reel-ai-label svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.7; }

.reel-creator { display:inline-flex; align-items:center; gap:8px; min-width:0; max-width:100%; }
.reel-creator-avatar { display:grid; place-items:center; flex:0 0 30px; height:30px; border-radius:50%; background:#164475; color:#fff; font-size:.8rem; font-weight:700; }
.reel-byline .creator-name { color:inherit; font-size:.95rem; font-weight:750; text-align:left; overflow-wrap:anywhere; }
.reel-byline button.creator-name { min-height:44px; }

.wsi-chat { max-width:790px; margin:0 auto 28px; padding:clamp(14px,3vw,28px); background:var(--panel,#102441); border:1px solid var(--line,#31577d); border-radius:20px; }
.wsi-heading { display:flex; align-items:center; gap:12px; margin-bottom:15px; }
.wsi-heading img { display:block; border-radius:13px; }
.wsi-heading span { font-size:.77rem; font-weight:750; letter-spacing:.1em; }
.wsi-heading h2 { margin:3px 0 0; font-size:clamp(1.18rem,3vw,1.65rem); }
.wsi-form { padding:10px; border:1px solid var(--line,#31577d); border-radius:14px; }
.wsi-form textarea,.wsi-turn textarea { display:block; width:100%; padding:8px; font:inherit; color:inherit; background:transparent; resize:vertical; }
.wsi-form textarea { border:0; border-radius:8px; }
.wsi-controls { display:flex; justify-content:flex-end; }
.wsi-chat button { min-height:44px; }
.wsi-turns { display:grid; gap:10px; }
.wsi-turn { padding:12px; margin-bottom:10px; border:1px solid var(--line,#31577d); border-radius:12px; overflow-wrap:anywhere; }
.wsi-turn-user { justify-self:end; max-width:90%; }
.wsi-turn p { white-space:pre-wrap; margin:6px 0; }
.wsi-turn label { display:block; margin:12px 0; }
.wsi-turn textarea { margin-top:4px; border:1px solid var(--line,#31577d); border-radius:8px; }
.wsi-sources { margin:10px 0 0; padding-left:20px; }
.wsi-sources a { color:inherit; text-decoration:underline; }
#wsiStatus:empty { display:none; }
.wsi-chat .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.wsi-controls { gap:8px; flex-wrap:wrap; }
.wsi-turn button + label { margin-top:12px; }
#wsiRecord { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid var(--line,#31577d); border-radius:50%; background:transparent; color:inherit; }
#wsiRecord svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
#wsiRecord .wsi-stop,#wsiRecord.is-recording .wsi-mic { display:none; }
#wsiRecord.is-recording .wsi-stop { display:block; fill:currentColor; }
.wsi-intents { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.wsi-intents button { padding:6px 11px; border:1px solid var(--line,#31577d); border-radius:10px; background:transparent; color:inherit; font-weight:650; }
.wsi-intents button[aria-pressed=true] { border-color:#64baff; background:#164775; color:#fff; }
#wsiClear { margin-inline-start:auto; }

.wsi-heading>div { min-width:0; flex:1; }
.wsi-heading picture { flex:none; }
#wsiClear { flex:none; margin:0; padding:6px 10px; border:1px solid var(--line,#31577d); border-radius:10px; background:transparent; color:inherit; font-size:.85rem; }
.wsi-chat button:disabled { opacity:.55; cursor:default; }
.wsi-turns { overflow:auto; max-height:min(55svh,500px); grid-template-columns:minmax(0,1fr); scrollbar-width:thin; }
.wsi-turns:empty { display:none; }
.wsi-turn { margin:0 0 10px; min-width:0; }
.wsi-turn-user { background:var(--panel-2,#152c4c); }
.wsi-form textarea,.wsi-turn textarea { min-width:0; font-size:16px; box-sizing:border-box; }
#wsiStatus { margin:8px 0 0; font-size:.86rem; overflow-wrap:anywhere; }
#wsiSend { min-width:68px; }
@media (max-width:600px) {
  .wsi-chat { margin-bottom:18px; border-radius:16px; }
  .wsi-heading { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 10px; }
  .wsi-heading img { width:40px; height:40px; }
  #wsiClear { grid-column:2; justify-self:end; }
  .wsi-intents { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .wsi-intents button { padding-inline:6px; overflow-wrap:anywhere; font-size:.85rem; }
  .wsi-form { padding:8px; }
  .wsi-turns { max-height:min(48svh,400px); }
}
@media (max-width:360px) {
  #view-callouts .callout-toolbar { grid-template-columns:minmax(0,1fr); }
}
