.avm-hero-controls{padding:16px;border:1px solid #334155;border-radius:16px;background:#0f172a;color:#e2e8f0;min-width:0}
.avm-hero-controls h4{font-size:15px;font-weight:800;color:#ffb800;margin:0 0 8px}
.avm-hero-controls p{font-size:12px;line-height:1.5;color:#cbd5e1;margin:8px 0}
.avm-hero-controls button{min-height:44px;padding:9px 12px;border:1px solid #475569;border-radius:10px;background:#1e293b;color:#f8fafc;font-size:12px;font-weight:700;cursor:pointer;white-space:normal}
.avm-hero-controls button:hover{border-color:#ffb800}
.avm-hero-controls button[aria-pressed=true]{background:#ffb800;color:#0f172a;border-color:#ffb800}
.avm-hero-controls :focus-visible{outline:3px solid #ffb800;outline-offset:3px}
.avm-hero-device,.avm-hero-positions,.avm-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.avm-hero-positions button,.avm-hero-actions button{flex:1 1 100px}
.avm-hero-preview-wrap{display:flex;justify-content:center;background:#020617;border-radius:12px;padding:8px}
.avm-hero-preview{width:100%;position:relative;overflow:hidden;background:#00011b;border-radius:8px;isolation:isolate}
.avm-hero-preview-desktop{aspect-ratio:16/9}.avm-hero-preview-tablet{max-width:420px;aspect-ratio:4/5}.avm-hero-preview-mobile{max-width:240px;aspect-ratio:9/16}
.avm-hero-preview-image,.avm-hero-preview-gradient,.avm-hero-preview-bottom,.avm-hero-preview-black{position:absolute;inset:0;pointer-events:none}
.avm-hero-preview-image{background-size:cover;background-repeat:no-repeat}
.avm-hero-preview-gradient{background:linear-gradient(to right,#00011b,rgba(0,1,27,.85),rgba(0,1,27,.6))}
.avm-hero-preview-bottom{background:linear-gradient(to top,#00011b,transparent,rgba(0,0,0,.5))}
.avm-hero-preview-black{background:#000}
.avm-hero-preview-text{position:relative;display:flex;flex-direction:column;justify-content:center;gap:12px;min-height:100%;padding:8%;color:white;pointer-events:none;overflow-wrap:anywhere;text-shadow:0 2px 5px #000}
.avm-hero-preview-text small{font-size:9px;color:#ffb800;font-weight:bold}.avm-hero-preview-text strong{font-size:clamp(15px,2.5vw,28px);line-height:1.12;max-width:80%}.avm-hero-preview-text span{font-size:11px;max-width:85%;line-height:1.4}
.avm-hero-ranges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.avm-hero-range label{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;margin:6px 0}
.avm-hero-range output{color:#ffb800;white-space:nowrap;font-variant-numeric:tabular-nums}
.avm-hero-range input{display:block;width:100%;min-height:36px;accent-color:#ffb800;cursor:pointer}
@media(max-width:600px){.avm-hero-controls{padding:12px}.avm-hero-ranges{grid-template-columns:1fr}.avm-hero-positions button{flex-basis:calc(33% - 8px)}.avm-hero-preview-text strong{max-width:100%}.avm-hero-preview-text span{max-width:100%}}

/* The image fills the available phone screen without an extra animated crop. */
@media(max-width:1023px){
 [data-hero]{min-height:var(--avm-hero-visible-height,100vh);min-height:var(--avm-hero-visible-height,100svh);width:100%;isolation:isolate}
 [data-hero-content]{min-height:inherit;padding-top:24px;padding-bottom:16px}
 [data-hero-image]{background-size:cover!important;background-repeat:no-repeat;animation:none!important;transform:none!important}
 [data-hero-content]>div:first-child{padding-top:0}
 [data-hero-content]>div:last-child{padding-top:16px}
}
@media(max-width:639px){
 [data-hero-content]{padding-top:20px;padding-bottom:16px}
 [data-hero-content] h1{font-size:clamp(26px,7.2vw,36px);line-height:1.1;margin-bottom:14px}
 [data-hero-content] p{font-size:15px;line-height:1.45;margin-bottom:18px}
 [data-hero-content]>div:first-child>div:first-child{margin-bottom:14px}
 [data-hero-content]>div:first-child>div:first-child>div{max-width:100%;min-width:0}
 [data-hero-content]>div:first-child>div:first-child span{overflow-wrap:anywhere;font-size:10px;letter-spacing:.04em}
 [data-hero-content]>div:first-child>div:nth-last-child(2){gap:10px;margin-bottom:18px}
 [data-hero-content]>div:first-child>div:nth-last-child(2)>button{padding:12px 16px;font-size:14px;min-height:44px}
 [data-hero-content]>div:first-child>div:last-child{padding-top:14px;gap:8px}
 [data-hero-content]>div:first-child>div:last-child>div{padding:8px;font-size:10px;line-height:1.35}
}
.avm-hero-preview-mobile .avm-hero-preview-image,.avm-hero-preview-tablet .avm-hero-preview-image{animation:none!important;transform:none!important}
