.studio-hero-prompt { max-width: 770px; margin: 30px auto 0; padding: 18px; border: 1px solid #35465d; border-radius: 19px; background: rgba(13, 24, 40, .88); box-shadow: 0 18px 65px rgba(0, 0, 0, .2); text-align: start; }
.studio-hero-prompt:focus-within { border-color: #5d8bc6; box-shadow: 0 0 0 3px rgba(83, 174, 212, .08), 0 18px 65px rgba(0, 0, 0, .2); }
.studio-hero-prompt textarea { width: 100%; resize: vertical; min-height: 77px; border: 0; outline: 0; background: none; color: #ebf5ff; font: inherit; font-size: 15px; line-height: 1.85; }
.studio-hero-prompt textarea::placeholder { color: #97abc3; }
.studio-hero-prompt-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #263649; }
.studio-hero-prompt-footer .button { padding: 13px 20px; font-size: 12px; }
.studio-demo-pill { display: inline-block; padding: 6px 9px; border: 1px solid #4b405e; border-radius: 6px; background: #231d30; color: #c6b7e7; font-size: 9px; line-height: 1.7; }
.studio-inline-error { margin-top: 12px; padding: 11px 13px; background: #2e1923; color: #f1becd; border-radius: 8px; font-size: 12px; line-height: 1.8; }
.studio-idea-chips { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 17px auto 0; }
.studio-idea-chips button { border: 1px solid #303a4d; background: #101827; color: #c6d6e9; padding: 8px 15px; border-radius: 999px; font-size: 11px; line-height: 1.5; }
.studio-idea-chips button:hover { color: #80ece6; border-color: #3b6972; }
.studio-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #abceeb; font-size: 12px; line-height: 1.8; }
.studio-link:hover { color: #8aeeea; }
.studio-link .icon { width: 16px; height: 16px; }
.hero-actions { gap: 20px; margin-top: 22px; }
.hero-description { max-width: 680px; }
.hero-intro { margin-bottom: 21px; }
.studio-legacy-concepts { position: relative; max-width: 1120px; margin: 0 auto; }
.studio-legacy-concepts > summary { display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; color: #959ab4; list-style: none; font-size: 10px; padding: 15px; text-align: center; line-height: 1.8; }
.studio-legacy-concepts > summary::-webkit-details-marker { display: none; }
.studio-legacy-concepts > summary .icon { width: 13px; height: 13px; transform: rotate(90deg); }
.studio-legacy-concepts[open] > summary .icon { transform: rotate(-90deg); }
.studio-legacy-concepts[open] .showcase { margin-top: 15px; }
.studio-section { padding-top: 75px; background: radial-gradient(ellipse at 90% 5%, rgba(28, 144, 165, .045), transparent 55%); }
.studio-section .heading-row > p { max-width: 370px; }
.studio-workspace { border: 1px solid #33465f; border-radius: 20px; overflow: hidden; background: #101725; box-shadow: 0 24px 85px rgba(0, 0, 0, .24); }
.studio-workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 22px; border-bottom: 1px solid #2b364a; background: linear-gradient(90deg, #111a2d, #0e2029); }
.studio-workspace-brand { display: flex; align-items: center; gap: 10px; color: #d0e2f7; font-size: 13px; }
.studio-workspace-brand > .icon { color: #78dce2; }
.studio-workspace-brand strong { color: #75e1df; font-weight: 650; }
.studio-grid { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.55fr); align-items: start; }
.studio-editor-panel { padding: 23px; border-inline-end: 1px solid #2b374c; background: #111927; min-width: 0; }
.studio-preview-panel { padding: 23px; min-width: 0; background: #0c1523; }
.studio-field { min-width: 0; }
.studio-field label, .studio-history label, .studio-revision-form > label { display: block; font-size: 11px; color: #c7d6e9; margin-bottom: 8px; line-height: 1.7; }
.studio-field input, .studio-field textarea, .studio-field select, .studio-history select, .studio-revision-form input { width: 100%; min-width: 0; color: #e3edf8; background: #0a1320; border: 1px solid #34425a; border-radius: 8px; padding: 10px 11px; font: inherit; font-size: 12px; outline: none; line-height: 1.7; }
.studio-field textarea { resize: vertical; min-height: 110px; }
.studio-field textarea::placeholder, .studio-field input::placeholder, .studio-revision-form input::placeholder { color: #8d9eb8; }
.studio-field input:focus, .studio-field textarea:focus, .studio-field select:focus, .studio-history select:focus, .studio-revision-form input:focus { border-color: #5f96bd; box-shadow: 0 0 0 3px rgba(54, 175, 208, .08); }
.studio-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 17px; }
.studio-field-wide { grid-column: 1 / -1; }
.studio-field input[type=color] { height: 43px; padding: 6px; cursor: pointer; }
.studio-editor-actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-top: 18px; }
.studio-editor-actions .button { padding: 12px 17px; border-radius: 9px; font-size: 11px; gap: 9px; }
.studio-editor-actions .button .icon { width: 16px; height: 16px; }
.studio-secondary-button { border: 1px solid #3a4560; border-radius: 8px; padding: 10px 12px; background: #1a2335; color: #bed1e6; font-size: 11px; line-height: 1.6; }
.studio-secondary-button:hover { background: #25334a; }
.studio-limits { font-size: 10px; line-height: 1.9; color: #98a8bd; margin-top: 15px; }
.studio-revision-form { margin-top: 22px; padding-top: 19px; border-top: 1px solid #2a364b; }
.studio-revision-form > div { display: flex; gap: 8px; align-items: center; }
.studio-revision-form input { font-size: 11px; }
.studio-revision-form button { padding: 10px; display: flex; background: #25475b; color: #a1ebf2; border: 1px solid #3d6d81; border-radius: 8px; }
.studio-revision-form button .icon { width: 19px; height: 19px; }
.studio-history { margin-top: 17px; }
.studio-history select { font-size: 11px; }
.studio-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 57px; margin-bottom: 16px; }
.studio-preview-eyebrow { display: block; color: #9bb4cf; font-size: 9px; line-height: 1.9; margin-bottom: 6px; }
.studio-preview-header h3 { font-size: 22px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.studio-state { display: inline-block; flex-shrink: 0; font-size: 9px; padding: 6px 10px; background: #142b39; color: #8bdce0; border: 1px solid #2e5563; border-radius: 999px; line-height: 1.6; }
.studio-state[data-state=won] { background: #173a31; color: #a0e8bf; }
.studio-state[data-state=lost] { background: #402338; color: #f0bfd6; }
.studio-game-frame { display: block; width: 100%; height: 540px; background: #0e1626; border: 1px solid #364b6a; border-radius: 13px; overflow: hidden; }
.studio-game-frame:fullscreen { width: 100vw; height: 100vh; border: 0; border-radius: 0; }
.studio-play-toolbar { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.studio-toolbar-button { font-size: 10px; color: #c6d7eb; background: #152335; border: 1px solid #35475f; border-radius: 7px; padding: 8px 10px; line-height: 1.5; }
.studio-toolbar-button:hover:not(:disabled) { background: #234157; border-color: #50718a; }
.studio-toolbar-button:disabled { opacity: .4; }
.studio-export-button { color: #a2eeee; background: #13333d; border-color: #305e68; }
.studio-toolbar-spacer { flex: 1; }
.studio-interpretation { margin-top: 15px; padding: 12px 14px; background: #111e30; border: 1px solid #283b53; border-radius: 9px; color: #acc5df; font-size: 11px; line-height: 1.9; }
.studio-status { margin-top: 13px; font-size: 11px; color: #b0c0d4; line-height: 1.9; padding: 11px 13px; background: #101b2b; border: 1px solid #293a50; border-radius: 9px; }
.studio-status[data-state=error] { color: #f5c0cd; background: #2f1925; border-color: #6b3b50; }
.studio-growth-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-top: 17px; margin-top: 15px; border-top: 1px solid #29364a; }
.studio-growth-row > span { font-size: 9px; color: #99a4ba; line-height: 1.8; }
.studio-mobile-tabs { display: none; }
.studio-playground { padding-top: 50px; }
.studio-example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.studio-example-card { border: 1px solid #2f3e54; border-radius: 17px; overflow: hidden; background: #101928; transition: transform .2s, border-color .2s; }
.studio-example-card:hover { transform: translateY(-4px); border-color: #536d96; }
.studio-example-art { height: 185px; position: relative; overflow: hidden; }
.art-space { background: radial-gradient(circle at 65% 30%, #364c83, transparent 55%), #121931; }
.art-orbit { position: absolute; width: 230px; height: 75px; border: 1px solid #7683ca; border-radius: 50%; top: 38px; left: 25%; transform: rotate(-25deg); opacity: .4; }
.art-planet { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, #a8e8f1, #3d6199 50%, #242c5a); top: 18px; right: 25px; opacity: .7; }
.art-ship { position: absolute; width: 80px; height: 80px; bottom: 15px; left: calc(50% - 40px); filter: drop-shadow(0 0 18px rgba(137, 203, 255, .4)); }
.art-star { position: absolute; font-size: 25px; color: #ffe1ac; }.star-one { left: 28px; top: 29px; }.star-two { left: 94px; top: 80px; font-size: 17px; }
.art-forest { background: linear-gradient(135deg, #183c38, #37634d); }
.art-tree { position: absolute; width: 0; height: 0; border-left: 55px solid transparent; border-right: 55px solid transparent; border-bottom: 155px solid #16372f; bottom: -18px; }
.tree-one { left: -15px; }.tree-two { right: -15px; opacity: .75; }
.art-fox { position: absolute; width: 95px; height: 95px; bottom: 10px; left: calc(50% - 47px); filter: drop-shadow(0 5px 15px #143a39); }
.art-fruit { position: absolute; top: 12px; left: calc(50% - 15px); color: #f4d896; font-size: 30px; text-shadow: 0 0 15px #caae7b; }
.art-memory { background: radial-gradient(circle at 50% 45%, #413068, #1a1934); display: flex; align-items: center; justify-content: center; }
.art-cards { width: 190px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-7deg); direction: ltr; }
.art-cards span { display: flex; align-items: center; justify-content: center; height: 58px; background: linear-gradient(135deg, #464173, #2f3157); border: 1px solid #9483ca; border-radius: 8px; color: #dabefe; font-size: 27px; box-shadow: 0 6px 15px #121525; }
.studio-example-copy { padding: 25px 22px; }
.studio-example-copy > span { display: block; font-size: 8px; letter-spacing: 1px; color: #8baecc; line-height: 1.9; margin-bottom: 9px; }
.studio-example-copy h3 { font-size: 22px; font-weight: 650; line-height: 1.5; margin-bottom: 11px; }
.studio-example-copy p { font-size: 12px; color: #a5bad0; line-height: 1.9; }
.studio-example-copy > div { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 23px; }
.studio-example-copy .button { font-size: 11px; padding: 11px 17px; }
.studio-example-copy .studio-link { font-size: 10px; }
.studio-how-to { background: #0c1421; border-block: 1px solid var(--line); }
.studio-guide-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; margin-top: 5px; margin-bottom: 38px; }
.studio-guide-steps article > span { display: block; font-size: 25px; color: #71c9dc; font-weight: 650; margin-bottom: 13px; }
.studio-guide-steps h3 { font-size: 15px; color: #d7e5f5; line-height: 1.8; margin-bottom: 10px; }
.studio-guide-steps p { color: #99abc4; font-size: 11px; line-height: 1.95; }
.studio-guides { display: grid; gap: 13px; }
.studio-guides details { background: #101c2c; border: 1px solid #2c3e56; border-radius: 13px; overflow: hidden; }
.studio-guides summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 23px; cursor: pointer; list-style: none; color: #d9e8f7; font-size: 15px; line-height: 1.8; }
.studio-guides summary::-webkit-details-marker { display: none; }
.studio-guides summary .icon { width: 16px; height: 16px; transform: rotate(90deg); color: #79bed9; }
.studio-guides details[open] summary .icon { transform: rotate(-90deg); }
.studio-guide-detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 35px; padding: 3px 23px 25px; }
.studio-guide-detail > div { min-width: 0; }
.studio-guide-detail > div > span { display: block; color: #94bed6; font-size: 10px; margin-bottom: 9px; line-height: 1.8; }
.studio-guide-detail blockquote { margin: 0 0 20px; padding: 13px 17px; background: #0a1321; border-inline-start: 2px solid #558bb0; color: #c7d8e9; font-size: 12px; line-height: 2; }
.studio-guide-detail h4 { color: #d1e3f5; font-size: 12px; margin: 0 0 10px; line-height: 1.9; font-weight: 600; }
.studio-guide-detail p { color: #a2b9d0; font-size: 11px; line-height: 2; margin-bottom: 20px; }
.studio-guide-detail .button { font-size: 11px; padding: 12px 19px; }
html[dir=rtl] .studio-example-copy > span { letter-spacing: normal; }
html[dir=rtl] .studio-link .icon, html[dir=rtl] .studio-revision-form .icon { transform: scaleX(-1); }
html[dir=rtl] .studio-hero-prompt textarea { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
@media (max-width: 1150px) {
  .studio-grid { grid-template-columns: minmax(270px, .9fr) minmax(0, 1.2fr); }
  .studio-editor-panel, .studio-preview-panel { padding: 20px; }
  .studio-game-frame { height: 520px; }
  .studio-toolbar-spacer { display: none; }
}
@media (max-width: 960px) {
  .studio-mobile-tabs { display: flex; border-bottom: 1px solid #2b3e55; background: #111d2e; padding: 10px 17px; gap: 9px; }
  .studio-mobile-tabs button { flex: 1; padding: 10px 15px; background: #142236; border: 1px solid #35465f; border-radius: 8px; color: #a9bed7; font-size: 12px; line-height: 1.8; }
  .studio-mobile-tabs button[aria-selected=true] { color: #90edf0; border-color: #3f7080; background: #183747; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-editor-panel { border-inline-end: none; }
  .studio-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-field-wide { grid-column: auto; }
  .studio-example-grid { gap: 13px; }
  .studio-example-copy { padding: 22px 17px; }
  .studio-example-copy h3 { font-size: 19px; }
  .studio-game-frame { height: 530px; }
}
@media (max-width: 650px) {
  .studio-hero-prompt { padding: 15px; margin-top: 23px; border-radius: 15px; }
  .studio-hero-prompt textarea { font-size: 12px; min-height: 83px; }
  .studio-hero-prompt-footer { flex-direction: column; align-items: stretch; gap: 13px; }
  .studio-hero-prompt-footer .button { width: 100%; font-size: 12px; padding: 13px 18px; }
  .studio-demo-pill { font-size: 8px; text-align: center; }
  .studio-hero-prompt-footer .studio-demo-pill { align-self: flex-start; }
  .studio-idea-chips { gap: 7px; margin-top: 13px; }
  .studio-idea-chips button { padding: 7px 11px; font-size: 10px; }
  .hero-actions { gap: 13px; }
  .hero-actions .studio-link { font-size: 10px; }
  .studio-legacy-concepts > summary { font-size: 9px; padding: 12px 8px; }
  .studio-workspace { border-radius: 14px; }
  .studio-workspace-header { padding: 14px 17px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .studio-workspace-brand { font-size: 13px; }
  .studio-workspace-header .studio-demo-pill { text-align: start; }
  .studio-mobile-tabs { padding: 10px 13px; }
  .studio-mobile-tabs button { padding: 8px 10px; font-size: 11px; }
  .studio-editor-panel, .studio-preview-panel { padding: 18px 15px; }
  .studio-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 11px; }
  .studio-field-wide { grid-column: 1 / -1; }
  .studio-field label, .studio-history label, .studio-revision-form > label { font-size: 11px; }
  .studio-field input, .studio-field select, .studio-field textarea { font-size: 11px; }
  .studio-editor-actions .button { font-size: 10px; padding: 12px 13px; }
  .studio-editor-actions .studio-secondary-button { font-size: 10px; }
  .studio-limits { font-size: 9px; }
  .studio-revision-form input { font-size: 10px; }
  .studio-preview-header { align-items: flex-start; gap: 10px; }
  .studio-preview-header h3 { font-size: 20px; }
  .studio-preview-eyebrow { font-size: 8px; }
  .studio-state { font-size: 8px; padding: 5px 8px; }
  .studio-game-frame { height: 495px; }
  .studio-play-toolbar { gap: 6px; }
  .studio-toolbar-button { font-size: 9px; padding: 8px 9px; }
  .studio-interpretation, .studio-status { font-size: 10px; padding: 11px; }
  .studio-growth-row > span { font-size: 8px; }
  .studio-example-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .studio-example-art { height: 200px; }
  .studio-example-copy { padding: 24px; }
  .studio-example-copy h3 { font-size: 23px; }
  .studio-example-copy > span { font-size: 8px; }
  .studio-guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
  .studio-guide-steps h3 { font-size: 14px; }
  .studio-guide-steps p { font-size: 10px; }
  .studio-guide-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 19px 22px; }
  .studio-guide-detail blockquote { font-size: 11px; }
  .studio-guides summary { padding: 16px 19px; font-size: 14px; }
}
