/*
  Aapview Labs — responsive system
  Loaded last on every public page.
  Breakpoints are content-driven rather than device-specific:
  1180 / 1024 / 900 / 768 / 640 / 480 / 360.
*/

/* ---------- universal layout safety ---------- */
html{min-width:320px;max-width:100%;overflow-x:hidden}
body{max-width:100%;overflow-x:hidden}
img,video,canvas,svg{max-width:100%}
img,video{height:auto}
table{max-width:100%}
pre,code{max-width:100%}
:where(
  .hero-layout,.product-duo,.section-heading,.module-grid,.rack-layout,.rack-grid,
  .principle-grid,.proof-panel,.about-layout,.action-console,.footer-grid,
  .dq-nav,.dq-hero-grid,.dq-screen-main,.dq-feature-grid,.dq-flow,.dq-price-wrap,
  .dq-resource-grid,.dq-resource-meta,.dq-doc-grid,.dq-support-grid,.dq-footer-grid,
  .sv-hero-grid,.sv-reels,.sv-template-grid,.sv-metrics,.rm-proof,.rm-cap-grid,
  .rm-feature-split,.rm-plan-grid,.rm-metric-band,.rm-doc-grid-2,.rm-ui-workspace
)>*{min-width:0}
:where(.control-btn,.dq-btn,.sv-home-cta){max-width:100%}
:where(.dq-article,.dq-guide-article,.proof-copy,.about-copy,.action-copy) :where(a,p,li,td,th){
  overflow-wrap:break-word;
  word-break:normal;
}

/* ---------- large laptop / small desktop ---------- */
@media(max-width:1180px){
  .shell{width:min(100% - 44px,1120px)}
  .hero-layout{gap:44px}
  .commerce-console{min-width:0}
  .section-heading{gap:40px}
  .product-duo{gap:16px}
  .product-duo>.discount-machine,.product-duo>.sv-home-product{min-height:610px}
  .principle-card{min-height:300px}

  .dq-hero-grid,.sv-hero-grid{gap:42px}
  .dq-price-wrap{gap:44px}
  .dq-doc-grid{gap:28px}
  .dq-article{min-width:0}
}

/* ---------- tablet landscape ---------- */
@media(max-width:1024px){
  .shell{width:min(100% - 36px,1120px)}

  /* Homepage */
  .hero-layout{gap:34px}
  .hero-copy h1{font-size:clamp(50px,7vw,66px)}
  .console-display{height:360px}
  .routing-map{height:300px}
  .section-heading{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:30px}
  .product-duo{grid-template-columns:1fr}
  .product-duo>.discount-machine,.product-duo>.sv-home-product{min-height:0}
  .product-duo .discount-machine .machine-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;grid-template-rows:auto}
  .product-duo .discount-machine .machine-copy{min-height:0}
  .product-duo .discount-machine .machine-interface{align-self:center}
  .sv-home-content{min-height:0}
  .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .principle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .principle-card{padding:20px;min-height:280px}
  .embossed-icon{margin-top:38px}
  .footer-grid{gap:28px 20px}

  /* Product families */
  .dq-hero-grid,.sv-hero-grid{grid-template-columns:1fr;gap:38px}
  .dq-machine,.sv-stage{width:min(100%,760px);margin-inline:auto}
  .dq-price-wrap{grid-template-columns:1fr minmax(330px,.72fr);gap:32px}
  .dq-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rm-cap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rm-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rm-metric-band{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ---------- tablet portrait ---------- */
@media(max-width:900px){
  .shell{width:min(100% - 32px,1120px)}

  /* Homepage header/hero */
  .site-header{left:0;right:0}
  .nav-chassis{width:100%}
  .hero-layout{grid-template-columns:1fr;gap:34px}
  .hero-copy{max-width:720px}
  .commerce-console{width:min(100%,760px);margin-inline:auto}
  .status-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-heading{grid-template-columns:1fr;gap:14px}
  .section-heading>p{max-width:680px}
  .product-duo .discount-machine .machine-layout{grid-template-columns:1fr!important;grid-template-rows:auto auto}
  .product-duo .discount-machine .machine-interface{width:100%}
  .dq-home-main{grid-template-columns:96px minmax(0,1fr)}
  .dq-home-logo{width:92px}
  .sv-home-main{grid-template-columns:96px minmax(0,1fr)}
  .product-duo .sv-home-logo{width:92px!important}
  .rack-layout,.proof-panel,.about-layout{grid-template-columns:1fr}
  .rack-copy,.proof-copy,.about-copy{max-width:720px}

  /* Product headers + documents */
  .dq-links{display:none!important}
  .dq-nav{gap:12px}
  .dq-brand{min-width:0}
  .dq-home{margin-left:auto}
  .dq-doc-grid{grid-template-columns:1fr!important;gap:20px}
  .dq-doc-nav{
    position:static!important;
    top:auto!important;
    display:flex!important;
    flex-wrap:nowrap;
    gap:7px!important;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    padding:10px!important;
    border:1px solid #dce2eb;
    border-radius:12px;
    background:#fff;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .dq-doc-nav::-webkit-scrollbar{display:none}
  .dq-doc-nav strong{display:none!important}
  .dq-doc-nav a{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    min-height:38px;
    padding:0 11px!important;
    margin:0!important;
    border:1px solid #e2e7ee;
    border-radius:8px;
    background:#f8fafc;
    white-space:nowrap;
    font-size:10.5px;
  }
  .dq-price-wrap{grid-template-columns:1fr;gap:28px}
  .dq-price-card{max-width:640px}
  .rm-proof,.rm-feature-split{grid-template-columns:1fr}
}

/* ---------- large phones / small tablets ---------- */
@media(max-width:768px){
  .shell{width:min(100% - 28px,1120px)}
  .section{padding:70px 0}

  /* Homepage */
  .site-header{top:10px}
  .nav-chassis{height:60px;padding-inline:10px}
  .brand{min-width:0}
  .brand-copy strong{font-size:12px}
  .hero{padding:112px 0 62px}
  .hero-copy h1{font-size:clamp(44px,10vw,58px);line-height:1.01}
  .hero-copy>p{font-size:15px;line-height:1.65}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}
  .hero-actions .control-btn{width:100%;justify-content:space-between}
  .spec-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  .spec-strip div{min-width:0}
  .spec-strip strong,.spec-strip small{white-space:nowrap}
  .commerce-console{padding:14px}
  .console-display{height:335px}
  .routing-map{height:280px}
  .route-node{width:100px}
  .route-core{width:102px;height:102px}
  .core-ring{width:74px;height:74px}
  .status-rail{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 16px}
  .status-rail span{min-width:0;justify-content:flex-start;padding:8px 4px}
  .status-rail span:nth-child(2){border-right:0}
  .section-heading h2,.about-layout h2{font-size:clamp(30px,7vw,38px)}
  .module-grid,.principle-grid{grid-template-columns:1fr}
  .system-module,.principle-card{min-height:0}
  .module-screen{margin-top:26px}
  .embossed-icon{margin:30px 0 20px}
  .action-console{grid-template-columns:1fr;gap:20px;padding:38px 24px}
  .action-console .control-btn{justify-self:start}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-brand{grid-column:1/-1}

  /* Homepage products */
  .product-duo .discount-machine,.product-duo .sv-home-product{padding:11px}
  .product-duo .discount-machine .machine-copy{padding:10px 8px 4px}
  .dq-home-main{grid-template-columns:78px minmax(0,1fr);gap:12px}
  .dq-home-logo{width:74px;border-radius:17px}
  .product-duo .discount-machine .dq-home-copy h3{font-size:31px!important}
  .dq-home-value{font-size:11.5px}
  .product-duo .discount-machine .module-tags{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%
  }
  .product-duo .discount-machine .module-tags span{
    min-width:0;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
  }
  .product-duo .discount-machine .control-btn.compact{width:100%;justify-content:space-between}
  .product-duo .discount-machine .instrument-body{grid-template-columns:1fr!important}
  .product-duo .discount-machine .switch-bank{width:100%}
  .product-duo .discount-machine .margin-meter{grid-template-columns:1fr!important}
  .product-duo .discount-machine .interface-footer{
    display:flex!important;gap:10px;overflow-x:auto;scrollbar-width:none
  }
  .product-duo .discount-machine .interface-footer::-webkit-scrollbar{display:none}
  .product-duo .discount-machine .interface-footer span{flex:0 0 auto;white-space:nowrap}
  .sv-home-main{grid-template-columns:78px minmax(0,1fr);gap:12px}
  .product-duo .sv-home-logo{width:74px!important}
  .sv-home-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .sv-home-tags span{text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .product-duo .sv-home-cta{width:100%;justify-content:space-between}
  .sv-home-visual-foot{grid-template-columns:1fr 1fr}
  .sv-home-visual-foot span:nth-child(3){display:none}

  /* Shared product-site header */
  .dq-header{padding-top:10px}
  .dq-nav{min-height:58px;padding:8px 9px}
  .dq-brand-copy small{display:none}
  .dq-home{min-height:42px}
  .sv-header-product{display:none!important}

  /* Product hero */
  .dq-hero,.sv-hero{padding:54px 0 62px}
  .dq-hero h1,.sv-hero h1{font-size:clamp(42px,10vw,58px);line-height:1}
  .dq-hero-copy>p,.sv-hero-copy>p{font-size:14px;line-height:1.65}
  .dq-actions{width:100%;gap:10px}
  .dq-actions .dq-btn{min-height:46px}
  .dq-machine,.sv-stage{padding:12px;border-radius:18px}
  .dq-screen,.sv-screen{padding:11px}
  .dq-screen-main{grid-template-columns:1fr;gap:16px}
  .dq-rules{width:100%}
  .dq-meter{min-width:0}
  .sv-reels{
    grid-template-columns:repeat(3,minmax(150px,1fr));
    gap:8px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    padding-bottom:5px;
  }
  .sv-reels::-webkit-scrollbar{display:none}
  .sv-reel{min-width:150px;scroll-snap-align:start}
  .sv-stage-foot{gap:8px;font-size:6px}
  .sv-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .sv-chips span{text-align:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  /* Product sections */
  .dq-section,.dq-price-section{padding:62px 0}
  .dq-feature-grid,.dq-resource-grid,.dq-support-grid,.sv-template-grid,
  .rm-cap-grid,.rm-plan-grid,.rm-metric-band,.rm-doc-grid-2{grid-template-columns:1fr!important}
  .dq-flow{grid-template-columns:1fr}
  .dq-cta{grid-template-columns:1fr!important;flex-direction:column;align-items:flex-start;gap:18px;padding:24px}
  .dq-resource-actions{display:grid;grid-template-columns:1fr;width:100%;gap:9px}
  .dq-resource-actions .dq-btn{width:100%;justify-content:space-between}
  .dq-price-card{width:100%}
  .rm-pricing-actions{width:100%}
  .rm-pricing-actions .dq-btn{width:100%}
  .rm-feature-row{grid-template-columns:1fr;gap:8px}

  /* Resource/legal/tutorial pages */
  .dq-resource-hero,.dq-page-hero{padding:50px 0 44px}
  .dq-resource-hero h1,.dq-page-hero h1{font-size:clamp(34px,8vw,44px)}
  .dq-resource-meta,.sv-resource-meta{grid-template-columns:1fr!important}
  .dq-resource-meta>div,.sv-resource-meta>div{min-height:0;padding:12px 14px}
  .dq-document{padding:38px 0 56px}
  .dq-article,.dq-guide-article{padding:24px 18px;border-radius:14px}
  .dq-article h2{font-size:22px;line-height:1.25}
  .dq-article h3{font-size:16px}
  .dq-article p,.dq-article li{font-size:13.5px;line-height:1.7}
  .dq-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .dq-doc-table{min-width:560px}
  .dq-doc-table th,.dq-doc-table td{padding:11px 12px}
  .dq-callout,.sv-note,.sv-warning,.rm-no-social{padding:14px 15px}

  /* Reelmerce proof/UI */
  .rm-shot{padding:8px;border-radius:14px}
  .rm-ui-preview{grid-template-columns:1fr;min-height:0}
  .rm-ui-sidebar,.rm-ui-template-panel{display:none}
  .rm-ui-workspace{grid-template-columns:1fr;padding:0 8px 8px}
  .rm-ui-topbar b{display:none}
  .rm-ui-tabs{overflow-x:auto;scrollbar-width:none}
  .rm-ui-tabs::-webkit-scrollbar{display:none}
  .rm-ui-tabs span{flex:0 0 auto}
  .rm-ui-reel-row{grid-template-columns:repeat(3,minmax(72px,1fr))}
  .rm-ui-live-foot{flex-wrap:wrap}
  .rm-ui-live-foot b{width:100%;margin-left:0;text-align:center}

  /* Product-site footer */
  .dq-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
  .dq-footer-grid>div:first-child{grid-column:1/-1}
  .dq-footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
}

/* ---------- phones ---------- */
@media(max-width:640px){
  .shell{width:min(100% - 24px,1120px)}

  /* Homepage */
  .nav-chassis{height:58px}
  .brand-copy small{display:none}
  .brand-copy strong{font-size:12px}
  .hero{padding-top:104px}
  .hero-copy h1{font-size:clamp(40px,12vw,50px)}
  .hero-copy h1 br{display:none}
  .hero-actions{grid-template-columns:1fr}
  .spec-strip{grid-template-columns:1fr;gap:7px}
  .spec-strip div{display:flex;justify-content:space-between;align-items:center;padding:8px 0}
  .commerce-console{padding:11px;border-radius:18px}
  .console-topline{height:46px}
  .console-display{height:310px;padding:10px}
  .routing-map{height:258px}
  .route-node{width:88px;padding:7px}
  .route-node span{font-size:7px}
  .route-node small{font-size:6px}
  .route-core{width:90px;height:90px}
  .core-ring{width:66px;height:66px}
  .route-core strong{font-size:29px}
  .console-controls{gap:10px}
  .port-bank{gap:9px}
  .status-rail{grid-template-columns:1fr 1fr}
  .section-heading h2,.about-layout h2{font-size:clamp(29px,8.6vw,36px)}
  .footer-grid{grid-template-columns:1fr 1fr}

  /* Homepage product lockups */
  .dq-home-main,.sv-home-main{grid-template-columns:70px minmax(0,1fr);gap:10px}
  .dq-home-logo{width:66px}
  .product-duo .sv-home-logo{width:66px!important}
  .product-duo .discount-machine .dq-home-copy h3{font-size:28px!important}
  .product-duo .sv-home-copy h3{font-size:28px}
  .dq-home-value,.sv-home-value{font-size:10.8px}
  .product-duo .discount-machine .module-tags{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sv-home-visual-foot{grid-template-columns:1fr}
  .sv-home-visual-foot span,.sv-home-visual-foot span:nth-child(2){justify-content:flex-start}
  .sv-home-visual-foot span:nth-child(3){display:flex;justify-content:flex-start}

  /* Product pages */
  .dq-brand-copy{display:none}
  .dq-mark{width:34px;height:34px;flex-basis:34px}
  .dq-home{
    display:grid;place-items:center;width:42px;height:42px;padding:0;
    font-size:0;flex:0 0 42px
  }
  .dq-home:after{content:'↗';font-size:16px;color:#dce5f5}
  .dq-hero h1,.sv-hero h1{font-size:clamp(38px,12vw,50px)}
  .dq-actions{display:grid;grid-template-columns:1fr}
  .dq-actions .dq-btn{width:100%;justify-content:space-between}
  .dq-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .dq-chips span{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dq-machine-head,.sv-stage-head{font-size:6.3px;letter-spacing:.07em}
  .dq-machine-head small{display:none}
  .dq-dial{width:122px;height:122px}
  .dq-rule{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .dq-rule>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sv-reels{grid-template-columns:repeat(3,142px)}
  .sv-reel{min-width:142px}
  .sv-product-card{min-height:260px}
  .sv-product-media{min-height:178px}

  .dq-section-head h2,.dq-price-copy h2,.dq-cta h2,
  .rm-proof-copy h2,.rm-feature-copy h2,.rm-pricing-head h2{
    font-size:clamp(28px,8.5vw,36px)!important;
    line-height:1.12;
  }
  .dq-price{flex-wrap:wrap}
  .dq-price strong{font-size:44px}
  .dq-price-card{padding:22px 18px}
  .dq-price-card .dq-btn{width:100%}
  .dq-doc-table{min-width:520px}
  .dq-footer-grid{grid-template-columns:1fr}
  .dq-footer-grid>div:first-child{grid-column:auto}
}

/* ---------- small phones ---------- */
@media(max-width:480px){
  .shell{width:min(100% - 20px,1120px)}

  /* Homepage */
  .site-header{top:8px}
  .nav-chassis{height:56px;padding:7px 8px}
  .brand-emblem{width:34px;height:34px}
  .brand-copy{display:none}
  .mobile-nav{left:10px!important;right:10px!important}
  .hero{padding:96px 0 54px}
  .engraved-label{font-size:7px;letter-spacing:.1em}
  .hero-copy h1{font-size:clamp(38px,11.5vw,46px)}
  .hero-copy>p{font-size:14px}
  .control-btn{min-height:46px}
  .commerce-console{padding:9px}
  .console-topline{padding-inline:5px}
  .console-topline strong{font-size:10px}
  .micro,.led-cluster small{font-size:6px}
  .console-display{height:286px;margin-top:12px}
  .display-head{font-size:6px}
  .display-head small{display:none}
  .routing-map{height:238px}
  .route-node{width:80px}
  .route-core{width:82px;height:82px}
  .core-ring{width:58px;height:58px}
  .route-core small{display:none}
  .console-controls{flex-wrap:wrap}
  .port-bank{width:100%;justify-content:space-between}
  .mode-control{margin-left:auto}
  .status-rail{grid-template-columns:1fr;padding:10px 14px}
  .status-rail span{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.05);padding:7px 0}
  .status-rail span:last-child{border-bottom:0}
  .section{padding:60px 0}
  .system-module{padding:20px}
  .routing-rack,.proof-panel{padding:11px}
  .proof-copy{padding:22px 8px}
  .action-console{padding:32px 20px}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
  .footer-bottom{align-items:flex-start}

  /* Homepage products */
  .product-duo .discount-machine,.product-duo .sv-home-product{border-radius:16px;padding:9px}
  .product-duo .discount-machine .machine-plate,.sv-home-plate{height:34px;min-height:34px;padding-inline:6px}
  .machine-id,.machine-live,.sv-home-plate{font-size:6.1px!important;letter-spacing:.05em!important}
  .dq-home-main,.sv-home-main{grid-template-columns:62px minmax(0,1fr);gap:9px}
  .dq-home-logo{width:58px;border-radius:14px}
  .product-duo .sv-home-logo{width:58px!important;border-radius:14px}
  .product-duo .discount-machine .dq-home-copy h3{font-size:25px!important}
  .product-duo .sv-home-copy h3{font-size:25px}
  .dq-home-copy small,.product-duo .sv-home-copy small{font-size:6.4px}
  .dq-home-value,.sv-home-value{font-size:10px;line-height:1.35}
  .product-duo .sv-home-copy p{font-size:10px}
  .product-duo .discount-machine .instrument-panel{padding:10px}
  .product-duo .discount-machine .switch-row{grid-template-columns:minmax(0,1fr) 34px 40px;gap:6px}
  .product-duo .discount-machine .switch-row span{font-size:7.2px}
  .product-duo .discount-machine .margin-meter{padding-inline:2px}

  /* Product families */
  .dq-nav{border-radius:13px}
  .dq-hero,.sv-hero{padding:46px 0 54px}
  .sv-logo-hero{width:108px!important}
  .dq-kicker,.sv-kicker{font-size:7px;letter-spacing:.08em}
  .dq-hero-copy>p,.sv-hero-copy>p{font-size:13.5px}
  .dq-chips span,.sv-chips span{font-size:6.5px;padding:7px 5px}
  .dq-machine,.sv-stage{padding:9px;border-radius:16px}
  .dq-screen,.sv-screen{padding:8px}
  .dq-machine-head span:first-child,.sv-stage-head span:first-child{
    max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
  }
  .sv-stage-head span:last-child{white-space:nowrap}
  .sv-reels{grid-template-columns:repeat(3,136px)}
  .sv-reel{min-width:136px}
  .sv-product-dock strong{font-size:8.5px}
  .sv-stage-foot{display:grid;grid-template-columns:1fr;gap:6px}
  .dq-article,.dq-guide-article{padding:20px 15px}
  .dq-article h2{font-size:20px}
  .dq-article p,.dq-article li{font-size:13px}
  .dq-doc-nav{margin-inline:0}
  .dq-doc-table{min-width:500px}
  .rm-ui-live-head{align-items:flex-start}
  .rm-ui-device{flex:0 0 auto}
  .rm-ui-reel-row{grid-template-columns:repeat(3,minmax(62px,1fr))}
  .rm-ui-video{height:82px}
}

/* ---------- minimum supported width ---------- */
@media(max-width:360px){
  .shell{width:min(100% - 16px,1120px)}
  .hero-copy h1{font-size:36px}
  .route-node{width:74px}
  .route-core{width:76px;height:76px}
  .core-ring{width:54px;height:54px}
  .console-display{height:276px}
  .routing-map{height:228px}

  .dq-home-main,.sv-home-main{grid-template-columns:54px minmax(0,1fr)}
  .dq-home-logo{width:50px}
  .product-duo .sv-home-logo{width:50px!important}
  .product-duo .discount-machine .dq-home-copy h3,
  .product-duo .sv-home-copy h3{font-size:23px!important}
  .dq-home-value,.sv-home-value{font-size:9.5px}

  .dq-hero h1,.sv-hero h1{font-size:36px}
  .dq-home{width:38px;height:38px;flex-basis:38px}
  .dq-doc-table{min-width:480px}
  .sv-reels{grid-template-columns:repeat(3,130px)}
  .sv-reel{min-width:130px}
}

/* ---------- motion / touch ---------- */
@media(hover:none){
  .control-btn:hover,.dq-btn:hover,.sv-home-product:hover,.sv-product-card:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Reelmerce Widget Studio: final mobile containment */
.rm-shot{
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
}
.rm-ui-shot,.rm-ui-preview,.rm-ui-app,.rm-ui-workspace,.rm-ui-live-panel,.rm-ui-storefront{
  width:100%;
  max-width:100%;
  min-width:0;
}
.rm-ui-preview,.rm-ui-app{overflow:hidden}

@media(max-width:768px){
  .rm-proof{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)!important}
  .rm-shot{justify-self:stretch}
  .rm-ui-workspace{grid-template-columns:minmax(0,1fr)!important}
  .rm-ui-live-head>*,
  .rm-ui-reel-row,
  .rm-ui-reel-row article{min-width:0}
  .rm-ui-storefront{overflow:hidden}
}

@media(max-width:480px){
  .rm-shot{padding:6px}
  .rm-ui-reel-row{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%;
    max-width:100%;
    gap:4px;
  }
  .rm-ui-reel-row article{width:auto;min-width:0}
  .rm-ui-video{height:80px}
  .rm-ui-device span{padding:4px;font-size:4.8px}
  .rm-ui-product{padding:4px}
  .rm-ui-product strong{font-size:5.3px}
  .rm-ui-product small,.rm-ui-product b{font-size:4.8px}
}

@media(max-width:360px){
  .rm-ui-device span:not(.active){display:none}
  .rm-ui-video{height:74px}
}
