:root {
  color-scheme: dark;
  --void: #020303;
  --black: #060707;
  --panel: #0b1116;
  --panel-glass: rgba(10, 16, 21, .88);
  --panel-warm: rgba(36, 21, 8, .62);
  --line: #3f300c;
  --line-dim: rgba(255, 177, 0, .16);
  --text: #f4f1eb;
  --muted: #989b9b;
  --amber: #ffb000;
  --amber-pale: #ffdc78;
  --orange: #ff5a00;
  --danger: #ff5b47;
  --shadow: 0 26px 90px rgba(0, 0, 0, .62);
  font-family: "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--void); overscroll-behavior-x: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; touch-action: manipulation; }
img { max-width: 100%; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scanlines { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .055; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, #fff 4px); mix-blend-mode: overlay; }
.site-shell { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 16%, rgba(255, 157, 0, .06), transparent 27%), var(--void); }

.topbar { position: relative; z-index: 20; height: 90px; padding-right: max(clamp(18px, 3.7vw, 60px), env(safe-area-inset-right)); padding-left: max(clamp(18px, 3.7vw, 60px), env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-dim); background: rgba(0, 0, 0, .9); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; color: var(--text); text-decoration: none; letter-spacing: .08em; }
.brand strong { font: 500 22px "DM Mono", monospace; }
.brand-core { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--amber); box-shadow: inset 0 0 16px rgba(255, 176, 0, .08); }
.brand-core i { width: 7px; height: 7px; display: block; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.topnav { display: flex; align-items: center; gap: 42px; }
.topnav a, .topnav button { position: relative; border: 0; padding: 10px 0; background: none; color: #d6d3cd; text-decoration: none; font: 500 12px "DM Mono", monospace; letter-spacing: .08em; }
.topnav a span { color: var(--orange); }
.topnav .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.header-status { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header-status > span { color: #cac7c0; font: 500 11px "DM Mono"; letter-spacing: .08em; }

.primary-button, .secondary-button, .danger-button, .upload-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid var(--line); background: rgba(9, 14, 18, .92); color: var(--text); font-weight: 600; text-decoration: none; transition: .2s ease; }
.primary-button { position: relative; border-left: 4px solid var(--amber); border-right-color: var(--amber); box-shadow: inset 0 0 22px rgba(255, 177, 0, .04); }
.primary-button::after { content: ""; position: absolute; right: -1px; top: 0; width: 3px; height: 100%; background: var(--amber); box-shadow: 0 0 13px var(--amber); }
.primary-button:hover { background: rgba(255, 176, 0, .12); border-color: var(--amber); color: var(--amber-pale); }
.secondary-button:hover { border-color: var(--amber); color: var(--amber); }
.danger-button { background: rgba(255, 91, 71, .13); border-color: var(--danger); color: #ffc6bf; }
.danger-button:hover { background: rgba(255, 91, 71, .23); }
.initialize-button { min-width: 174px; font: 500 11px "DM Mono"; letter-spacing: .05em; }

.hero { position: relative; width: min(100%, 1420px); min-height: 790px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr); align-items: center; overflow: hidden; isolation: isolate; border-right: 1px solid var(--line-dim); border-bottom: 1px solid var(--line-dim); border-left: 1px solid var(--line-dim); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -4; background: radial-gradient(circle at 46% 49%, rgba(255, 171, 0, .28) 0, rgba(255, 106, 0, .1) 16%, transparent 39%), linear-gradient(24deg, rgba(82, 31, 4, .78) 0 14%, rgba(29, 17, 6, .5) 14.1% 26%, transparent 26.1%); }
.hero::after { content: ""; position: absolute; z-index: -3; width: 2px; height: 122%; left: 47%; top: -10%; background: linear-gradient(transparent, rgba(255,255,255,.22), var(--amber-pale), rgba(255,255,255,.2), transparent); box-shadow: 0 0 12px rgba(255, 188, 61, .75), 0 0 80px rgba(255, 138, 0, .45); transform: rotate(.2deg); }
.hero-grid-lines { position: absolute; inset: 0; z-index: -2; opacity: .45; background: linear-gradient(42deg, transparent 49.92%, rgba(255,165,0,.10) 50%, transparent 50.08%), linear-gradient(132deg, transparent 49.92%, rgba(255,165,0,.06) 50%, transparent 50.08%); background-size: 720px 650px; }
.hero-copy { position: relative; z-index: 5; max-width: 790px; padding: 84px 0 78px clamp(20px, 5.3vw, 86px); }
.system-update { width: max-content; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 8px 14px; background: rgba(54, 33, 8, .7); border: 1px solid var(--line); font: 500 11px "DM Mono"; letter-spacing: .05em; }
.system-update b { padding: 4px 9px; color: #fff; background: #9a3c0b; border: 1px solid #dc661f; }
.system-update span { color: #e7b62e; }
.signal-bars { height: 9px; display: flex; gap: 3px; align-items: end; margin-bottom: 24px; }
.signal-bars i { width: 5px; background: var(--amber); box-shadow: 0 0 6px rgba(255,176,0,.5); }
.signal-bars i:nth-child(1) { height: 4px; }.signal-bars i:nth-child(2) { height: 6px; }.signal-bars i:nth-child(3) { height: 8px; }.signal-bars i:nth-child(4) { height: 5px; background: #755206; }
.hero-kicker, .eyebrow { color: var(--amber); font: 500 10px "DM Mono", monospace; letter-spacing: .17em; }
.hero h1 { margin: 28px 0 24px; font-size: clamp(52px, 5.8vw, 90px); line-height: .94; letter-spacing: -.065em; font-weight: 500; white-space: nowrap; }
.hero h1 span { color: var(--amber-pale); text-shadow: 0 0 18px rgba(255, 185, 30, .19); }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero > .hero-copy > p { max-width: 650px; margin: 0 0 34px; color: #dad6ce; font-size: 14px; line-height: 1.8; text-transform: uppercase; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 30px; }
.engage-button { min-width: 246px; justify-content: space-between; }
.hero-actions .secondary-button { min-width: 178px; font: 500 12px "DM Mono"; letter-spacing: .04em; }
.search-wrap { width: min(600px, 100%); min-height: 58px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 0 17px; background: rgba(7, 10, 12, .86); border: 1px solid #49340b; box-shadow: 0 18px 60px rgba(0, 0, 0, .45), inset 0 0 32px rgba(255, 154, 0, .025); }
.search-wrap:focus-within { border-color: var(--amber); box-shadow: 0 0 25px rgba(255,176,0,.09); }
.search-wrap svg { width: 19px; fill: none; stroke: var(--amber); stroke-width: 1.8; }
.search-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-wrap input::placeholder { color: #6f706f; }
.search-wrap kbd { padding: 5px 7px; border: 1px solid #39330f; color: #77766f; font: 400 9px "DM Mono"; }

.hero-radar { --radar-x: 55%; --radar-y: 51%; position: relative; align-self: stretch; min-height: 700px; overflow: hidden; }
.radar-orbit { position: absolute; border: 1px solid rgba(255, 174, 0, .22); border-radius: 50%; }
.radar-orbit-outer { width: 730px; aspect-ratio: 1; left: var(--radar-x); top: var(--radar-y); transform: translate(-50%, -50%); animation: orbit-clockwise 34s linear infinite; }
.radar-orbit-inner { width: 525px; aspect-ratio: 1; left: var(--radar-x); top: var(--radar-y); border-style: dashed; transform: translate(-50%, -50%); animation: orbit-counter 23s linear infinite; }
.radar-orbit::before, .radar-orbit::after { content: ""; position: absolute; background: rgba(255, 176, 0, .12); }
.radar-orbit::before { width: 120%; height: 1px; left: -10%; top: 50%; transform: rotate(-35deg); }
.radar-orbit::after { width: 1px; height: 120%; top: -10%; left: 50%; transform: rotate(17deg); }
.radar-sweep { position: absolute; z-index: 1; width: 620px; aspect-ratio: 1; left: var(--radar-x); top: var(--radar-y); border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 12deg, transparent 0deg 286deg, rgba(255, 125, 0, .015) 300deg, rgba(255, 157, 0, .19) 342deg, rgba(255, 205, 80, .03) 358deg, transparent 360deg); -webkit-mask: radial-gradient(circle, transparent 0 9%, #000 10% 74%, transparent 75%); mask: radial-gradient(circle, transparent 0 9%, #000 10% 74%, transparent 75%); animation: sweep-spin 5.8s linear infinite; }
.radar-beam { position: absolute; z-index: 2; width: 315px; height: 2px; left: var(--radar-x); top: var(--radar-y); background: linear-gradient(90deg, var(--amber-pale), var(--amber) 16%, rgba(255,176,0,.14) 70%, transparent); box-shadow: 0 0 8px var(--amber), 0 0 24px rgba(255,122,0,.65); transform-origin: 0 50%; animation: radar-arm 5.8s linear infinite; }
.radar-beam::after { content: ""; position: absolute; right: 11%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--amber-pale); box-shadow: 0 0 12px var(--amber), 0 0 28px var(--orange); transform: translateY(-50%); }
.radar-origin { position: absolute; z-index: 4; width: 120px; height: 120px; left: var(--radar-x); top: var(--radar-y); display: grid; place-items: center; border: 2px solid var(--amber); border-radius: 50%; background: radial-gradient(circle, rgba(255,176,0,.13), rgba(8,13,17,.85) 58%); box-shadow: 0 0 40px rgba(255,176,0,.12); transform: translate(-50%, -50%); }
.radar-origin::after { content: ""; position: absolute; inset: -13px; border: 1px solid rgba(255,176,0,.1); border-radius: 50%; animation: pulse-ring 2.8s ease-out infinite; }
.radar-origin i { width: 38px; height: 38px; display: block; background: var(--orange); box-shadow: 0 0 18px var(--orange); transform: rotate(45deg); }
.radar-node { position: absolute; z-index: 4; min-width: 120px; min-height: 82px; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 11px; background: #0c151d; border: 1px solid #58420b; color: var(--amber); font: 500 9px "DM Mono"; box-shadow: 0 13px 35px rgba(0,0,0,.5); }
.radar-node i { width: 20px; height: 20px; background: var(--orange); box-shadow: 0 0 13px var(--orange); animation: node-signal 2.1s ease-in-out infinite; }
.radar-node span { font-size: 26px; line-height: 1; }
.node-one { left: 61%; top: 25%; animation: node-float 4.8s ease-in-out infinite; }.node-two { right: 5%; top: 63%; animation: node-float 5.6s ease-in-out -1.4s infinite; }
.data-panel { position: absolute; z-index: 4; right: 10%; bottom: 10%; width: 370px; min-height: 92px; display: flex; align-items: center; gap: 20px; padding: 16px 22px; background: #0c151d; border: 1px solid #58420b; }
.data-panel > i { width: 54px; height: 52px; border: 1px solid #3d2f0b; background: linear-gradient(var(--amber),var(--amber)) center/30px 2px no-repeat, #050606; }
.data-panel div { display: flex; flex-direction: column; gap: 7px; font: 500 12px "DM Mono"; }
.data-panel b { color: var(--amber); }.data-panel span { color: #e3dfd6; }
.crosshair { position: absolute; color: rgba(255, 177, 0, .45); font: 400 22px "DM Mono"; }.crosshair-one { left: 27%; top: 32%; }.crosshair-two { left: 80%; top: 48%; }

.library { width: min(100%, 1420px); margin: 0 auto; padding: 98px 5vw 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid var(--line-dim); }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; font-weight: 500; }
.scene-counter { display: flex; align-items: end; gap: 14px; }.scene-counter span { color: var(--muted); font: 500 9px "DM Mono"; letter-spacing: .12em; }.scene-counter strong { color: var(--amber); font: 500 38px "DM Mono"; line-height: .8; }
.console-strip { min-height: 48px; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(63,38,6,.65), transparent 56%); color: #777772; font: 500 9px "DM Mono"; letter-spacing: .12em; }
.console-strip div { display: flex; align-items: center; gap: 9px; color: var(--amber); }.console-strip i { width: 7px; height: 7px; background: var(--orange); box-shadow: 0 0 7px var(--orange); }
.filter-panel { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)) auto; margin-top: 12px; border: 1px solid var(--line-dim); background: rgba(7, 10, 12, .74); }
.filter-panel label { padding: 16px 17px; border-right: 1px solid var(--line-dim); }
.filter-panel label > span { display: block; margin-bottom: 8px; color: #7c7d79; font: 500 9px "DM Mono"; letter-spacing: .05em; }
.filter-panel select { width: 100%; border: 0; outline: 0; padding-right: 18px; background: transparent; color: #ebe7df; font-size: 12px; }
.filter-panel select option { background: #0c1115; color: var(--text); }
.reset-button { border: 0; border-left: 1px solid var(--line-dim); padding: 0 20px; background: transparent; color: var(--amber); font: 500 10px "DM Mono"; }
.reset-button:hover { background: rgba(255,176,0,.08); }
.active-filter-row { min-height: 50px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-chip { padding: 5px 9px; border: 1px solid var(--line); background: rgba(255,176,0,.055); color: var(--amber-pale); font: 400 9px "DM Mono"; }
.filter-chip:hover { border-color: var(--amber); }

.prompt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.prompt-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #263039; background: linear-gradient(150deg, rgba(13,20,26,.97), rgba(4,6,7,.98)); box-shadow: 0 22px 60px rgba(0,0,0,.35); transition: transform .2s ease, border-color .2s ease; }
.prompt-card::before { content: ""; position: absolute; z-index: 4; top: -1px; left: -1px; width: 34px; height: 3px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.prompt-card::after { content: ""; position: absolute; z-index: 4; right: 0; bottom: 0; border-style: solid; border-width: 0 0 22px 22px; border-color: transparent transparent var(--amber) transparent; opacity: .65; }
.prompt-card:hover { transform: translateY(-4px); border-color: #6a4c0b; }
.card-image { position: relative; height: 228px; overflow: hidden; background: #10161a; }
.card-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #081015 0, transparent 48%), linear-gradient(90deg, rgba(255,106,0,.14), transparent 32%); box-shadow: inset 0 0 40px rgba(0,0,0,.5); }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.55) contrast(1.16) brightness(.78) sepia(.16); transition: .4s ease; }
.prompt-card:hover .card-image img { transform: scale(1.025); filter: saturate(.82) contrast(1.1) brightness(.86); }
.image-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,176,0,.25); font: 500 11px "DM Mono"; letter-spacing: .16em; background: radial-gradient(circle at 68% 33%, rgba(255,100,0,.23), transparent 23%), linear-gradient(145deg,#11171b,#050606); }
.card-index, .card-ratio { position: absolute; z-index: 2; font: 500 9px "DM Mono"; color: var(--amber); background: rgba(3,6,7,.82); border: 1px solid var(--line); padding: 6px 8px; }
.card-index { left: 14px; top: 14px; }.card-ratio { right: 14px; bottom: 14px; }
.card-content { padding: 20px; }
.card-meta { display: flex; gap: 7px; color: var(--amber); font: 500 9px "DM Mono"; letter-spacing: .08em; }
.card-meta span + span::before { content: "/"; margin-right: 7px; color: #58440d; }
.card-content h3 { margin: 10px 0; font-size: 18px; font-weight: 600; }
.prompt-preview { min-height: 65px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #a9aaa6; font-size: 12px; line-height: 1.8; }
.tag-row { display: flex; gap: 6px; margin: 15px 0 18px; flex-wrap: wrap; }.tag { padding: 4px 7px; border: 1px solid #263038; color: #9ca2a5; font: 400 9px "DM Mono"; background: #0a0f12; }
.card-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding-top: 14px; border-top: 1px solid #222c32; }
.copy-button { min-height: 39px; border: 1px solid #75540a; border-left: 3px solid var(--amber); background: rgba(255,176,0,.085); color: var(--amber-pale); font-size: 11px; font-weight: 600; }
.copy-button:hover { background: rgba(255,176,0,.18); }
.card-icon-button { min-width: 39px; height: 39px; border: 1px solid #2a343a; background: #081015; color: #92989a; }.card-icon-button:hover { border-color: var(--amber); color: var(--amber); }.card-icon-button.delete:hover { border-color: var(--danger); color: var(--danger); }

.empty-state { padding: 100px 20px; text-align: center; border: 1px solid var(--line-dim); }.empty-frame { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--amber); font-size: 28px; }.empty-state h3 { margin: 10px 0; }.empty-state p { margin: 0 0 25px; color: var(--muted); font-size: 12px; }
footer { min-height: 128px; padding-top: 32px; padding-right: max(5vw, env(safe-area-inset-right)); padding-bottom: max(32px, env(safe-area-inset-bottom)); padding-left: max(5vw, env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line-dim); color: #747774; font-size: 11px; background: #020303; }footer p { text-align: center; }footer > span { justify-self: end; font: 400 9px "DM Mono"; letter-spacing: .1em; }

.modal-backdrop, .confirm-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 22px; background: rgba(0,0,0,.83); backdrop-filter: blur(10px); }
.editor-modal { width: min(840px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; border: 1px solid #6c4b08; background: #081015; box-shadow: var(--shadow), 0 0 60px rgba(255,130,0,.08); }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 23px 28px; border-bottom: 1px solid var(--line); background: #081015; }.modal-header h2 { margin: 6px 0 0; font-size: 23px; }.icon-button { width: 40px; height: 40px; border: 1px solid #374047; background: transparent; color: #999; font-size: 24px; }.icon-button:hover { border-color: var(--amber); color: var(--amber); }
#promptForm { padding: 26px 28px 28px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.form-grid > label { display: flex; flex-direction: column; gap: 7px; color: #aeb1ae; font-size: 11px; }.wide-field { grid-column: 1/-1; }.optional { color: #666b6c; }
.form-grid input, .form-grid textarea { width: 100%; padding: 11px 12px; border: 1px solid #2c363c; outline: 0; resize: vertical; color: var(--text); background: #040708; }.form-grid input:focus, .form-grid textarea:focus { border-color: var(--amber); box-shadow: 0 0 14px rgba(255,176,0,.07); }
.image-field { color: #aeb1ae; font-size: 11px; }.image-source-row { margin-top: 8px; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: stretch; }.image-url-label input { height: 46px; }.upload-button { border-color: #374047; background: #091015; font-size: 11px; }.upload-button input { display: none; }.text-button { border: 0; background: none; color: #999; }.danger-text { color: var(--danger); padding: 0 8px; }.image-preview { height: 170px; margin-top: 10px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #374047; color: #555d61; background: #040708; font: 500 9px "DM Mono"; letter-spacing: .12em; }.image-preview img { width: 100%; height: 100%; object-fit: cover; }.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #283238; }
.confirm-dialog { width: min(430px, 100%); padding: 30px; border: 1px solid #6c4b08; background: #081015; box-shadow: var(--shadow); }.confirm-dialog h2 { margin: 10px 0; }.confirm-dialog p { color: var(--muted); font-size: 12px; line-height: 1.7; }.confirm-dialog > div { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; opacity: 0; transform: translate(-50%,20px); padding: 11px 18px; border: 1px solid var(--amber); background: #091015; color: var(--amber-pale); font: 500 11px "DM Mono"; pointer-events: none; transition: .22s ease; box-shadow: 0 0 32px rgba(255,176,0,.13); }.toast.show { opacity: 1; transform: translate(-50%,0); }

@keyframes pulse-ring { from { transform: scale(.75); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
@keyframes sweep-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes radar-arm { from { transform: rotate(12deg); } to { transform: rotate(372deg); } }
@keyframes orbit-clockwise { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit-counter { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }
@keyframes node-signal { 0%,100% { opacity: .58; box-shadow: 0 0 7px var(--orange); } 48% { opacity: 1; box-shadow: 0 0 18px var(--orange), 0 0 34px rgba(255,90,0,.5); } }
@keyframes node-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1120px) { .topnav { gap: 22px; }.header-status > span { display:none; }.hero { grid-template-columns: 1fr .8fr; }.hero h1 { font-size: clamp(50px,6.5vw,76px); }.hero-radar { --radar-x: 45%; opacity: .72; }.data-panel { right:4%; width:310px; }.filter-panel { grid-template-columns: repeat(3,1fr); }.prompt-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 820px) { .topbar { grid-template-columns: 1fr auto; height:76px; padding:0 20px; }.topnav { display:none; }.initialize-button { min-width:0; padding:0 14px; }.hero { min-height:760px; display:block; border-right:0; border-left:0; }.hero::after { left:72%; opacity:.4; }.hero-copy { padding:84px 24px 72px; }.hero h1 { white-space:normal; font-size:clamp(48px,10.8vw,72px); }.hero-radar { --radar-x: 73%; --radar-y: 48%; position:absolute; inset:0; z-index:-1; opacity:.3; }.radar-node,.data-panel { display:none; }.library { padding:78px 20px 90px; }.filter-panel { grid-template-columns:1fr 1fr; }.filter-panel label { border-bottom:1px solid var(--line-dim); }.reset-button { min-height:62px; border-top:1px solid var(--line-dim); }.console-strip > span { display:none; } }
@media (max-width: 590px) { .brand strong { font-size:18px; }.brand-core { width:27px;height:27px; }.initialize-button b { display:none; }.hero { min-height:720px; }.hero-copy { padding-top:65px; }.system-update { font-size:9px; }.hero h1 { margin-top:24px; font-size:43px; line-height:1; }.hero > .hero-copy > p { font-size:12px; text-transform:none; }.hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.engage-button,.hero-actions .secondary-button { min-width:0; padding:0 13px; font-size:10px; }.search-wrap kbd { display:none; }.section-heading { align-items:center; }.scene-counter span { display:none; }.filter-panel { grid-template-columns:1fr; }.filter-panel label { border-right:0; }.prompt-grid { grid-template-columns:1fr; }.card-image { height:220px; }footer { grid-template-columns:1fr; gap:18px; }footer p { text-align:left; }footer > span { justify-self:start; }.form-grid { grid-template-columns:1fr; }.wide-field { grid-column:auto; }.image-source-row { grid-template-columns:1fr 1fr; }.image-url-label { grid-column:1/-1; }.modal-backdrop { padding:8px; }.modal-header,#promptForm { padding-left:18px;padding-right:18px; } }
@media (max-width: 380px) { .topbar { padding-right:max(14px,env(safe-area-inset-right)); padding-left:max(14px,env(safe-area-inset-left)); }.initialize-button { min-height:44px; padding:0 10px; font-size:10px; }.brand { gap:8px; }.brand strong { font-size:16px; }.hero-copy { padding-right:max(18px,env(safe-area-inset-right)); padding-left:max(18px,env(safe-area-inset-left)); }.system-update { gap:8px; padding:7px 8px; }.hero h1 { font-size:clamp(34px,11.5vw,41px); }.hero-actions { grid-template-columns:1fr; }.search-wrap { min-height:54px; }.library { padding-right:max(16px,env(safe-area-inset-right)); padding-left:max(16px,env(safe-area-inset-left)); }.scene-counter strong { font-size:32px; }.card-content { padding:17px; } }
@media (orientation: landscape) and (max-height: 500px) and (max-width: 900px) { .hero { min-height:620px; }.hero-copy { padding-top:48px; padding-bottom:48px; }.hero-radar { --radar-x:78%; --radar-y:48%; }.system-update { margin-bottom:12px; }.signal-bars { margin-bottom:14px; }.hero h1 { margin:18px 0; font-size:clamp(42px,8vw,60px); }.hero > .hero-copy > p { max-width:560px; margin-bottom:22px; }.hero-actions { max-width:500px; margin-bottom:20px; }.search-wrap { max-width:560px; } }
@media (hover: none) { .primary-button:hover,.secondary-button:hover,.prompt-card:hover { transform:none; }.prompt-card:hover .card-image img { transform:none; }.card-icon-button,.copy-button,.filter-chip { min-height:44px; } }
@media (prefers-contrast: more) { :root { --line-dim:rgba(255,177,0,.42); --muted:#c3c5c3; }.prompt-card,.filter-panel,.search-wrap { border-color:#8b6714; }.prompt-preview { color:#d2d4d1; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; } }
