/*
Theme Name: AI Work Studio
Theme URI: https://aiworknavi.blog/
Author: AIワークナビ
Description: A lightweight Web IDE front page for HTML, CSS, JavaScript, Python, and C/C++ experiments.
Version: 1.0.31
License: GPL-2.0-or-later
Text Domain: aiwork-studio
*/

:root{
  --bg:#080b10;
  --bg-2:#0c1017;
  --panel:#101720;
  --panel-2:#151e2a;
  --panel-3:#0b1119;
  --line:#263241;
  --line-soft:rgba(255,255,255,.1);
  --text:#f4f7fb;
  --muted:#a7b2c1;
  --soft:#dbe5f0;
  --cyan:#49d7ff;
  --green:#8dff9f;
  --coral:#ff735f;
  --amber:#ffd166;
  --blue:#78a6ff;
  --ink:#07090d;
  --shadow:0 18px 70px rgba(0,0,0,.36);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  background:
    linear-gradient(135deg,rgba(73,215,255,.14),transparent 30%),
    linear-gradient(315deg,rgba(255,115,95,.1),transparent 28%),
    linear-gradient(180deg,var(--bg),#0b0f16 58%,#080b10);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:0;
  line-height:1.65;
  text-rendering:optimizeLegibility;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  opacity:.25;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to bottom,#000 0%,transparent 78%);
  pointer-events:none;
}

a{color:inherit;text-decoration:none}
button,textarea,input{font:inherit}
button{cursor:pointer}
button,input,textarea{touch-action:manipulation}
::selection{background:rgba(73,215,255,.28)}

.site-shell{
  width:min(1520px,calc(100% - 28px));
  margin:0 auto;
}

.content-view{
  background:
    linear-gradient(135deg,rgba(73,215,255,.1),transparent 30%),
    linear-gradient(180deg,var(--bg),#0b0f16 58%,#080b10);
}

.content-shell{
  width:min(920px,calc(100% - 28px));
  padding:42px 0 64px;
}

.content-card{
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(16,23,32,.82);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.content-header{
  padding:34px clamp(20px,5vw,48px) 24px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.content-back{
  display:inline-flex;
  margin-bottom:16px;
  color:var(--green);
  font-size:.9rem;
  font-weight:760;
}

.content-header h1{
  margin:0;
  max-width:100%;
  font-size:clamp(2rem,5vw,3.45rem);
  line-height:1.1;
}

.content-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin-top:16px;
  color:var(--muted);
  font-size:.92rem;
}

.content-meta a{
  color:var(--soft);
}

.content-body{
  padding:30px clamp(20px,5vw,48px) 44px;
  color:var(--soft);
  font-size:1.04rem;
}

.content-body > *:first-child{margin-top:0}
.content-body > *:last-child{margin-bottom:0}

.content-body h2,.content-body h3{
  color:var(--text);
  line-height:1.25;
  margin:2em 0 .7em;
}

.content-body h2{font-size:1.55rem}
.content-body h3{font-size:1.2rem}

.content-body p,.content-body li{
  overflow-wrap:anywhere;
}

.content-body a{
  color:var(--cyan);
  text-decoration:underline;
  text-underline-offset:3px;
}

.content-body ul,.content-body ol{
  padding-left:1.3em;
}

.content-body pre{
  max-width:100%;
  overflow:auto;
  padding:16px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:#07090d;
  color:#eaf2ff;
  font-size:.92rem;
  line-height:1.6;
}

.content-body code{
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}

.archive-card{
  overflow:hidden;
}

.archive-shell{
  width:min(1120px,calc(100% - 28px));
}

.archive-lead{
  margin:18px 0 0;
  max-width:720px;
  color:var(--muted);
  font-size:1rem;
  line-height:1.75;
}

.archive-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  padding:20px;
  background:rgba(7,11,16,.34);
}

.archive-list__item{
  min-width:0;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(16,23,32,.82);
  overflow:hidden;
}

.archive-list__item a{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:8px;
  height:100%;
  padding:22px;
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.archive-list__item a:hover,
.archive-list__item a:focus-visible{
  outline:none;
  background:rgba(73,215,255,.06);
  box-shadow:inset 0 0 0 1px rgba(73,215,255,.38);
  transform:translateY(-2px);
}

.archive-list__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px 12px;
  flex-wrap:wrap;
}

.archive-list__item time{
  color:var(--muted);
  font-size:.82rem;
}

.archive-list__badges{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.archive-list__item .archive-badge{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  border:1px solid rgba(73,215,255,.28);
  border-radius:999px;
  padding:2px 8px;
  color:var(--cyan);
  background:rgba(73,215,255,.08);
  font-size:.72rem;
  font-weight:780;
  line-height:1.2;
}

.archive-list__item .archive-badge--difficulty{
  border-color:rgba(255,209,102,.3);
  color:var(--amber);
  background:rgba(255,209,102,.08);
}

.archive-list__item h2{
  display:-webkit-box;
  margin:0;
  color:var(--text);
  font-size:1.16rem;
  line-height:1.42;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.archive-list__item p{
  display:-webkit-box;
  margin:0;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.75;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.archive-list__item .archive-list__read{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  color:var(--cyan);
  font-size:.88rem;
  font-weight:760;
}

.archive-list__item a:hover .archive-list__read,
.archive-list__item a:focus-visible .archive-list__read{
  color:#9cecff;
}

.archive-pagination{
  padding:22px clamp(20px,5vw,48px) 30px;
  border-top:1px solid rgba(255,255,255,.08);
}

.archive-pagination .nav-links,.archive-pagination ul.page-numbers{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
}

.archive-pagination a.page-numbers,.archive-pagination span.page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  padding:6px 11px;
  color:var(--soft);
  background:rgba(7,10,14,.35);
  font-size:.9rem;
  font-weight:740;
}

.archive-pagination span.page-numbers.current{
  color:var(--ink);
  border-color:transparent;
  background:var(--cyan);
}

.contact-form,.policy-note{
  display:grid;
  gap:16px;
  margin-top:32px;
  padding:22px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(7,10,14,.42);
}

.contact-form h2,.policy-note h2{
  margin:0;
}

.contact-form label{
  display:grid;
  gap:7px;
  min-width:0;
  color:var(--soft);
  font-weight:760;
}

.contact-form input,.contact-form textarea{
  width:100%;
  min-width:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  padding:12px 13px;
  color:var(--text);
  background:#080d14;
  outline:none;
}

.contact-form textarea{
  resize:vertical;
  min-height:180px;
}

.contact-form input:focus,.contact-form textarea:focus{
  border-color:rgba(73,215,255,.58);
  box-shadow:0 0 0 3px rgba(73,215,255,.12);
}

.contact-form__status{
  margin:0;
  padding:11px 13px;
  border-radius:8px;
  font-weight:760;
}

.contact-form__status--success{
  border:1px solid rgba(141,255,159,.32);
  color:var(--green);
  background:rgba(141,255,159,.08);
}

.contact-form__status--error{
  border:1px solid rgba(255,115,95,.34);
  color:var(--coral);
  background:rgba(255,115,95,.08);
}

.contact-form__trap{
  position:absolute;
  left:-9999px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(8,11,16,.84);
  backdrop-filter:blur(18px);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:62px;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand__mark{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:8px;
  background:linear-gradient(135deg,rgba(73,215,255,.95),rgba(141,255,159,.9));
  color:var(--ink);
  font-weight:900;
  box-shadow:0 12px 36px rgba(73,215,255,.2);
}

.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.08;
}

.brand__name{
  font-weight:850;
  font-size:1rem;
  white-space:nowrap;
}

.brand__tag{
  color:var(--muted);
  font-size:.78rem;
  white-space:nowrap;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--soft);
  font-size:.92rem;
}

.nav a,.nav-button{
  padding:7px 9px;
  border-radius:6px;
}

body.admin-bar .topbar{
  top:32px;
}

.nav-button{
  border:0;
  color:inherit;
  background:transparent;
  font-weight:760;
}

.nav a:hover,.nav a:focus-visible,.nav-button:hover,.nav-button:focus-visible{
  background:rgba(255,255,255,.08);
  outline:none;
}

.nav .nav-shop{
  border:1px solid rgba(141,255,159,.3);
  color:var(--green);
  background:rgba(141,255,159,.07);
  font-weight:780;
}

.nav .nav-shop:hover,.nav .nav-shop:focus-visible,.nav .nav-shop[aria-current="page"]{
  border-color:rgba(141,255,159,.62);
  background:rgba(141,255,159,.14);
}

.mobile-nav{
  display:none;
  position:relative;
  flex:0 0 auto;
}

.mobile-nav summary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:104px;
  min-height:38px;
  border:1px solid rgba(73,215,255,.34);
  border-radius:8px;
  gap:10px;
  padding:0 13px;
  color:var(--cyan);
  background:rgba(73,215,255,.08);
  font-size:.84rem;
  font-weight:780;
  list-style:none;
  cursor:pointer;
}

.mobile-nav summary::-webkit-details-marker{
  display:none;
}

.mobile-nav__icon{
  position:relative;
  display:grid;
  align-content:center;
  gap:4px;
  width:18px;
  height:18px;
}

.mobile-nav__icon span{
  display:block;
  width:18px;
  height:1.5px;
  border-radius:999px;
  background:currentColor;
  transition:transform .18s ease,opacity .18s ease;
  transform-origin:center;
}

.mobile-nav[open] .mobile-nav__icon span:nth-child(1){
  transform:translateY(5.5px) rotate(45deg);
}

.mobile-nav[open] .mobile-nav__icon span:nth-child(2){
  opacity:0;
}

.mobile-nav[open] .mobile-nav__icon span:nth-child(3){
  transform:translateY(-5.5px) rotate(-45deg);
}

.mobile-nav summary:hover,
.mobile-nav summary:focus-visible{
  outline:none;
  border-color:rgba(73,215,255,.68);
  background:rgba(73,215,255,.14);
}

.mobile-nav__panel{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:40;
  display:grid;
  min-width:196px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  padding:8px;
  background:#0d141d;
  box-shadow:0 18px 54px rgba(0,0,0,.5);
}

.mobile-nav__panel a{
  border-radius:7px;
  padding:10px 12px;
  color:var(--soft);
  font-size:.9rem;
  font-weight:700;
}

.mobile-nav__panel a:hover,
.mobile-nav__panel a:focus-visible,
.mobile-nav__panel a[aria-current="page"]{
  outline:none;
  color:var(--cyan);
  background:rgba(73,215,255,.1);
}

.studio-hero{
  padding:34px 0 18px;
}

.hero-copy{
  min-width:0;
}

.kicker{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--green);
  font-weight:760;
  font-size:.82rem;
  text-transform:uppercase;
}

.kicker::before{
  content:"";
  width:32px;
  height:2px;
  background:var(--green);
}

h1{
  max-width:980px;
  margin:12px 0;
  font-size:clamp(2.4rem,6vw,6.8rem);
  line-height:.92;
  letter-spacing:0;
}

.hero-copy p{
  max-width:820px;
  margin:0;
  color:var(--muted);
  font-size:1.05rem;
}

.guide-callout{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
  margin:0 auto 18px;
  padding:20px 22px;
  border:1px solid rgba(141,255,159,.3);
  border-radius:10px;
  background:
    linear-gradient(110deg,rgba(73,215,255,.11),rgba(141,255,159,.07) 58%,rgba(16,23,32,.9)),
    rgba(16,23,32,.82);
  box-shadow:0 18px 50px rgba(0,0,0,.2);
}

.guide-callout__copy{
  min-width:0;
  padding-right:32px;
}

.guide-callout[hidden]{
  display:none;
}

.guide-callout__close{
  position:absolute;
  top:9px;
  right:9px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  padding:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  color:var(--muted);
  background:rgba(8,11,16,.58);
  font-size:1.12rem;
  line-height:1;
}

.guide-callout__close:hover,
.guide-callout__close:focus-visible{
  border-color:rgba(255,255,255,.32);
  outline:none;
  color:var(--text);
  background:rgba(255,255,255,.1);
}

.guide-callout__eyebrow{
  display:block;
  margin-bottom:5px;
  color:var(--green);
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.08em;
}

.guide-callout h2{
  margin:0 0 6px;
  font-size:clamp(1.2rem,2.4vw,1.65rem);
  line-height:1.25;
}

.guide-callout p{
  max-width:860px;
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.65;
}

.guide-callout__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  color:#061016;
  background:linear-gradient(135deg,var(--cyan),var(--green));
  box-shadow:0 12px 32px rgba(73,215,255,.2);
  font-weight:900;
  white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

.guide-callout__button:hover,
.guide-callout__button:focus-visible{
  outline:none;
  transform:translateY(-2px);
  filter:brightness(1.05);
  box-shadow:0 16px 38px rgba(73,215,255,.28);
}

.ad-band{
  margin:0 auto 34px;
}

.ad-band:empty,
.footer-ad-band:empty{
  display:none;
}

.ad-slot{
  display:grid;
  place-items:center;
  min-height:92px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:8px;
  color:#8190a1;
  background:rgba(255,255,255,.035);
  font-size:.78rem;
  font-weight:760;
  text-transform:uppercase;
}

.ad-slot .adsbygoogle{
  width:100%;
  min-height:90px;
}

.ad-slot--footer{
  min-height:110px;
  background:rgba(255,255,255,.028);
}

.ad-slot--article{
  min-height:120px;
  margin:30px 0;
  background:rgba(73,215,255,.035);
}

.studio{
  display:grid;
  grid-template-columns:260px minmax(420px,1fr) minmax(430px,.95fr);
  grid-template-rows:auto minmax(680px,auto);
  gap:12px;
  min-height:760px;
  margin:12px 0 34px;
}

.toolbar,.workspace,.editor,.runtime,.preview,.console{
  min-width:0;
  border:1px solid rgba(255,255,255,.11);
  border-radius:8px;
  background:rgba(16,23,32,.94);
  box-shadow:0 16px 60px rgba(0,0,0,.24);
}

.toolbar{
  grid-column:1/-1;
  display:block;
  min-height:64px;
  padding:10px 12px;
}

.toolbar__actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.toolbar__secondary{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.toolbar-more{
  display:none;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:6px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:6px;
  color:var(--soft);
  background:rgba(255,255,255,.05);
  font-weight:720;
  font-size:.84rem;
  line-height:1.2;
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 24px var(--green);
  flex:0 0 auto;
}

.tool-button,.tab-button{
  min-height:38px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:6px;
  padding:0 12px;
  color:var(--text);
  background:rgba(255,255,255,.06);
  font-weight:760;
  white-space:nowrap;
  line-height:1.15;
}

.tool-button:hover,.tab-button:hover{
  border-color:rgba(73,215,255,.45);
  background:rgba(73,215,255,.1);
}

.tool-button:focus-visible,.tab-button:focus-visible,.file-button:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:2px;
}

.tool-button--run{
  color:var(--ink);
  background:linear-gradient(135deg,var(--green),var(--cyan));
  border-color:transparent;
}

.tool-button--danger:hover{
  border-color:rgba(255,115,95,.7);
  background:rgba(255,115,95,.12);
}

.workspace{
  grid-row:2;
  padding:12px;
  overflow:hidden;
}

.panel-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0 0 12px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
}

.file-list{
  display:grid;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
  max-height:460px;
  overflow:auto;
}

.file-button{
  display:grid;
  grid-template-columns:42px 1fr;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:52px;
  border:1px solid transparent;
  border-radius:6px;
  padding:7px 7px 7px calc(7px + (var(--depth,0) * 14px));
  color:var(--soft);
  background:transparent;
  text-align:left;
}

.file-button:hover,.file-button.is-active{
  border-color:rgba(73,215,255,.28);
  background:rgba(255,255,255,.06);
}

.file-button.is-active{
  box-shadow:inset 3px 0 0 var(--cyan);
}

.file-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:36px;
  border-radius:6px;
  color:var(--ink);
  font-size:.72rem;
  font-weight:900;
}

.file-icon--html{background:var(--coral)}
.file-icon--css{background:var(--cyan)}
.file-icon--js{background:var(--amber)}
.file-button .file-icon--py,
.file-button .file-icon--python,
.file-icon--py,
.file-icon--python{
  background:#49d7ff;
}
.file-icon--cpp{background:var(--blue)}
.file-icon--folder{background:#9aa7b6}
.file-button--folder{color:var(--muted)}
.file-button--folder .file-meta b{color:var(--soft)}

.file-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-bottom:12px;
}

.file-mobile-actions{
  display:none;
}

.mini-button{
  min-height:32px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:6px;
  padding:0 8px;
  color:var(--soft);
  background:rgba(255,255,255,.055);
  font-size:.78rem;
  font-weight:800;
}

.mini-button:hover,.mini-button:focus-visible{
  border-color:rgba(73,215,255,.45);
  background:rgba(73,215,255,.1);
  outline:none;
}

.mini-button--primary{
  color:var(--ink);
  border-color:transparent;
  background:linear-gradient(135deg,var(--green),var(--cyan));
}

.mini-button--danger:hover{
  border-color:rgba(255,115,95,.65);
  background:rgba(255,115,95,.12);
}

.file-meta{
  display:block;
  min-width:0;
}

.file-meta b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.92rem;
}

.file-meta span{
  display:block;
  color:var(--muted);
  font-size:.75rem;
}

.account-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
  padding:12px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(255,255,255,.045);
  color:var(--muted);
  font-size:.86rem;
}

.account-panel a{
  color:var(--cyan);
  font-weight:800;
}

.workspace-note{
  margin:14px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-size:.82rem;
}

.editor{
  display:grid;
  grid-template-rows:auto 1fr;
  min-height:540px;
  overflow:hidden;
}

.runtime{
  display:grid;
  grid-template-rows:auto 1fr;
  min-height:680px;
  min-width:0;
  overflow:hidden;
}

.runtime-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:58px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.runtime-head h2{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  text-transform:uppercase;
}

.runtime-head [data-runtime-state]{
  display:block;
  color:var(--soft);
  font-size:.78rem;
}

.runtime-controls{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.runtime-tabs{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.runtime-tab{
  min-height:34px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:6px;
  padding:0 12px;
  color:var(--muted);
  background:rgba(255,255,255,.055);
  font-weight:800;
}

.runtime-tab.is-active{
  color:var(--ink);
  border-color:transparent;
  background:var(--cyan);
}

.runtime-ai-button{
  position:relative;
  min-height:34px;
  border:1px solid rgba(141,255,159,.28);
  border-radius:6px;
  padding:0 12px;
  color:var(--green);
  background:rgba(141,255,159,.075);
  font-weight:850;
  white-space:nowrap;
}

.runtime-ai-button::before{
  content:"";
  position:absolute;
  left:-8px;
  top:7px;
  bottom:7px;
  width:1px;
  background:rgba(255,255,255,.16);
}

.runtime-ai-button:hover,.runtime-ai-button:focus-visible{
  border-color:rgba(141,255,159,.55);
  background:rgba(141,255,159,.13);
  outline:none;
}

.runtime-body{
  display:grid;
  min-height:0;
  min-width:0;
  background:#080b10;
}

.runtime-body.is-preview{
  grid-template-rows:1fr;
}

.runtime-body.is-console{
  grid-template-rows:1fr;
}

.runtime-body.is-split{
  grid-template-rows:minmax(280px,1fr) minmax(220px,.75fr);
}

.runtime-body.is-split .console-output{
  max-height:clamp(220px,34vh,360px);
}

.preview-pane,.console-pane{
  display:grid;
  min-height:0;
  min-width:0;
  overflow:hidden;
}

.preview-pane{
  grid-template-rows:auto 1fr;
}

.console-pane{
  grid-template-rows:auto minmax(0,1fr) auto;
}

.runtime-body.is-preview .console-pane,
.runtime-body.is-console .preview-pane{
  display:none;
}

.pane-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:8px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-size:.78rem;
  font-weight:850;
  text-transform:uppercase;
}

.editor-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.tabs{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.tab-button{
  min-height:34px;
  color:var(--muted);
}

.tab-button[aria-selected="true"]{
  color:var(--ink);
  background:var(--amber);
  border-color:transparent;
}

.tab-button[data-template="python"][aria-selected="true"]{
  background:#2f6fed;
}

.editor-status{
  color:var(--muted);
  font-size:.78rem;
  white-space:nowrap;
}

.code-wrap{
  position:relative;
  display:grid;
  grid-template-columns:54px 1fr;
  min-height:0;
  background:#0b1017;
}

.CodeMirror{
  height:560px;
  min-height:560px;
  width:100%;
  max-width:100%;
  font:500 .92rem/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background:#0b1017!important;
}

.CodeMirror-scroll{
  max-width:100%;
}

.CodeMirror-gutters{
  border-right:1px solid rgba(255,255,255,.08)!important;
  background:#0b1017!important;
}

.CodeMirror-linenumber{color:#6f7d8c!important}
.CodeMirror-cursor{border-left-color:var(--cyan)!important}
.CodeMirror-selected{background:rgba(73,215,255,.2)!important}

.code-wrap:has(.CodeMirror){
  display:block;
}

.code-wrap:has(.CodeMirror) .line-rail,
.code-wrap:has(.CodeMirror) .code-input{
  display:none;
}

.line-rail{
  padding:16px 0;
  border-right:1px solid rgba(255,255,255,.08);
  color:#6f7d8c;
  background:#0b1017;
  font:500 .82rem/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  text-align:right;
  user-select:none;
  overflow:hidden;
}

.line-rail span{
  display:block;
  padding-right:12px;
  height:1.55em;
}

.code-input{
  width:100%;
  min-height:560px;
  resize:none;
  border:0;
  outline:0;
  padding:16px;
  color:#eef6ff;
  background:#0b1017;
  font:500 .92rem/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  tab-size:2;
}

.code-input::placeholder{color:#667382}

.preview{
  display:grid;
  grid-template-rows:auto minmax(320px,1fr);
  min-height:540px;
  overflow:hidden;
}

.preview-head,.console-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.preview-head h2,.console-head h2{
  margin:0;
  font-size:.86rem;
  text-transform:uppercase;
  color:var(--muted);
}

.preview-frame{
  width:100%;
  height:100%;
  min-height:0;
  border:0;
  background:#0d1117;
}

.runtime-body.is-preview .preview-frame{
  min-height:620px;
}

.runtime-body.is-split .preview-frame{
  min-height:280px;
}

.console{
  grid-column:2/-1;
  display:grid;
  grid-template-rows:auto minmax(150px,1fr) auto;
  min-height:230px;
  overflow:hidden;
}

.console-output{
  margin:0;
  padding:14px 16px;
  min-height:0;
  max-height:clamp(340px,58vh,620px);
  overflow:auto;
  color:#dce7f7;
  background:#080b10;
  font:500 .9rem/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.console-output.is-loading{color:var(--amber)}
.console-output.is-error{color:#ff9a8e}
.console-output.is-success{color:var(--green)}

.stdin-panel{
  display:grid;
  grid-template-columns:150px 1fr;
  align-items:stretch;
  gap:10px;
  min-width:0;
  padding:10px 12px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.stdin-panel span{
  align-self:center;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
}

.stdin-panel textarea{
  width:100%;
  min-height:58px;
  resize:vertical;
  border:1px solid rgba(255,255,255,.11);
  border-radius:6px;
  outline:0;
  padding:10px 12px;
  color:#eef6ff;
  background:#0b1017;
  font:500 .86rem/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.stdin-panel textarea:focus{
  border-color:rgba(73,215,255,.55);
  box-shadow:0 0 0 2px rgba(73,215,255,.14);
}

.section-band{
  border-top:1px solid rgba(255,255,255,.08);
  padding:42px 0 58px;
}

.system-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.system-tile{
  min-height:160px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  padding:18px;
  background:rgba(16,23,32,.76);
}

.system-tile b{
  display:block;
  margin-bottom:10px;
  font-size:1rem;
}

.system-tile p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
}

.shop-eyebrow{
  display:block;
  color:var(--green);
  font:820 .76rem/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.12em;
}

.shop-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border:1px solid transparent;
  border-radius:8px;
  gap:8px;
  padding:10px 16px;
  font-size:.9rem;
  font-weight:820;
  line-height:1.25;
  text-decoration:none!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.shop-button:hover,.shop-button:focus-visible{
  outline:none;
  transform:translateY(-2px);
}

.shop-button--primary{
  color:var(--ink)!important;
  background:linear-gradient(135deg,var(--cyan),var(--green));
  box-shadow:0 12px 34px rgba(73,215,255,.16);
}

.shop-button--secondary{
  border-color:rgba(255,255,255,.16);
  color:var(--soft)!important;
  background:rgba(255,255,255,.05);
}

.shop-button--secondary:hover,.shop-button--secondary:focus-visible{
  border-color:rgba(73,215,255,.5);
  background:rgba(73,215,255,.09);
}

.shop-promo{
  border-top:1px solid rgba(255,255,255,.08);
  padding:58px 0;
  background:
    radial-gradient(circle at 78% 48%,rgba(141,255,159,.1),transparent 29%),
    linear-gradient(105deg,rgba(73,215,255,.08),transparent 46%),
    rgba(7,10,14,.46);
}

.shop-promo__inner{
  display:grid;
  grid-template-columns:minmax(260px,.68fr) minmax(0,1.32fr);
  align-items:stretch;
  gap:clamp(24px,3.4vw,52px);
  width:min(1280px,calc(100% - 32px));
}

.shop-promo__copy h2{
  margin:10px 0 16px;
  max-width:480px;
  font-size:clamp(1.9rem,3.4vw,3rem);
  line-height:1.08;
  letter-spacing:-.035em;
}

.shop-promo__copy p{
  max-width:470px;
  margin:0;
  color:var(--muted);
  font-size:1rem;
  line-height:1.75;
}

.shop-promo__catalog-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:24px;
  color:var(--soft);
  font-size:.9rem;
  font-weight:800;
  text-decoration:none;
}

.shop-promo__catalog-link:hover,
.shop-promo__catalog-link:focus-visible{
  color:var(--green);
}

.shop-promo__featured{
  display:grid;
  grid-template-columns:minmax(210px,.58fr) minmax(0,1.42fr);
  overflow:hidden;
  min-width:0;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:
    linear-gradient(135deg,rgba(73,215,255,.08),transparent 48%),
    rgba(14,20,28,.9);
  box-shadow:0 26px 64px rgba(0,0,0,.28);
}

.shop-promo__media{
  display:grid;
  min-height:330px;
  place-items:center;
  border-right:1px solid rgba(255,255,255,.09);
  padding:24px;
  background:
    linear-gradient(160deg,rgba(73,215,255,.12),rgba(141,255,159,.05)),
    rgba(6,10,15,.72);
}

.shop-promo__media .product-visual{
  width:min(230px,94%);
  box-shadow:0 22px 44px rgba(0,0,0,.34);
  transform:rotate(-1.5deg);
}

.shop-promo__body{
  display:flex;
  min-width:0;
  flex-direction:column;
  padding:clamp(24px,3vw,36px);
}

.shop-promo__status{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:14px;
}

.shop-promo__status span{
  border:1px solid rgba(141,255,159,.22);
  border-radius:999px;
  padding:4px 9px;
  color:var(--green);
  background:rgba(141,255,159,.06);
  font-size:.7rem;
  font-weight:800;
}

.shop-promo__body h3{
  margin:0 0 10px;
  font-size:clamp(1.25rem,2vw,1.65rem);
  line-height:1.35;
  letter-spacing:-.015em;
}

.shop-promo__body > p{
  margin:0;
  color:var(--muted);
  font-size:.91rem;
  line-height:1.7;
}

.shop-promo__features{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:18px 0 22px;
  padding:0;
  list-style:none;
}

.shop-promo__features li{
  position:relative;
  min-width:0;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  padding:11px 10px 11px 30px;
  color:var(--soft);
  background:rgba(255,255,255,.035);
  font-size:.77rem;
  font-weight:720;
  line-height:1.45;
}

.shop-promo__features li::before{
  position:absolute;
  top:11px;
  left:11px;
  color:var(--green);
  content:"✓";
  font-weight:900;
}

.shop-promo__footer{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-top:auto;
}

.shop-promo__price{
  display:grid;
  gap:2px;
  flex:0 0 auto;
}

.shop-promo__price strong{
  font-size:1.5rem;
  line-height:1.1;
}

.shop-promo__price span{
  color:var(--muted);
  font-size:.78rem;
}

.shop-promo__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.landing-page{
  background:
    radial-gradient(circle at 20% 5%,rgba(73,215,255,.08),transparent 26%),
    #080b10;
}

.landing-page::before{
  opacity:.12;
}

.landing-topbar{
  background:rgba(8,11,16,.9);
  backdrop-filter:blur(18px);
}

.landing-nav{
  gap:22px;
}

.landing-nav a{
  font-size:.88rem;
}

.landing-nav__cta{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:36px;
  border:1px solid rgba(141,255,159,.32);
  border-radius:7px;
  padding:0 12px!important;
  color:var(--green)!important;
  background:rgba(141,255,159,.07);
  font-size:.82rem!important;
  line-height:1;
  white-space:nowrap;
}

.landing-main{
  overflow:hidden;
}

.landing-eyebrow{
  display:block;
  color:var(--green);
  font:820 .75rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.landing-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  align-items:center;
  gap:clamp(44px,6vw,96px);
  min-height:620px;
  padding:64px 0 72px;
}

.landing-hero__copy h1{
  margin:18px 0 22px;
  max-width:720px;
  font-size:clamp(2.7rem,4.5vw,4.4rem);
  line-height:1.04;
  letter-spacing:-.04em;
}

.landing-hero__copy h1 em{
  display:block;
  color:var(--green);
  font-style:normal;
}

.landing-hero__copy > p{
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:clamp(1rem,1.4vw,1.13rem);
  line-height:1.85;
}

.landing-hero__actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}

.landing-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  border-radius:9px;
  gap:9px;
  padding:0 20px;
  font-size:.92rem;
  font-weight:850;
  text-decoration:none;
}

.landing-button--primary{
  color:#061016;
  background:linear-gradient(135deg,var(--cyan),var(--green));
  box-shadow:0 16px 40px rgba(73,215,255,.18);
}

.landing-button--quiet{
  border:1px solid rgba(255,255,255,.14);
  color:var(--soft);
  background:rgba(255,255,255,.035);
}

.landing-facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin:22px 0 0;
  padding:0;
  color:var(--muted);
  font-size:.8rem;
  list-style:none;
}

.landing-facts li::before{
  margin-right:7px;
  color:var(--green);
  content:"✓";
  font-weight:900;
}

.landing-demo{
  position:relative;
  min-height:430px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:
    linear-gradient(145deg,rgba(73,215,255,.08),transparent 46%),
    #0d131b;
  box-shadow:0 36px 90px rgba(0,0,0,.38);
}

.landing-demo__bar{
  display:flex;
  align-items:center;
  gap:7px;
  height:48px;
  border-bottom:1px solid rgba(255,255,255,.09);
  padding:0 17px;
  background:rgba(255,255,255,.025);
}

.landing-demo__bar > span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#314050;
}

.landing-demo__bar > span:first-child{background:#ff7b72}
.landing-demo__bar > span:nth-child(2){background:#f6c45d}
.landing-demo__bar > span:nth-child(3){background:var(--green)}

.landing-demo__bar strong{
  margin-left:9px;
  color:var(--muted);
  font:700 .78rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.landing-demo pre{
  margin:0;
  padding:42px 38px;
  color:#dce7f2;
  background:transparent;
  font:600 clamp(.93rem,1.25vw,1.08rem)/1.9 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.landing-demo code span{color:var(--cyan)}
.landing-demo code b{color:#ff91cf}

.landing-review{
  position:absolute;
  right:24px;
  bottom:24px;
  width:min(330px,calc(100% - 48px));
  border:1px solid rgba(141,255,159,.24);
  border-radius:11px;
  padding:18px;
  background:rgba(7,13,17,.94);
  box-shadow:0 18px 44px rgba(0,0,0,.38);
}

.landing-review span{
  display:block;
  margin-bottom:7px;
  color:var(--green);
  font:.8rem/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.08em;
}

.landing-review strong{
  display:block;
  margin-bottom:5px;
  font-size:.95rem;
}

.landing-review p{
  margin:0;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.6;
}

.landing-flow{
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  padding:66px 0;
  background:rgba(255,255,255,.015);
}

.landing-flow__inner{
  display:grid;
  grid-template-columns:minmax(240px,.55fr) minmax(0,1.45fr);
  gap:clamp(40px,7vw,110px);
}

.landing-section-head h2{
  margin:10px 0 0;
  font-size:clamp(1.8rem,3.4vw,3rem);
  line-height:1.12;
  letter-spacing:-.035em;
}

.landing-steps{
  margin:0;
  padding:0;
  list-style:none;
}

.landing-steps li{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:18px;
  border-top:1px solid rgba(255,255,255,.1);
  padding:22px 0;
}

.landing-steps li:last-child{
  border-bottom:1px solid rgba(255,255,255,.1);
}

.landing-steps li > span{
  color:var(--cyan);
  font:800 .8rem/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.landing-steps strong{
  display:block;
  margin-bottom:5px;
  font-size:1.03rem;
}

.landing-steps p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.65;
}

.landing-page .language-hubs{
  border-top:0;
  padding:76px 0;
  background:transparent;
}

.landing-page .language-hubs__head{
  max-width:720px;
  margin-bottom:30px;
}

.landing-page .language-hubs__grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 36px;
}

.landing-page .language-hub-card{
  min-height:0;
  border:0;
  border-top:1px solid rgba(255,255,255,.11);
  border-radius:0;
  padding:24px 2px;
  background:transparent;
  box-shadow:none;
}

.landing-page .language-hub-card:hover,
.landing-page .language-hub-card:focus-visible{
  border-color:var(--cyan);
  background:transparent;
  box-shadow:none;
  transform:none;
}

.landing-page .language-hub-card > span{
  border:0;
  padding:0;
  background:transparent;
}

.landing-page .language-hub-card h3{
  margin-top:13px;
}

.landing-page .language-hub-card strong{
  margin-top:18px;
}

.landing-latest{
  border-top:1px solid rgba(255,255,255,.08);
  padding:70px 0 78px;
}

.landing-latest__inner{
  display:grid;
  gap:28px;
}

.landing-section-head--row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
}

.landing-section-head--row > a{
  color:var(--cyan);
  font-size:.86rem;
  font-weight:800;
  text-decoration:none;
}

.landing-latest__list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
}

.landing-latest__list article{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:20px;
}

.landing-latest__list time{
  color:var(--muted);
  font:.73rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.landing-latest__list h3{
  margin:9px 0 0;
  font-size:1rem;
  line-height:1.55;
}

.landing-latest__list h3 a{
  color:var(--text);
  text-decoration:none;
}

.landing-latest__list h3 a:hover,
.landing-latest__list h3 a:focus-visible{
  color:var(--cyan);
}

.landing-footer{
  background:rgba(5,7,10,.5);
}

.page-template-page-studio .studio-hero{
  padding:34px 0 22px;
}

.page-template-page-studio .studio-hero h1{
  font-size:clamp(2.7rem,5.2vw,4.8rem);
}

.page-template-page-studio .hero-copy p{
  max-width:820px;
}

.page-template-page-studio .toolbar__actions{
  display:grid;
  grid-template-columns:auto auto auto auto;
  align-items:center;
  justify-content:start;
  width:100%;
}

.page-template-page-studio .toolbar__secondary{
  display:none;
}

.page-template-page-studio .toolbar-more{
  position:relative;
  display:block;
}

.page-template-page-studio .toolbar-more summary{
  display:grid;
  place-items:center;
  min-height:38px;
  border:1px solid rgba(73,215,255,.22);
  border-radius:6px;
  padding:0 14px;
  color:var(--cyan);
  background:rgba(73,215,255,.06);
  font-size:.82rem;
  font-weight:850;
  list-style:none;
  cursor:pointer;
}

.page-template-page-studio .toolbar-more summary::-webkit-details-marker,
.page-template-page-studio .file-more summary::-webkit-details-marker{
  display:none;
}

.page-template-page-studio .toolbar-more__menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:35;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  width:306px;
  padding:10px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:8px;
  background:rgba(12,17,24,.98);
  box-shadow:0 18px 70px rgba(0,0,0,.42);
}

.page-template-page-studio .toolbar-more:not([open]) .toolbar-more__menu{
  display:none;
}

.page-template-page-studio .toolbar-more__menu .tool-button{
  width:100%;
  min-width:0;
  white-space:nowrap;
}

.page-template-page-studio .file-actions--desktop{
  display:none;
}

.page-template-page-studio .file-mobile-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) 82px;
  gap:7px;
  margin-bottom:12px;
}

.page-template-page-studio .file-more{
  position:relative;
}

.page-template-page-studio .file-more summary{
  display:grid;
  place-items:center;
  min-height:40px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:7px;
  color:var(--soft);
  background:rgba(255,255,255,.045);
  font-size:.76rem;
  font-weight:800;
  list-style:none;
  cursor:pointer;
}

.page-template-page-studio .file-more__menu{
  position:absolute;
  top:calc(100% + 7px);
  left:0;
  z-index:32;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  width:220px;
  padding:9px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:8px;
  background:rgba(12,17,24,.98);
  box-shadow:0 18px 58px rgba(0,0,0,.4);
}

.page-template-page-studio .file-more:not([open]) .file-more__menu{
  display:none;
}

.shop-shell{
  width:min(1180px,calc(100% - 28px));
  padding:48px 0 72px;
}

.shop-hero{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(270px,.5fr);
  align-items:stretch;
  gap:18px;
  margin-bottom:46px;
}

.shop-hero__copy,.shop-hero__status{
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px;
  background:rgba(16,23,32,.82);
  box-shadow:var(--shadow);
}

.shop-hero__copy{
  padding:clamp(24px,5vw,54px);
  background:
    linear-gradient(125deg,rgba(73,215,255,.12),transparent 46%),
    rgba(16,23,32,.84);
}

.shop-hero__copy .content-back{margin-bottom:30px}

.shop-hero h1{
  margin:8px 0 18px;
  max-width:820px;
  font-size:clamp(2.6rem,7vw,5.4rem);
  line-height:.94;
  letter-spacing:-.045em;
}

.shop-hero__copy p{
  max-width:720px;
  margin:0;
  color:var(--soft);
  font-size:clamp(.98rem,1.6vw,1.12rem);
  line-height:1.85;
}

.shop-hero__status{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  background:
    linear-gradient(180deg,rgba(141,255,159,.07),transparent 48%),
    rgba(11,17,25,.92);
}

.shop-hero__status > span{
  color:var(--muted);
  font-size:.78rem;
  font-weight:760;
}

.shop-hero__status strong{
  margin:2px 0 6px;
  color:var(--green);
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
}

.shop-hero__status p{
  margin:0 0 24px;
  color:var(--muted);
  font-size:.86rem;
}

.shop-hero__status a{
  color:var(--cyan);
  font-weight:780;
}

.shop-products{margin-bottom:52px}

.shop-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}

.shop-section-head h2,.shop-guide h2{
  margin:6px 0 0;
  font-size:clamp(1.55rem,3vw,2.25rem);
  line-height:1.15;
}

.shop-section-head > p{
  max-width:510px;
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  text-align:right;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.product-grid > .product-card:only-child{
  grid-column:1/-1;
}

.product-grid > .product-card:not(:only-child){
  grid-template-columns:1fr;
}

.product-grid > .product-card:not(:only-child) .product-card__media{
  min-height:280px;
}

.product-card{
  display:grid;
  grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:10px;
  background:rgba(16,23,32,.84);
  box-shadow:var(--shadow);
}

.product-card__media{
  display:grid;
  place-items:center;
  min-height:390px;
  padding:30px;
  background:
    radial-gradient(circle at 30% 20%,rgba(73,215,255,.18),transparent 38%),
    linear-gradient(145deg,#0a0f16,#111b27);
}

.product-visual{
  width:min(310px,100%);
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  overflow:hidden;
  background:#0a1018;
  box-shadow:0 28px 70px rgba(0,0,0,.44);
  transform:rotate(-2deg);
}

.product-visual__bar{
  display:flex;
  gap:6px;
  border-bottom:1px solid rgba(255,255,255,.1);
  padding:10px 12px;
}

.product-visual__bar span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--coral);
}

.product-visual__bar span:nth-child(2){background:var(--amber)}
.product-visual__bar span:nth-child(3){background:var(--green)}

.product-visual__body{
  display:grid;
  gap:16px;
  padding:28px;
  background:
    linear-gradient(90deg,rgba(73,215,255,.06) 1px,transparent 1px),
    linear-gradient(rgba(73,215,255,.06) 1px,transparent 1px);
  background-size:20px 20px;
}

.product-visual__label{
  color:var(--cyan);
  font:760 .66rem/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.12em;
}

.product-visual__body strong{
  color:var(--text);
  font-size:clamp(1.75rem,4vw,2.7rem);
  line-height:.9;
  letter-spacing:-.045em;
}

.product-visual__tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.product-visual__tags span{
  border:1px solid rgba(141,255,159,.28);
  border-radius:999px;
  padding:3px 8px;
  color:var(--green);
  background:rgba(141,255,159,.07);
  font-size:.66rem;
  font-weight:780;
}

.product-card__content{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:clamp(24px,4vw,44px);
}

.product-card__eyebrow{
  color:var(--green);
  font-size:.75rem;
  font-weight:820;
}

.product-card h2{
  margin:8px 0 14px;
  font-size:clamp(1.45rem,3vw,2.15rem);
  line-height:1.22;
  overflow-wrap:anywhere;
}

.product-card__content > p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

.product-card__features{
  display:grid;
  gap:8px;
  margin:22px 0 26px;
  padding:0;
  list-style:none;
}

.product-card__features li{
  position:relative;
  padding-left:23px;
  color:var(--soft);
  font-size:.9rem;
}

.product-card__features li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:900;
}

.product-card__footer{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.09);
  padding-top:20px;
}

.product-card__price{
  display:grid;
  flex:0 0 auto;
}

.product-card__price strong{
  color:var(--text);
  font-size:1.35rem;
  line-height:1.2;
}

.product-card__price span{
  color:var(--muted);
  font-size:.74rem;
}

.shop-guide{
  display:grid;
  grid-template-columns:minmax(220px,.4fr) minmax(0,1.6fr);
  gap:32px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px;
  padding:clamp(22px,4vw,38px);
  background:rgba(11,17,25,.78);
}

.shop-guide ol{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.shop-guide li{
  display:flex;
  gap:12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  padding:15px;
  background:rgba(255,255,255,.025);
}

.shop-guide li > span{
  color:var(--cyan);
  font:780 .73rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.shop-guide li strong{display:block;margin-bottom:3px}
.shop-guide li p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.6}

.shop-note{
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin-top:16px;
  border-left:3px solid var(--amber);
  padding:14px 16px;
  color:var(--muted);
  background:rgba(255,209,102,.055);
  font-size:.84rem;
}

.shop-note strong{flex:0 0 auto;color:var(--amber)}
.shop-note p{margin:0}

.language-hubs{
  border-top:1px solid rgba(255,255,255,.08);
  padding:44px 0;
  background:
    linear-gradient(120deg,rgba(73,215,255,.07),transparent 48%),
    rgba(7,10,14,.34);
}

.language-hubs__inner{
  display:grid;
  gap:22px;
}

.language-hubs__head{
  max-width:760px;
}

.language-hubs__head > span{
  color:var(--green);
  font-size:.76rem;
  font-weight:820;
  letter-spacing:.08em;
}

.language-hubs__head h2{
  margin:5px 0 8px;
  font-size:clamp(1.65rem,3.4vw,2.45rem);
  line-height:1.12;
}

.language-hubs__head p{
  margin:0;
  color:var(--muted);
}

.language-hubs__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.language-hub-card{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:9px;
  min-height:228px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:9px;
  padding:22px;
  background:rgba(16,23,32,.82);
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease;
}

.language-hub-card:hover,
.language-hub-card:focus-visible{
  border-color:rgba(73,215,255,.42);
  background:rgba(22,32,44,.9);
  outline:none;
  transform:translateY(-2px);
}

.language-hub-card > span{
  width:max-content;
  border:1px solid rgba(73,215,255,.28);
  border-radius:999px;
  padding:3px 9px;
  color:var(--cyan);
  background:rgba(73,215,255,.07);
  font-size:.72rem;
  font-weight:800;
}

.language-hub-card h3{
  margin:0;
  font-size:1.18rem;
  line-height:1.35;
}

.language-hub-card p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.72;
}

.language-hub-card strong{
  color:var(--cyan);
  font-size:.88rem;
}

.hub-studio-cta{
  margin:34px 0;
  border:1px solid rgba(73,215,255,.25);
  border-radius:9px;
  padding:22px;
  background:rgba(73,215,255,.06);
}

.content-body .hub-studio-cta strong{
  color:var(--text);
  font-size:1.2rem;
}

.hub-studio-cta p{
  margin:.55em 0 0;
}

.hub-articles{
  margin-top:44px;
  padding-top:4px;
}

.hub-articles__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.hub-article-card{
  min-width:0;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(7,10,14,.34);
}

.content-body .hub-article-card a{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:8px;
  height:100%;
  padding:18px;
  color:inherit;
  text-decoration:none;
}

.hub-article-card time{
  color:var(--muted);
  font-size:.78rem;
}

.content-body .hub-article-card h3{
  margin:0;
  font-size:1.04rem;
  line-height:1.45;
}

.hub-article-card p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.65;
}

.hub-article-card strong{
  color:var(--cyan);
  font-size:.84rem;
}

.article-hub-link{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  margin-top:44px;
  border:1px solid rgba(73,215,255,.24);
  border-radius:9px;
  padding:22px;
  background:
    linear-gradient(120deg,rgba(73,215,255,.09),transparent 58%),
    rgba(11,17,25,.88);
}

.article-hub-link > div > span{
  color:var(--green);
  font-size:.74rem;
  font-weight:800;
}

.content-body .article-hub-link h2{
  margin:4px 0 6px;
  font-size:1.28rem;
}

.article-hub-link p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
}

.content-body .article-hub-link > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border:1px solid rgba(73,215,255,.34);
  border-radius:8px;
  padding:9px 14px;
  color:var(--ink);
  background:var(--cyan);
  font-size:.88rem;
  font-weight:800;
  text-decoration:none;
}

.article-product-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  margin-top:48px;
  border:1px solid rgba(141,255,159,.22);
  border-radius:10px;
  padding:clamp(20px,4vw,30px);
  background:
    linear-gradient(120deg,rgba(73,215,255,.1),transparent 58%),
    rgba(11,17,25,.9);
}

.content-body .article-product-cta h2{
  margin:7px 0 8px;
  font-size:clamp(1.25rem,3vw,1.7rem);
}

.article-product-cta__copy p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}

.article-product-cta__actions{
  display:grid;
  justify-items:stretch;
  gap:8px;
  min-width:190px;
}

.article-product-cta__actions > span{
  color:var(--muted);
  font-size:.76rem;
  text-align:center;
}

.article-product-cta__actions > span strong{color:var(--text);font-size:1rem}

.content-body .article-product-cta__more{
  color:var(--cyan);
  font-size:.8rem;
  font-weight:760;
  text-align:center;
  text-decoration:none;
}

.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:22px 0 30px;
  color:var(--muted);
  font-size:.88rem;
}

.footer-ad-band{
  padding:0 0 28px;
}

.footer-articles{
  border-top:1px solid rgba(255,255,255,.08);
  padding:34px 0 36px;
  background:rgba(7,10,14,.32);
}

.footer-articles__inner{
  display:grid;
  gap:18px;
}

.footer-articles__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
}

.footer-articles__eyebrow{
  display:block;
  margin-bottom:4px;
  color:var(--green);
  font-size:.76rem;
  font-weight:820;
  text-transform:uppercase;
}

.footer-articles h2{
  margin:0;
  font-size:1.35rem;
  line-height:1.2;
}

.footer-articles__links{
  display:flex;
  align-items:center;
  gap:10px 14px;
  flex:0 0 auto;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-articles__home,.footer-articles__more{
  flex:0 0 auto;
  color:var(--cyan);
  font-size:.9rem;
  font-weight:760;
}

.footer-articles__more{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  border:1px solid rgba(73,215,255,.34);
  border-radius:8px;
  padding:8px 12px;
  color:var(--ink);
  background:var(--cyan);
}

.footer-articles__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.footer-article-card{
  min-height:190px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(16,23,32,.72);
}

.footer-article-card a{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:9px;
  height:100%;
  padding:16px;
}

.footer-article-card time{
  color:var(--muted);
  font-size:.78rem;
}

.footer-article-card h3{
  margin:0;
  color:var(--text);
  font-size:.98rem;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.footer-article-card p{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.65;
  overflow-wrap:anywhere;
}

.footer-article-card span{
  color:var(--cyan);
  font-size:.84rem;
  font-weight:760;
}

.site-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.site-footer__inner p{
  flex:1 1 320px;
  margin:0;
  line-height:1.7;
}

.footer-links{
  display:flex;
  align-items:center;
  gap:10px 14px;
  flex-wrap:wrap;
}

.site-footer a{color:var(--cyan)}

.auth-modal,.file-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(3,6,10,.68);
  backdrop-filter:blur(16px);
}

.auth-modal[hidden],.file-modal[hidden]{
  display:none;
}

.auth-card,.file-card{
  position:relative;
  width:min(460px,100%);
  border:1px solid rgba(255,255,255,.13);
  border-radius:8px;
  padding:20px;
  background:linear-gradient(180deg,rgba(21,30,42,.98),rgba(9,13,19,.98));
  box-shadow:0 24px 90px rgba(0,0,0,.5);
}

.file-card h2{
  margin:0 42px 4px 0;
  font-size:1.2rem;
}

.file-card p{
  margin:0 42px 16px 0;
  color:var(--muted);
  font-size:.9rem;
}

.auth-close{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:6px;
  color:var(--soft);
  background:rgba(255,255,255,.06);
  font-size:1.1rem;
  line-height:1;
}

.auth-card__head{
  display:flex;
  gap:12px;
  align-items:center;
  padding-right:34px;
}

.auth-card__head h2{
  margin:0;
  font-size:1.25rem;
}

.auth-card__head p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:.9rem;
}

.auth-switch{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin:18px 0 14px;
}

.auth-switch button{
  min-height:36px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:6px;
  color:var(--muted);
  background:rgba(255,255,255,.055);
  font-weight:850;
}

.auth-switch button.is-active{
  color:var(--ink);
  border-color:transparent;
  background:var(--amber);
}

.auth-form,.file-card form{
  display:grid;
  gap:12px;
}

.auth-form label,.file-card label{
  display:grid;
  gap:6px;
  color:var(--muted);
  font-size:.82rem;
  font-weight:800;
}

.auth-form input,.file-card input{
  width:100%;
  min-height:42px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:6px;
  outline:0;
  padding:0 12px;
  color:var(--text);
  background:#0b1017;
}

.auth-form input:focus,.file-card input:focus{
  border-color:rgba(73,215,255,.55);
  box-shadow:0 0 0 2px rgba(73,215,255,.14);
}

.file-dialog-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.auth-message{
  min-height:1.3em;
  margin:0;
  color:var(--green);
  font-size:.86rem;
}

.auth-message.is-error{
  color:#ff9a8e;
}

@media (max-width:1180px){
  .studio{
    grid-template-columns:230px minmax(0,1fr);
    grid-template-rows:auto minmax(520px,auto) minmax(520px,auto);
  }
  .system-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .workspace{grid-row:2/4}
  .editor{grid-column:2}
  .runtime{grid-column:2;min-height:520px}
  .runtime-body.is-preview .preview-frame{min-height:460px}
  .shop-promo__inner{
    grid-template-columns:1fr;
  }
  .shop-promo__copy{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);
    column-gap:28px;
  }
  .shop-promo__copy .shop-eyebrow,
  .shop-promo__copy h2{
    grid-column:1;
  }
  .shop-promo__copy p,
  .shop-promo__catalog-link{
    grid-column:2;
  }
  .shop-promo__copy p{
    grid-row:1/3;
    align-self:end;
  }
  .shop-promo__catalog-link{
    margin-top:14px;
  }
}

@media (max-width:1100px){
  .topbar__inner{
    gap:10px;
  }
  .topbar__inner .nav a{
    display:none;
  }
  .topbar__inner > .mobile-nav{
    display:block;
  }
  .landing-nav{
    display:none;
  }
}

@media (min-width:821px) and (max-width:1180px){
  .studio{
    gap:10px;
  }
  .toolbar{
    position:static;
  }
  .toolbar__actions{
    gap:7px;
  }
  .tool-button{
    min-height:40px;
    padding:0 10px;
  }
  .editor{
    min-height:560px;
  }
  .CodeMirror{
    height:520px;
    min-height:520px;
  }
  .code-input{
    min-height:520px;
  }
  .file-list{
    max-height:650px;
  }
  .runtime-body.is-split{
    grid-template-rows:minmax(340px,1fr) minmax(240px,.72fr);
  }
}

@media (max-width:940px){
  body{
    background-color:#080b10;
    background:
      linear-gradient(180deg,#080b10 0%,#0b0f16 54%,#080b10 100%);
  }
  body::before{
    background-size:34px 34px;
    opacity:.14;
  }
  .site-shell{width:min(1520px,calc(100% - 16px))}
  .topbar__inner{
    min-height:62px;
    gap:10px;
  }
  .brand{
    min-width:0;
    flex:1 1 auto;
  }
  .brand__text{
    min-width:0;
  }
  .brand__name{
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .nav{
    display:flex;
    flex:0 0 auto;
    gap:0;
  }
  .nav a{
    display:none;
  }
  .nav-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:64px;
    min-height:36px;
    padding:0 12px;
    border:1px solid rgba(73,215,255,.32);
    border-radius:8px;
    color:var(--cyan);
    background:rgba(73,215,255,.08);
    max-width:34vw;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobile-nav{
    display:block;
  }
  .archive-shell{
    width:min(1120px,calc(100% - 16px));
  }
  .brand__mark{width:36px;height:36px}
  .brand__name{font-size:.96rem}
  .studio-hero{gap:14px;padding:22px 0 14px}
  .kicker{font-size:.75rem}
  .kicker::before{width:24px}
  h1{font-size:clamp(2.4rem,14vw,4.6rem);line-height:.94}
  .hero-copy p{font-size:.96rem;line-height:1.7}
  .guide-callout{
    grid-template-columns:1fr;
    gap:14px;
    padding:17px 18px;
  }
  .guide-callout__button{
    justify-self:start;
  }
  .ad-slot{min-height:74px}
  .ad-slot--footer{min-height:96px}
  .ad-slot--article{min-height:96px;margin:24px 0}
  .footer-ad-band{padding:0 0 22px}
  .footer-articles{
    padding:28px 0 30px;
  }
  .footer-articles__head{
    align-items:flex-start;
  }
  .footer-articles__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .language-hubs__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .footer-article-card{
    min-height:176px;
  }
  .studio{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto auto;
    gap:10px;
    min-height:0;
    margin:10px 0 26px;
  }
  .toolbar,.workspace,.editor,.runtime{
    grid-column:1;
    grid-row:auto;
    margin:0;
    width:100%;
    max-width:100%;
    min-width:0;
  }
  .toolbar{order:1}
  .workspace{order:2}
  .editor{order:3}
  .runtime{order:4}
  .toolbar{
    display:block;
    min-height:0;
    padding:0 8px;
    border:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }
  .toolbar__actions{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(82px,.75fr) 72px;
    align-items:center;
    gap:8px;
    overflow:visible;
    padding:0;
  }
  .toolbar__actions .chip{
    display:none;
  }
  .toolbar__secondary{
    display:none;
  }
  .toolbar-more{
    position:relative;
    display:block;
    min-width:0;
  }
  .toolbar-more summary{
    display:grid;
    place-items:center;
    min-height:44px;
    border:1px solid rgba(73,215,255,.28);
    border-radius:8px;
    color:var(--cyan);
    background:rgba(73,215,255,.08);
    font-size:.82rem;
    font-weight:850;
    list-style:none;
  }
  .toolbar-more summary::-webkit-details-marker,
  .file-more summary::-webkit-details-marker{
    display:none;
  }
  .toolbar-more__menu{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:35;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:min(306px,calc(100vw - 24px));
    padding:10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:8px;
    background:rgba(12,17,24,.98);
    box-shadow:0 18px 70px rgba(0,0,0,.42);
  }
  .toolbar-more:not([open]) .toolbar-more__menu{
    display:none;
  }
  .tool-button,.tab-button,.mini-button,.runtime-tab,.runtime-ai-button{
    min-height:42px;
    padding:0 10px;
    white-space:normal;
  }
  .toolbar__actions > .tool-button{
    width:100%;
    min-width:0;
    border-radius:8px;
    white-space:nowrap;
  }
  .toolbar__actions > .tool-button--run{
    box-shadow:0 10px 30px rgba(73,215,255,.14);
  }
  .toolbar-more__menu .tool-button{
    width:100%;
    min-width:0;
    padding:0 8px;
    font-size:.8rem;
    white-space:nowrap;
  }
  .workspace{
    padding:10px;
    overflow:visible;
  }
  .panel-title{margin-bottom:8px}
  .file-actions--desktop{
    display:none;
  }
  .file-mobile-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) 88px;
    gap:8px;
    margin-bottom:10px;
  }
  .mini-button{
    padding:0 6px;
    font-size:.74rem;
  }
  .file-mobile-actions > .mini-button{
    min-height:40px;
    border-radius:8px;
  }
  .file-more{
    position:relative;
    min-width:0;
  }
  .file-more summary{
    display:grid;
    place-items:center;
    min-height:40px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:8px;
    color:var(--cyan);
    background:rgba(73,215,255,.08);
    font-size:.76rem;
    font-weight:850;
    list-style:none;
  }
  .file-more__menu{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:34;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:min(300px,calc(100vw - 24px));
    padding:10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:8px;
    background:rgba(12,17,24,.98);
    box-shadow:0 18px 70px rgba(0,0,0,.42);
  }
  .file-more:not([open]) .file-more__menu{
    display:none;
  }
  .file-more__menu .mini-button{
    min-height:40px;
    border-radius:8px;
  }
  .file-list{
    display:grid;
    gap:4px;
    max-height:280px;
    overflow-x:hidden;
    overflow-y:auto;
    padding:0;
  }
  .file-list > li{
    min-width:0;
  }
  .file-button{
    grid-template-columns:34px minmax(0,1fr);
    min-height:46px;
    padding:5px 8px;
  }
  .file-button.is-active{box-shadow:inset 3px 0 0 var(--cyan)}
  .file-icon{width:32px;height:32px;font-size:.64rem}
  .file-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .file-meta b{font-size:.88rem}
  .file-meta span{flex:0 0 auto;font-size:.7rem}
  .account-panel{
    display:none;
  }
  .workspace-note{display:none}
  .editor,.runtime{
    min-height:0;
  }
  .editor-head,.runtime-head{
    min-height:0;
  }
  .editor-head{
    align-items:center;
    flex-direction:row;
  }
  .editor-head .tabs{display:none}
  .editor-status{font-size:.88rem;font-weight:800}
  .tabs{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .tabs .tab-button{
    width:100%;
    min-width:0;
  }
  .tabs .tab-button[data-template="cpp"]{
    grid-column:1/-1;
  }
  .editor-status{
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .code-wrap{grid-template-columns:40px 1fr}
  .CodeMirror{height:52vh;min-height:360px;max-height:560px;font-size:.86rem}
  .code-input{min-height:360px;height:52vh;max-height:560px;font-size:.86rem}
  .runtime-body.is-preview .preview-frame{min-height:420px}
  .runtime-body.is-split{grid-template-rows:minmax(300px,auto) minmax(220px,auto)}
  .console-output{
    max-height:360px;
    font-size:.84rem;
  }
  .system-grid{grid-template-columns:1fr}
  .stdin-panel{grid-template-columns:1fr}
  .section-band{padding:30px 0 42px}
  .system-tile{min-height:0;padding:16px}
  .shop-promo{padding:40px 0}
  .shop-promo__inner{
    grid-template-columns:1fr;
    gap:22px;
  }
  .shop-promo__copy{
    display:block;
  }
  .shop-promo__copy h2{
    max-width:620px;
  }
  .shop-promo__featured{
    grid-template-columns:minmax(190px,.52fr) minmax(0,1.48fr);
  }
  .shop-promo__media{
    min-height:310px;
    padding:18px;
  }
  .shop-promo__features{
    grid-template-columns:1fr;
    gap:6px;
  }
  .shop-promo__features li{
    padding-top:9px;
    padding-bottom:9px;
  }
  .shop-promo__features li::before{
    top:9px;
  }
  .shop-promo__footer{
    align-items:stretch;
    flex-direction:column;
  }
  .shop-promo__actions{
    justify-content:flex-start;
  }
  .shop-shell{
    width:min(1180px,calc(100% - 16px));
    padding:28px 0 52px;
  }
  .shop-hero{
    grid-template-columns:1fr;
    margin-bottom:34px;
  }
  .shop-hero__status{
    min-height:0;
  }
  .shop-hero__status p{margin-bottom:14px}
  .product-grid{grid-template-columns:1fr}
  .product-card{
    grid-template-columns:minmax(220px,.68fr) minmax(0,1.32fr);
  }
  .product-card__media{min-height:340px;padding:24px}
  .shop-guide{
    grid-template-columns:1fr;
    gap:20px;
  }
  .article-product-cta{
    grid-template-columns:1fr;
    gap:18px;
  }
  .article-product-cta__actions{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    min-width:0;
  }
  .article-product-cta__actions > span{grid-column:1/-1;text-align:left}
  .content-body .article-product-cta__more{padding:0 6px}
}

@media (max-width:782px){
  body.admin-bar .topbar{
    top:46px;
  }
}

@media (max-width:940px) and (orientation:landscape){
  body{
    background:#080b10;
  }
  body::before{
    opacity:.1;
  }
  .studio-hero{
    padding:14px 0 10px;
  }
  h1{
    font-size:clamp(2rem,9vw,3.6rem);
  }
  .hero-copy p{
    max-width:100%;
    font-size:.9rem;
  }
  .studio{
    margin-top:8px;
  }
  .file-list > li{
    flex-basis:min(196px,42vw);
  }
  .CodeMirror{
    height:70vh;
    min-height:300px;
    max-height:420px;
  }
  .code-input{
    height:70vh;
    min-height:300px;
    max-height:420px;
  }
  .runtime-body.is-preview .preview-frame{
    min-height:300px;
  }
}

@media (max-width:600px){
  .language-hubs{
    padding:34px 0;
  }
  .language-hubs__grid,
  .hub-articles__grid{
    grid-template-columns:1fr;
  }
  .language-hub-card{
    min-height:0;
    padding:18px;
  }
  .article-hub-link{
    grid-template-columns:1fr;
    gap:16px;
    padding:18px;
  }
  .content-body .article-hub-link > a{
    width:100%;
  }
  .archive-list{
    grid-template-columns:1fr;
    gap:10px;
    padding:10px;
  }
  .archive-list__item a{
    padding:18px;
  }
  .archive-list__item h2{
    font-size:1.05rem;
  }
  .archive-list__item p{
    font-size:.9rem;
    line-height:1.65;
  }
  .product-card{
    grid-template-columns:1fr;
  }
  .product-card__media{
    min-height:280px;
  }
  .product-visual{width:min(300px,88%)}
  .product-card__footer{
    align-items:stretch;
    flex-direction:column;
  }
  .product-card__footer .shop-button{width:100%}
  .shop-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .shop-section-head > p{text-align:left}
  .shop-guide ol{grid-template-columns:1fr}
  .shop-note{
    flex-direction:column;
    gap:5px;
  }
}

@media (max-width:520px){
  .site-shell{width:min(1520px,calc(100% - 12px))}
  .archive-shell{width:min(1120px,calc(100% - 12px))}
  .topbar__inner{min-height:58px}
  .brand{gap:9px}
  .brand__tag{display:none}
  .brand__mark{width:34px;height:34px;border-radius:7px}
  .brand__name{font-size:.92rem}
  .studio-hero{padding-top:18px}
  h1{font-size:clamp(2.25rem,12.4vw,3.25rem)}
  .hero-copy p{font-size:.92rem}
  .guide-callout{
    margin-bottom:12px;
    padding:15px;
  }
  .guide-callout h2{font-size:1.18rem}
  .guide-callout p{font-size:.88rem}
  .guide-callout__button{
    width:100%;
    max-width:100%;
    white-space:normal;
  }
  .toolbar__actions{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(78px,.7fr) 68px;
  }
  .toolbar__actions .chip{
    grid-column:auto;
  }
  .tool-button{font-size:.82rem}
  .toolbar__actions > .tool-button{width:100%}
  .tab-button{width:100%;font-size:.82rem}
  .toolbar__actions .tool-button[data-action="refresh-preview"]{
    grid-column:auto;
  }
  .file-mobile-actions{
    grid-template-columns:minmax(0,1fr) 82px;
  }
  .file-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .preview-head,.console-head,.runtime-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .runtime-controls{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(92px,.36fr);
    gap:8px;
  }
  .runtime-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .runtime-tab{width:100%;padding:0 8px}
  .runtime-ai-button{
    width:100%;
    padding:0 8px;
    font-size:.82rem;
  }
  .runtime-ai-button::before{
    display:none;
  }
  .pane-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .pane-head .chip{
    width:100%;
    justify-content:center;
  }
  .CodeMirror{
    height:56vh;
    min-height:330px;
    font-size:.82rem;
  }
  .code-input{
    height:56vh;
    min-height:330px;
    font-size:.82rem;
  }
  .runtime-body.is-preview .preview-frame{min-height:360px}
  .runtime-body.is-split{grid-template-rows:minmax(260px,auto) minmax(220px,auto)}
  .stdin-panel textarea{min-height:72px}
  .auth-modal,.file-modal{padding:10px}
  .auth-card,.file-card{padding:16px}
  .contact-form,.policy-note{
    gap:14px;
    margin-top:24px;
    padding:16px;
  }
  .contact-form textarea{
    min-height:160px;
  }
  .footer-articles__head{
    flex-direction:column;
  }
  .footer-articles__links{
    justify-content:flex-start;
  }
  .footer-articles__grid{
    grid-template-columns:1fr;
  }
  .footer-article-card{
    min-height:0;
  }
  .footer-article-card a{
    padding:14px;
  }
  .site-footer__inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .shop-promo{
    padding:34px 0;
  }
  .shop-promo__inner{
    width:min(1280px,calc(100% - 12px));
  }
  .shop-promo__copy h2{
    font-size:clamp(1.72rem,9vw,2.35rem);
  }
  .shop-promo__featured{
    grid-template-columns:1fr;
    border-radius:12px;
  }
  .shop-promo__media{
    min-height:230px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.09);
  }
  .shop-promo__media .product-visual{
    width:min(210px,78%);
  }
  .shop-promo__body{
    padding:20px 16px;
  }
  .shop-promo__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .shop-button{width:100%;min-height:48px}
  .shop-hero__copy,.shop-hero__status{border-radius:8px}
  .shop-hero__copy{padding:22px 18px}
  .shop-hero__copy .content-back{margin-bottom:22px}
  .shop-hero h1{
    margin-top:7px;
    font-size:clamp(2.45rem,14vw,3.5rem);
  }
  .shop-hero__status{padding:20px}
  .product-card__media{min-height:250px;padding:20px}
  .product-visual__body{padding:24px}
  .product-card__content{padding:22px 18px}
  .product-card h2{font-size:1.35rem}
  .article-product-cta{margin-top:36px;padding:20px 16px}
  .article-product-cta__actions{grid-template-columns:1fr}
  .article-product-cta__actions > span{grid-column:auto;text-align:left}
  .content-body .article-product-cta__more{padding:7px 4px}
}

@media (max-width:1100px){
  .landing-hero{
    grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);
    gap:40px;
    min-height:620px;
  }
  .landing-hero__copy h1{
    font-size:clamp(2.65rem,5.6vw,3.9rem);
  }
}

@media (max-width:820px){
  .landing-hero{
    grid-template-columns:1fr;
    min-height:0;
    padding:54px 0 64px;
  }
  .landing-hero__copy{
    max-width:720px;
  }
  .landing-demo{
    min-height:390px;
  }
  .landing-flow{
    padding:50px 0;
  }
  .landing-flow__inner{
    grid-template-columns:1fr;
    gap:28px;
  }
  .landing-page .language-hubs{
    padding:56px 0;
  }
  .landing-latest{
    padding:54px 0 60px;
  }
  .landing-latest__list{
    grid-template-columns:1fr;
    gap:0;
  }
  .landing-latest__list article{
    padding:18px 0;
  }
}

@media (max-width:620px){
  .landing-hero{
    gap:32px;
    padding:38px 0 48px;
  }
  .landing-hero__copy h1{
    margin:14px 0 18px;
    font-size:clamp(2.25rem,10.5vw,3.05rem);
    line-height:1.08;
  }
  .landing-hero__copy > p{
    font-size:.94rem;
    line-height:1.75;
  }
  .landing-hero__actions{
    align-items:stretch;
    flex-direction:column;
    margin-top:24px;
  }
  .landing-button{
    width:100%;
  }
  .landing-facts{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .landing-demo{
    min-height:330px;
    border-radius:11px;
  }
  .landing-demo pre{
    padding:28px 20px;
    font-size:.84rem;
  }
  .landing-review{
    right:14px;
    bottom:14px;
    width:calc(100% - 28px);
    padding:14px;
  }
  .landing-section-head h2{
    font-size:1.75rem;
  }
  .landing-steps li{
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
  }
  .landing-page .language-hubs__grid{
    grid-template-columns:1fr;
    gap:0;
  }
  .landing-page .language-hub-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:4px 12px;
    padding:16px 2px;
  }
  .landing-page .language-hub-card > span,
  .landing-page .language-hub-card h3{
    grid-column:1;
  }
  .landing-page .language-hub-card h3{
    margin:5px 0 0;
    font-size:1rem;
  }
  .landing-page .language-hub-card p{
    display:none;
  }
  .landing-page .language-hub-card strong{
    grid-column:2;
    grid-row:1/3;
    margin:0;
    font-size:0;
  }
  .landing-page .language-hub-card strong::after{
    content:"→";
    font-size:1rem;
  }
  .shop-promo__media{
    min-height:190px;
    padding:16px;
  }
  .shop-promo__media .product-visual{
    width:min(170px,64%);
  }
  .shop-promo__body{
    padding:18px 15px;
  }
  .shop-promo__body > p{
    font-size:.86rem;
    line-height:1.6;
  }
  .shop-promo__features{
    margin:14px 0 18px;
  }
  .shop-promo__features li{
    padding-top:8px;
    padding-bottom:8px;
    font-size:.74rem;
  }
  .shop-promo__features li::before{
    top:8px;
  }
  .landing-section-head--row{
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
  }
  .footer-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    margin:0;
    gap:0 14px;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .footer-links a{
    border-bottom:1px solid rgba(255,255,255,.08);
    padding:10px 0;
    font-size:.78rem;
  }
  .site-footer{
    padding:18px 0 22px;
  }
  .site-footer__inner{
    gap:14px;
  }
  .site-footer__inner p{
    width:100%;
    flex:0 0 auto;
  }
  .site-footer__inner > span{
    width:100%;
    padding-top:2px;
    font-size:.75rem;
  }
  .content-body #ez-toc-container{
    box-sizing:border-box;
    width:100%!important;
    max-width:100%!important;
    padding:15px!important;
  }
  .content-body .ez-toc-title-container{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    width:100%!important;
    max-width:100%;
    gap:8px;
  }
  .content-body .ez-toc-title{
    min-width:0;
    margin:0!important;
  }
  .content-body .ez-toc-title-toggle{
    display:flex!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    flex:0 0 36px;
    overflow:hidden;
  }
  .content-body .ez-toc-title-toggle .ez-toc-btn{
    display:grid!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:34px!important;
    box-sizing:border-box;
    place-items:center;
    padding:0!important;
    overflow:hidden;
  }
  .content-body .ez-toc-js-icon-con,
  .content-body .ez-toc-icon-toggle-span{
    display:flex!important;
    align-items:center;
    justify-content:center;
    max-width:30px;
  }
  .content-body pre{
    -webkit-overflow-scrolling:touch;
    padding:14px;
    font-size:.82rem;
  }
}

@media (max-width:380px){
  .runtime-tabs{
    grid-template-columns:1fr;
  }
  .runtime-controls{
    grid-template-columns:1fr;
  }
  .file-actions{
    grid-template-columns:1fr 1fr;
  }
  .tool-button,.tab-button,.runtime-tab,.runtime-ai-button{
    min-height:40px;
  }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}
