* { box-sizing: border-box; }
:root { color-scheme: dark; --bg: #090b0d; --panel: #0d1013; --card: #12161a; --subtle: #161b1f; --line: #2a3238; --text: #f4f5f5; --muted: #a5afb5; --green: #37e3a5; --red: #ef6a6a; --amber: #f0b94d; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13px/1.5 Inter, "Segoe UI", system-ui, sans-serif; }
body.light { color-scheme: light; --bg: #edf1f3; --panel: #fafcfd; --card: #fff; --subtle: #f0f4f6; --line: #c9d3d9; --text: #15232c; --muted: #536773; --green: #08734f; --red: #b52b38; --amber: #805500; }
[hidden] { display: none !important; }
button, select { font: inherit; color: var(--text); background: #1a2025; border: 1px solid #313a40; border-radius: 7px; padding: 9px 14px; cursor: pointer; }
body.light button, body.light select { background: #eef3f6; border-color: var(--line); }
button:hover:not(:disabled) { border-color: #6c7b85; background: #252e35; }
body.light button:hover:not(:disabled) { background: #dce6ed; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, select:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid #08b9f2; outline-offset: 3px; }
button.primary { color: var(--green); border-color: var(--green); background: #11231d; font-weight: 700; min-width: 130px; }
body.light button.primary { background: #e6f7ee; }
button.danger { color: var(--red); border-color: var(--red); }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 21px; line-height: 1.3; }
h3 { font-size: 15px; font-weight: 600; }
small { font-size: 11px; color: var(--muted); }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.muted { color: var(--muted); }
.green { color: var(--green); }
.red { color: var(--red); }
.amber { color: var(--amber); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.demo-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 18px; background: #17232c; border-bottom: 1px solid #354653; color: #d8e7f1; }
.demo-toolbar > div:first-child { display: flex; align-items: center; gap: 12px; font-size: 12px; flex-wrap: wrap; }
.demo-badge { color: #82d7f4; font-size: 10px; letter-spacing: 1.6px; border: 1px solid #3b6374; border-radius: 4px; padding: 4px 7px; }
.demo-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-toolbar button, .demo-guide button { font-size: 11px; padding: 6px 9px; color: #dbe9f0; background: #20313e; border-color: #496171; }
body.light .demo-toolbar button, body.light .demo-guide button { color: #dbe9f0; background: #20313e; border-color: #496171; }
.demo-guide { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: #102c37; border-bottom: 1px solid #2e7187; padding: 14px 20px; color: #d8f1fa; }
.demo-guide strong { color: #83dcf8; }
.demo-guide p { font-size: 12px; margin-top: 4px; }
.access-screen { min-height: 805px; padding: 70px 48px; display: grid; grid-template-columns: 1fr 430px; gap: 64px; align-content: center; max-width: 1070px; margin: auto; }
body:has(.access-screen:not([hidden])) { background: linear-gradient(120deg, #07111b, #112b3d 52%, #090e14); }
.access-brand { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; color: #f3f8fb; }
.access-kicker { letter-spacing: 3px; font-size: 12px; color: #78cbe4; }
.access-brand h1 { font-size: 46px; line-height: 1.12; letter-spacing: -1.3px; }
.access-brand > p:not(.access-kicker) { color: #9fb0bc; font-size: 16px; max-width: 350px; line-height: 25px; }
.access-rule { width: 48px; height: 3px; background: #08b9f2; border-radius: 2px; }
.access-card { padding: 36px; border-radius: 20px; background: #101b25; border: 1px solid #263d4e; box-shadow: 0 18px 50px #0006; display: flex; flex-direction: column; gap: 22px; color: #f3f8fb; }
.access-card h2 { font-size: 26px; }
.access-card > p:not(.access-kicker) { color: #afbeca; font-size: 15px; }
.access-card .access-message { font-size: 13px !important; color: #a6c5d4 !important; }
.access-card small { color: #91a6b6; line-height: 20px; }
button.login-button { background: #08b9f2; color: #03141c; font-weight: 600; min-height: 52px; border: 0; border-radius: 10px; }
body.light button.login-button { background: #08b9f2; color: #03141c; }
button.login-button:hover { background: #55cffa; color: #03141c; }
.appearance-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #afbeca; }
.access-card select { background: #1a2025 !important; color: #f4f5f5 !important; }
.player { display: grid; grid-template-columns: 230px minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 930px; }
.player-top { grid-column: 1 / -1; background: var(--panel); border-bottom: 1px solid var(--line); padding: 12px 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; }
.player-brand { display: flex; gap: 12px; align-items: center; }
.player-brand strong { font-size: 24px; display: block; }
.player-brand small { display: block; }
.account-pills { display: flex; gap: 8px; align-items: stretch; }
.account-pills > div, .account-pills > button { min-width: 112px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); text-align: left; }
.account-pills small, .account-pills strong { display: block; }
.account-pills .connection-pill { border-color: #276b56; }
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.metrics > div { border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 10px 12px; }
.metrics small { display: block; margin-bottom: 3px; }
.metrics strong { font-size: 21px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.top-metrics { grid-column: 1 / -1; }
.top-metrics strong { font-size: 18px; }
.sidebar { background: var(--panel); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; }
.sidebar-label { display: block; margin: 0 4px 8px; font-size: 10px; letter-spacing: .7px; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav button { text-align: left; background: transparent; border-color: transparent; padding: 10px 12px; }
.sidebar nav button[aria-current] { background: #2a3035; border-color: #596169; color: #f4f5f5; }
body.light .sidebar nav button[aria-current] { background: #e0e8ee; color: var(--text); }
.session-card { background: #12231f; border: 1px solid #26473c; padding: 12px; border-radius: 10px; }
.session-card small { display: block; color: #a7c1b8; font-size: 10px; }
.session-card strong { display: block; font-size: 16px; color: #bde8d8; margin: 4px 0; }
.sidebar-inventory { border-top: 1px solid var(--line); padding-top: 14px; }
.sidebar-inventory .muted { font-size: 12px; padding: 10px 4px 18px; }
.inventory-card { display: block; width: 100%; text-align: left; padding: 10px; margin-bottom: 8px; background: var(--card); }
.inventory-card[aria-pressed="true"] { border-color: var(--green); }
.inventory-card strong, .inventory-card small { display: block; }
.inventory-card small { margin-top: 5px; }
.add-button { width: 100%; font-size: 12px; }
.sidebar-footer { margin: auto 4px 0; padding-top: 30px; color: var(--muted); }
.sidebar-footer strong { display: block; font-size: 16px; }
.sidebar-footer small { font-size: 9px; }
.page-content { min-width: 0; padding: 14px; }
[data-panel="dashboard"] { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 14px; align-items: start; }
.dashboard-main { min-width: 0; display: grid; gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 16px; min-width: 0; }
.card h3 { margin-bottom: 10px; }
.live-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #334039; border-radius: 11px; overflow: hidden; min-height: 372px; }
.live-globe { background: linear-gradient(#090b0d80, #090b0dc9), url('phoenix-live-globe.png') center / cover; padding: 22px 18px; display: flex; flex-direction: column; color: #fafafa; min-width: 0; }
.live-globe h2 { font-size: 24px; }
.live-globe > p { color: #b5cfc5; margin-top: 7px; }
.wave-box { margin-top: auto; padding: 10px; border: 1px solid #31413b; border-radius: 12px; background: #10161aad; }
.wave-box > div { display: flex; justify-content: space-between; gap: 8px; }
.wave-box small { color: #a4b9b0; font-size: 9px; }
.wave-box b { font-size: 9px; color: #37e3a5; }
canvas { width: 100%; height: 72px; display: block; }
.analysis { padding: 17px 16px; border-left: 1px solid var(--line); background: var(--panel); min-width: 0; }
.section-title { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title h3 { margin: 0; }
.analysis .section-title { gap: 5px; margin-bottom: 0; }
.analysis .section-title h3 { margin-right: auto; }
.tag { display: inline-block; background: var(--subtle); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; font-size: 10px; white-space: nowrap; }
dl { margin: 12px 0; }
dl > div { display: flex; gap: 12px; justify-content: space-between; margin: 7px 0; font-size: 12px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }
.flow { background: var(--subtle); border: 1px solid var(--line); padding: 8px 10px; border-radius: 8px; }
.flow > div { font-size: 11px; }
.evaluation { padding: 10px 12px; background: var(--subtle); border: 1px solid var(--line); border-radius: 8px; }
.evaluation strong { display: block; font-size: 17px; margin: 3px 0; }
.evaluation p { font-size: 11px; color: var(--muted); }
.mini-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.mini-metrics > div { background: var(--subtle); padding: 6px 8px; border-radius: 7px; border: 1px solid var(--line); }
.mini-metrics small, .mini-metrics b { display: block; font-size: 10px; }
.strategy-control .section-title > div:last-child { text-align: right; flex-shrink: 0; }
.strategy-control small, .strategy-control strong { display: block; }
.strategy-control p { margin-top: 6px; font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.control-buttons { display: flex; gap: 10px; align-items: center; }
.control-buttons p { margin: 0; font-size: 11px; color: var(--muted); }
.right-panel { display: grid; gap: 12px; }
.right-panel p { font-size: 12px; margin-top: 8px; }
.right-panel button { width: 100%; margin-top: 6px; font-size: 12px; }
.activity { padding: 0; overflow: hidden; }
.activity .section-title { padding: 14px 16px; margin: 0; flex-wrap: wrap; }
.activity .section-title > small { font-size: 9px; }
.table-scroll { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; text-align: left; width: 100%; font-size: 11px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); background: var(--subtle); font-weight: 500; white-space: nowrap; }
td { min-width: 75px; }
td.empty { padding: 28px 16px; color: var(--muted); text-align: center; }
tr:last-child td { border-bottom: 0; }
.wide-page { padding: 22px; }
.wide-page > .metrics { margin: 20px 0; }
.wide-page > .section-title h2 { font-size: 27px; }
.wide-page .section-title p { margin-top: 5px; }
.wide-page > .card { margin-bottom: 16px; }
.filters { display: flex; align-items: center; gap: 10px; }
.filters label { display: grid; gap: 4px; font-size: 11px; color: var(--muted); }
.filters select { min-width: 125px; }
.library-card { margin-top: 14px; }
.library-card h3 { font-size: 20px; margin: 0; }
.library-card > p { color: var(--muted); margin: 12px 0; }
.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.rule-grid > div { background: var(--subtle); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.rule-grid strong { display: block; margin-bottom: 7px; }
.rule-grid p { font-size: 12px; color: var(--muted); }
.library-actions { display: flex; gap: 8px; flex-wrap: wrap; }
dialog { color: var(--text); background: var(--card); border: 1px solid #486170; border-radius: 16px; width: min(600px, calc(100vw - 28px)); max-height: calc(100vh - 32px); padding: 24px; }
dialog::backdrop { background: #000b; }
.dialog-header { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding-bottom: 18px; }
.dialog-header h2 { font-size: 22px; }
.dialog-header > button { padding: 5px 9px; font-size: 11px; }
[data-dialog-content] > p { color: var(--muted); margin-bottom: 16px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.example-field { display: grid; gap: 6px; margin: 16px 0; color: var(--muted); font-size: 12px; }
.example-field input { background: var(--subtle); color: var(--text); border: 1px solid var(--line); border-radius: 7px; padding: 12px; font: inherit; width: 100%; }
.example-notice { padding: 12px; background: var(--subtle); border: 1px solid var(--line); border-radius: 8px; margin: 14px 0; color: var(--muted); font-size: 12px; }
.capsule-choice { display: block; width: 100%; text-align: left; padding: 14px; margin: 10px 0; }
.capsule-choice strong, .capsule-choice small { display: block; }
.capsule-choice small { margin-top: 4px; }
.setting-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 16px 0; }
.no-script { padding: 24px; }
.journey-welcome { padding: 24px 30px; background: var(--card); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.journey-welcome h2 { font-size: 25px; margin: 6px 0; }
.journey-welcome p:not(.access-kicker) { color: var(--muted); max-width: 640px; }
.journey-welcome > div:last-child { display: grid; gap: 8px; flex-shrink: 0; }
.journey-tabs { display: flex; gap: 10px; padding: 10px 18px; align-items: center; border-bottom: 1px solid var(--line); background: var(--panel); }
.journey-tabs button { background: transparent; border-color: transparent; padding: 7px 12px; }
.journey-tabs button[aria-current="step"] { border-color: #08b9f2; color: #70d6f5; background: #112733; }
.journey-tabs > span { color: var(--muted); }
.journey-session { margin-left: auto; font-size: 11px; }
.creator-screen { padding: 28px; max-width: 1320px; margin: auto; }
.creator-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.creator-header h1 { font-size: 28px; margin: 6px 0; }
.creator-header p:last-child { color: var(--muted); }
.creator-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 20px; align-items: start; }
.creator-conversation { border: 1px solid var(--line); border-radius: 14px; background: var(--card); min-width: 0; overflow: hidden; }
.creator-conversation > header { display: flex; gap: 12px; padding: 18px; align-items: center; border-bottom: 1px solid var(--line); background: var(--panel); }
.creator-conversation > header small { display: block; font-size: 10px; }
.creator-conversation > header .tag { margin-left: auto; }
.creator-messages { padding: 22px; display: grid; gap: 16px; }
.chat-bubble { max-width: 91%; border-radius: 10px; padding: 14px 16px; background: var(--subtle); border: 1px solid var(--line); }
.chat-bubble small { font-size: 9px; letter-spacing: .8px; display: block; margin-bottom: 7px; }
.chat-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-bubble.user { justify-self: end; background: #123044; border-color: #245675; color: #e0f3ff; }
.chat-bubble.user small { color: #9bc7e4; }
.creator-input { border-top: 1px solid var(--line); padding: 20px; background: var(--panel); }
.creator-options { display: grid; gap: 9px; }
.creator-options > button { text-align: left; background: var(--card); padding: 14px 16px; border-radius: 9px; }
.creator-options strong, .creator-options small { display: block; }
.creator-options > button:hover { border-color: #08b9f2; }
.creator-options strong { font-size: 14px; }
.creator-options small { margin-top: 4px; }
.creator-composer { display: grid; gap: 8px; padding-top: 20px; }
.creator-composer label { font-size: 11px; color: var(--muted); }
.creator-composer textarea, .creator-review > input { width: 100%; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font: inherit; resize: vertical; }
.creator-composer button { justify-self: end; }
.creator-summary { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 20px; }
.creator-summary h2 { font-size: 19px; margin: 9px 0 18px; }
.creator-summary dl > div { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); }
.creator-summary dd { text-align: left; margin-top: 4px; overflow-wrap: anywhere; }
.creator-back { margin-top: 16px; font-size: 11px; }
.creator-review > label:first-child { display: block; margin-bottom: 8px; }
.creator-review .rule-grid { grid-template-columns: 1fr; }
.creator-review .rule-grid > div { padding: 10px 12px; }
.creator-review .muted { font-size: 11px; margin: 12px 0; }
.review-check { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #446378; border-radius: 9px; padding: 14px; background: var(--card); cursor: pointer; }
.review-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: #08b9f2; }
.capsule-ready { padding: 24px; border: 1px solid #287456; border-radius: 12px; background: #0d211a; color: #e0f9ef; }
.capsule-ready h2 { margin: 10px 0; overflow-wrap: anywhere; }
.ready-label { color: #6be8b8; font-size: 10px; letter-spacing: 1.6px; }
.capsule-ready > button { margin-top: 14px; margin-right: 6px; }
.virtual-file { padding: 14px; border: 1px solid #285a47; border-radius: 8px; margin-top: 18px; font-family: ui-monospace, monospace; }
.virtual-file small { display: block; margin-top: 7px; color: #a2c7b9; font-family: Inter, system-ui, sans-serif; }
.tour-layer { pointer-events: none; }
.tour-spotlight { position: fixed; z-index: 20000; border: 2px solid #65d6e8; border-radius: 14px; box-shadow: 0 0 0 500vmax #06152224, 0 0 0 4px #65d6e81a; pointer-events: none; }
.tour-card { position: fixed; z-index: 20001; pointer-events: auto; padding: 18px; border: 1px solid #b4dce5; border-radius: 22px 22px 22px 6px; background: #f0faff; box-shadow: 0 8px 32px #001d3438; color: #173546; }
.tour-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tour-companion { display: flex; align-items: center; gap: 8px; color: #27617a; font-size: 12px; font-weight: 600; }
.tour-companion img { border-radius: 50%; background: #071923; }
.tour-counter { font-size: 10px; color: #547182; font-weight: 600; margin-top: 12px; }
.tour-card-top button { color: #456573; background: transparent; border: 0; padding: 4px; font-size: 10px; }
.tour-card h2 { font-size: 19px; line-height: 1.3; margin: 12px 0 8px; color: #173546; }
.tour-card p { color: #385c6b; font-size: 12px; line-height: 1.6; }
.tour-card progress { width: 100%; height: 4px; accent-color: #159caf; margin-top: 7px; display: block; border: 0; border-radius: 4px; overflow: hidden; }
.tour-card progress::-webkit-progress-bar { background: #d7e8ef; }
.tour-card progress::-webkit-progress-value { background: #159caf; }
.tour-hint { font-size: 11px; color: #397285; padding-top: 9px; margin-top: 8px; }
.tour-find { display: block; margin-top: 10px; padding: 3px 0; border: 0; background: transparent; color: #186b85; font-size: 11px; text-decoration: underline; }
.tour-next, body.light .tour-next { width: 100%; background: #126d82; color: white; border-color: #126d82; margin-top: 13px; padding: 10px; border-radius: 12px; }
body.light .tour-find { background: transparent; color: #186b85; border: 0; }
body.light .tour-card-top button { background: transparent; border: 0; }
.tour-card .tour-find:hover, .tour-card .tour-card-top button:hover { background: #dceff4; color: #174b60; }
.tour-card .tour-next:hover { background: #0c596b; color: #fff; border-color: #0c596b; }
.tour-layer.is-complete .tour-card { border-color: #69bea1; background: #f0fff8; }
.launch-status { display: flex; align-items: center; gap: 14px; border: 1px solid #346774; border-radius: 14px; padding: 18px; background: var(--card); }
.launch-status p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.launch-status > .tag { margin-left: auto; }
.launch-spinner { width: 23px; height: 23px; border: 3px solid #2b5968; border-top-color: #65d6e8; border-radius: 50%; flex-shrink: 0; animation: launch-spin 1s linear infinite; }
@keyframes launch-spin { to { transform: rotate(360deg); } }
.creator-composer summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.creator-composer[open] > *:not(summary) { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .launch-spinner { animation: none; } }
@media (max-width: 800px) { .journey-welcome { padding: 20px; display: grid; gap: 16px; } .journey-welcome h2 { font-size: 23px; } .journey-welcome > div:last-child { display: flex; flex-wrap: wrap; } .journey-welcome button { font-size: 12px; } .journey-tabs { flex-wrap: wrap; padding: 8px; gap: 4px; } .journey-tabs button { padding: 7px 8px; font-size: 11px; } .journey-session { display: none; } .creator-screen { padding: 18px 10px; } .creator-header { align-items: flex-start; gap: 10px; flex-direction: column; } .creator-header h1 { font-size: 25px; } .creator-layout { grid-template-columns: minmax(0,1fr); gap: 14px; } .creator-summary { order: 0; padding: 14px; } .creator-summary h2 { font-size: 16px; margin: 6px 0; } .creator-summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin: 0; } .creator-summary .example-notice { font-size: 10px; padding: 8px; margin-bottom: 0; } .creator-summary dl > div { font-size: 11px; padding: 5px 0; margin: 2px 0; } .creator-conversation > header, .creator-messages, .creator-input { padding: 14px; } .chat-bubble { max-width: 100%; padding: 12px; } .creator-options button { padding: 12px; } .capsule-ready { padding: 18px; } .tour-card { padding: 14px; } .tour-card h2 { font-size: 17px; margin: 10px 0 7px; } .tour-card p { font-size: 11px; } .tour-hint { font-size: 10px; } }
@media (max-width: 800px) { .demo-toolbar { align-items: flex-start; flex-direction: column; padding: 12px; } .demo-toolbar > div:first-child span { font-size: 11px; } .access-screen { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 28px 18px; min-height: 0; max-width: 520px; } .access-brand { gap: 12px; } .access-brand img { width: 54px; height: 54px; } .access-brand h1 { font-size: 32px; } .access-brand > p:not(.access-kicker), .access-rule { display: none; } .access-card { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.player-shell { width: 100%; min-width: 0; }
.player-touch-controls { display: none; }
.tour-layer.is-inline .tour-card { position: relative; left: auto !important; top: auto !important; width: auto !important; margin: 12px; }
.player-view-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.player-view-tools p { color: var(--muted); font-size: 11px; }
.player-view-tools button { flex-shrink: 0; min-height: 40px; font-size: 12px; }
.player-viewport { width: 100%; min-width: 0; overflow: auto; overscroll-behavior-inline: contain; }
#workspace { width: 1280px; }
.creator-screen, .creator-conversation, .creator-summary, .access-card { min-width: 0; }
.creator-options button, .capsule-ready, .virtual-file { overflow-wrap: anywhere; }
.capsule-ready button { max-width: 100%; white-space: normal; }
@media (max-width: 800px) { .creator-header { margin-bottom: 14px; } .journey-welcome { padding: 16px; } .player-view-tools { padding: 10px; } .player-view-tools p { font-size: 10px; } .player-view-tools button { padding: 8px 10px; } }
@media (max-width: 960px) { .player-view-tools { flex-wrap: wrap; gap: 8px; } .player-view-tools > p { flex: 1 1 160px; } .player-touch-controls { display: flex; gap: 8px; order: 1; flex-basis: 100%; } .player-touch-controls button { flex: 1; min-height: 44px; min-width: 0; } }
