html[data-mh3-playground-clone] main#main{color:#f7f7f8;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
html[data-mh3-playground-clone] main#main>*{max-width:none!important}
.mh3-page{width:100%;max-width:1210px;margin:0 auto;padding:20px 32px 80px;color:#f7f7f8;box-sizing:border-box}
.mh3-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:40px;color:#8f9197;font-size:14px}
.mh3-breadcrumb a{color:#8f9197;text-decoration:none}.mh3-breadcrumb strong{color:#f7f7f8;font-weight:500}
.mh3-hero{padding:0 0 96px}
.mh3-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,542px);gap:54px;align-items:center}
.mh3-hero-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:0}
.mh3-badges{display:flex;align-items:center;gap:10px;margin-bottom:30px;flex-wrap:wrap}
.mh3-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#25262a;color:#f7f7f8;font-size:13px;line-height:1}
.mh3-badge.video{background:linear-gradient(180deg,#482b3b,#2d2029)}
.mh3-title-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.mh3-title-row h1{display:flex;align-items:center;gap:12px;margin:0;font-size:32px;line-height:1.08;letter-spacing:-.03em}
.mh3-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d9dadd;border-radius:50%;font-size:20px}
.mh3-variant{height:38px;padding:0 14px;border:1px solid #33353a;border-radius:9px;background:#17181b;color:#f7f7f8;font:500 14px/1 inherit}
.mh3-description{max-width:570px;margin:12px 0 0;color:#909298;font-size:14px;line-height:1.45}
.mh3-actions{display:flex;align-items:center;gap:14px;margin-top:30px}
.mh3-action{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:9px;border:1px solid transparent;text-decoration:none;font-size:14px;font-weight:600}
.mh3-action.primary{background:#f7f7f8;color:#1a1a1a}.mh3-action.secondary{background:transparent;color:#f7f7f8}
.mh3-code-card{width:100%;height:224px;min-height:224px;margin:0;padding:12px 12px 10px;border:1px solid #2b2c31;border-radius:12px;background:#1c1d20;box-shadow:inset 0 1px 0 rgba(255,255,255,.02);box-sizing:border-box;overflow:hidden}
.mh3-code-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.mh3-code-lang{padding:6px 10px;border:1px solid #34353a;border-radius:8px;color:#f7f7f8;font-size:12px}
.mh3-code-card pre{height:142px;margin:0;padding:2px 8px;overflow:auto;white-space:pre;color:#f3f3f4;font:12px/1.58 "IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace}
.mh3-code-card .kw{color:#d75b79}.mh3-code-card .str{color:#62c58a}
.mh3-code-copy{display:flex;align-items:center;gap:8px;padding:7px 8px;border:0;background:transparent;color:#d2d3d5;font-size:12px}
.mh3-tabs{display:flex;gap:28px;overflow-x:auto;border-bottom:1px solid #292a2f;margin:0 0 48px}
.mh3-tabs a{position:relative;flex:0 0 auto;padding:14px 0 16px;color:#7f8187;text-decoration:none;font-size:14px}
.mh3-tabs a.active{color:#f7f7f8}.mh3-tabs a.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#f7f7f8}
.mh3-playground-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mh3-workspace{display:grid;grid-template-columns:386px minmax(0,1fr);gap:16px;height:600px;min-width:0}
.mh3-card{min-width:0;height:600px;margin:0;padding:12px;border:0;border-radius:12px;background:#1b1c1f;box-sizing:border-box;overflow:hidden}
.mh3-input-card{display:flex;flex-direction:column}
.mh3-result-card{display:flex;flex-direction:column;padding:0}
.mh3-card-head{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:0 0 12px}
.mh3-result-card .mh3-card-head{min-height:48px;padding:0 12px}
.mh3-card-head h2{margin:0;font-size:15px;font-weight:600}.mh3-reset,.mh3-download{border:0;background:transparent;color:#8f9197;font-size:12px}
.mh3-prompt-wrap{display:block;padding:12px;border-radius:12px;background:#27282c}
.mh3-prompt{display:block;width:100%;height:96px;resize:none;padding:0;border:0;outline:0;background:transparent;color:#fff;font:13px/1.5 inherit;box-sizing:border-box}
.mh3-prompt::placeholder{color:#8f9197}.mh3-label{display:block;margin:0 0 7px;color:#8f9197;font-size:12px}.mh3-required{color:#ff5470}
.mh3-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.mh3-control-pill{display:flex;align-items:center;gap:8px;height:48px;padding:0 12px;border:1px solid #2b2c31;border-radius:10px;background:#27282c;box-sizing:border-box}
.mh3-control-icon{color:#d7d8da;font-size:14px}.mh3-control{min-width:0;width:100%;height:42px;padding:0;border:0;outline:0;background:#27282c;color:#f7f7f8;font:500 14px/1 inherit}
.mh3-route-note{margin:8px 2px 0;color:#888b91;font-size:11px;line-height:1.4}
.mh3-generate{width:100%;height:42px;margin-top:auto;border:0;border-radius:10px;background:#f7f7f8;color:#1a1a1a;font-weight:650}.mh3-generate:disabled{background:#34353a;color:#a3a5aa;cursor:not-allowed}
.mh3-result-video{display:block;width:100%;min-height:0;flex:1;border-radius:0 0 12px 12px;background:#111;object-fit:cover}
.mh3-related{margin-top:52px;overflow:hidden}.mh3-related section{padding:0!important}.mh3-related table{width:100%}.mh3-related table th:nth-child(2),.mh3-related table td:nth-child(2){display:table-cell!important}
@media(max-width:960px){html[data-mh3-playground-clone] body{display:block!important;width:100%!important;height:auto!important;min-height:100%!important}html[data-mh3-playground-clone] #header{position:static!important;width:100%!important;height:0!important;min-height:0!important;overflow:visible!important}html[data-mh3-playground-clone] main#main{width:100%!important;max-width:100%!important}.mh3-page{padding:18px 16px 64px}.mh3-breadcrumb{margin-bottom:26px}.mh3-hero{padding-bottom:48px}.mh3-hero-grid{grid-template-columns:1fr;gap:30px}.mh3-title-row h1{font-size:28px}.mh3-description{max-width:none}.mh3-actions{align-items:stretch;flex-direction:column}.mh3-action{width:100%;box-sizing:border-box}.mh3-code-card{height:286px}.mh3-code-card pre{height:203px}.mh3-tabs{margin-bottom:34px}.mh3-workspace{grid-template-columns:1fr;height:auto}.mh3-card{height:auto;min-height:0}.mh3-input-card{min-height:520px}.mh3-result-card{min-height:360px}.mh3-result-video{aspect-ratio:16/9;flex:none}.mh3-controls{grid-template-columns:1fr}}


/* Current Higgsfield Flash layout parity. */
@media(min-width:961px){
  .mh3-hero{padding-top:33px}
  .mh3-hero-grid{width:calc(100% - 10px);grid-template-columns:minmax(0,542px) minmax(420px,542px);justify-content:space-between}
  .mh3-tabs{height:46px}
  .mh3-tabs a{display:flex;align-items:center;height:46px;padding:0}
  .mh3-label{margin-bottom:0}
  .mh3-prompt{height:72px}
  .mh3-result-video{width:calc(100% - 24px);margin:0 12px 12px;border-radius:8px}
}

.mh3-prompt{height:130px!important;font-size:13px;line-height:1.5}.mh3-advanced{margin-top:20px;font-size:14px}.mh3-advanced summary{cursor:pointer;padding:12px 0}.mh3-advanced label{display:flex;justify-content:space-between;padding:16px;background:#27282c;border-radius:10px}.mh3-promo{display:flex;align-items:center;justify-content:space-between;padding:20px;border-radius:20px;background:linear-gradient(110deg,#263900,#b9e600);margin:30px 0;color:white}.mh3-promo strong{font-size:19px}.mh3-promo p{margin:5px 0 0;font-size:13px}.mh3-promo a{background:white;color:#111;padding:10px 18px;border-radius:10px;text-decoration:none}.mh3-page .mh3-hero{padding-bottom:90px}.mh3-related{overflow-x:auto}.mh3-related table{min-width:600px}html[data-mh3-playground-clone] body{overflow-y:hidden!important}html[data-mh3-playground-clone] main#main{height:100dvh!important;min-height:0!important;overflow-y:auto!important}@media(max-width:960px){.mh3-promo{align-items:flex-start;gap:14px;flex-direction:column}.mh3-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.mh3-control-pill{padding:0 6px}.mh3-page .mh3-hero{padding-bottom:25px}}
