/* ATS AIR V3 compact correction — preserve and expose the existing Notes Wall. */
/* Desktop retains the original real interactive wall, notes submission and moderation. */
body.air-visitor-mode #air-experience .air-wall-section{
  display:block!important;
  margin:20px 0 30px;
}
body.air-visitor-mode #air-experience .air-hero{min-height:clamp(310px,38vw,520px)}
body.air-visitor-mode #air-experience .air-hero-inner{padding:38px 18px}
body.air-visitor-mode #air-experience .air-wall-section .air-wall-top{margin-bottom:12px;align-items:center}
body.air-visitor-mode #air-experience .air-wall-top h2{font-size:clamp(25px,3.5vw,44px);margin:0}
body.air-visitor-mode #air-experience .air-wall-top p{font-size:12px}
body.air-visitor-mode #air-experience .air-wall-layout{grid-template-columns:minmax(210px,285px) minmax(0,1fr);gap:13px}
#air-experience .air-wall-actions{display:flex;gap:7px;align-items:center}
#air-experience .air-wall-actions button{
  min-height:39px;border:1px solid #62758b;background:#152739;color:#e8f0f7;
  border-radius:10px;padding:8px 12px;font-size:12px;font-weight:600;cursor:pointer
}
#air-experience .air-wall-actions button:focus-visible,#air-experience .air-note-close:focus-visible{outline:3px solid #dfbc85;outline-offset:3px}
#air-experience .air-wall-actions [hidden],#air-experience .air-note-close[hidden]{display:none!important}
#air-experience #air-wall-collapse,#air-experience #air-note-open,#air-experience #air-wall-expand{display:none}
#air-experience .air-note-close{display:none}
#air-experience .air-wall-guide{margin:7px 0 0!important;font-size:10px}
body.air-visitor-mode #air-experience .air-bottom{padding:15px 0}
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overscroll-behavior:none}
  body.air-visitor-mode{height:100svh;height:100dvh;overflow:hidden!important}
  body.air-visitor-mode #air-experience{
    height:100svh;height:100dvh;min-height:0;max-height:100dvh;width:100%;
    overflow:hidden;padding:0!important;
  }
  body.air-visitor-mode #air-experience .air-wrapper{
    display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;
    height:100%;min-height:0;max-height:100%;width:min(100% - 24px,560px);gap:0;
  }
  body.air-visitor-mode #air-experience .air-top{min-height:0;height:clamp(45px,7dvh,56px);gap:8px;border-bottom:1px solid #ffffff15}
  body.air-visitor-mode #air-experience .air-logo{width:102px;max-height:43px;object-fit:contain}
  body.air-visitor-mode #air-experience .air-toplink{padding:6px 9px;font-size:9px;letter-spacing:.09em}
  body.air-visitor-mode #air-experience .air-hero{
    height:auto;min-height:0!important;margin:0;display:block;overflow:visible;
  }
  body.air-visitor-mode #air-experience .air-hero-inner{
    padding:clamp(8px,1.5dvh,13px) 0 clamp(9px,1.8dvh,16px);
    width:100%;gap:0;display:flex;align-items:center;flex-direction:column
  }
  body.air-visitor-mode #air-experience .air-hero .air-prelaunch{
    font-size:clamp(12px,2.9vw,15px);line-height:1.3
  }
  body.air-visitor-mode #air-experience .air-hero h1{
    font-size:clamp(20px,5.3vw,29px);margin:3px 0 0;line-height:1.34;font-weight:630
  }
  #air-live-indicator{margin:4px 0 0;font-size:10px;line-height:1.2}
  body.air-visitor-mode #air-experience .air-player{
    padding:5px 10px;height:clamp(51px,8dvh,64px);min-height:51px;
    width:min(100%,450px);margin-top:clamp(8px,1.8dvh,15px);gap:9px;
  }
  body.air-visitor-mode #air-experience .air-toggle{width:43px;height:43px;min-width:43px;font-size:17px}
  body.air-visitor-mode #air-experience .air-wave{min-width:43px;max-height:36px;gap:2px}
  body.air-visitor-mode #air-experience .air-wave span{width:2px}
  body.air-visitor-mode #air-experience .air-volume{gap:3px}
  body.air-visitor-mode #air-experience .air-volume input{width:64px;min-width:55px}
  body.air-visitor-mode #air-experience #air-join-open{
    margin-top:clamp(7px,1.5dvh,12px);padding:5px;
    font-size:clamp(13px,3.6vw,17px);line-height:1.35
  }
  body.air-visitor-mode #air-experience .air-wall-section{
    display:grid!important;grid-template-rows:auto minmax(0,1fr);
    position:relative;margin:0;min-height:0;height:100%;padding:0 0 5px;
    align-self:stretch;overflow:hidden;
  }
  body.air-visitor-mode #air-experience .air-wall-section .air-wall-top{
    display:flex;align-items:center;justify-content:space-between;
    gap:6px;min-height:40px;margin:0;padding:4px 0;
  }
  body.air-visitor-mode #air-experience .air-wall-top h2{font-size:clamp(22px,6vw,31px);margin:0;line-height:1}
  body.air-visitor-mode #air-experience .air-wall-top .air-eyebrow{display:none}
  body.air-visitor-mode #air-experience .air-wall-top>p{display:none}
  #air-experience .air-wall-actions{gap:6px;flex:0 0 auto}
  #air-experience #air-note-open,#air-experience #air-wall-expand{display:block}
  #air-experience .air-wall-actions button{font-size:11px;min-height:34px;padding:5px 8px;border-radius:8px}
  body.air-visitor-mode #air-experience .air-wall-layout{
    display:grid!important;grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(0,1fr);min-height:0;height:100%;gap:0;
  }
  body.air-visitor-mode #air-experience .air-wall-layout>div{
    display:flex;flex-direction:column;min-height:0;height:100%;align-self:stretch;max-height:100%;overflow:hidden
  }
  body.air-visitor-mode #air-experience .air-wall{
    display:block;height:100%;min-height:0!important;max-height:100%;border-radius:13px;
    overflow:hidden;flex:1;background:linear-gradient(145deg,#122131,#0b1623)
  }
  body.air-visitor-mode #air-experience .air-wall-guide{display:none}
  body.air-visitor-mode #air-experience .air-postit{
    width:clamp(85px,26vw,109px);min-height:72px;max-height:110px;
    padding:9px 7px 7px;border-radius:5px;transform:rotate(var(--angle));
    box-shadow:2px 5px 10px #0007
  }
  body.air-visitor-mode #air-experience .air-postit p{
    font-size:clamp(10px,2.4vw,12px);line-height:1.35;
    margin:9px 0 3px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden
  }
  body.air-visitor-mode #air-experience .air-postit small{font-size:9px}
  body.air-visitor-mode #air-experience .air-postit-pending-label{font-size:9px;padding:2px}
  body.air-visitor-mode #air-experience .air-postit-admin-remove{font-size:10px;min-height:26px}
  body.air-visitor-mode #air-experience .air-wall-empty{font-size:12px}
  body.air-visitor-mode #air-experience .air-wall-empty strong{font-size:17px}
  body.air-visitor-mode #air-experience .air-bottom{
    min-height:25px;padding:6px 0 max(6px,env(safe-area-inset-bottom));
    font-size:9px;line-height:1.1;letter-spacing:.06em;border-top:0
  }
  body.air-visitor-mode #air-experience .air-floating{display:none!important}
  /* Full wall uses the SAME live nodes and preserves note ownership/drag/moderation. */
  body.air-wall-expanded #air-experience .air-wall-section{
    position:fixed;inset:0;z-index:80;width:100vw;height:100dvh;max-height:100dvh;
    padding:calc(12px + env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));
    background:linear-gradient(145deg,#0e1a29,#07111d);overflow:hidden;
  }
  body.air-wall-expanded #air-experience .air-wall-section .air-wall-top{min-height:51px}
  body.air-wall-expanded #air-experience #air-wall-expand{display:none!important}
  body.air-wall-expanded #air-experience #air-wall-collapse{display:block}
  body.air-wall-expanded #air-experience .air-wall-layout>div{overflow:auto}
  body.air-wall-expanded #air-experience .air-wall{
    min-height:360px!important;max-height:none;height:100%;overflow:hidden;
  }
  body.air-wall-expanded #air-experience .air-postit{
    width:clamp(120px,38vw,174px);min-height:120px;max-height:none;padding:17px 12px 11px
  }
  body.air-wall-expanded #air-experience .air-postit p{font-size:13px;-webkit-line-clamp:unset;overflow:visible}
  body.air-wall-expanded #air-experience .air-wall-admin:not([hidden]){
    display:block;flex:none;max-height:30dvh;overflow:auto;margin-bottom:8px;
  }
  /* Existing note form becomes a sheet; no DOM replacement or request change. */
  body.air-visitor-mode #air-experience .air-note-form{display:none!important}
  body.air-wall-form-open #air-experience::after{
    content:"";position:fixed;inset:0;z-index:110;background:#02060cca;backdrop-filter:blur(7px)
  }
  body.air-wall-form-open #air-experience .air-note-form{
    display:block!important;position:fixed;inset:auto 0 0 0;z-index:120;top:auto;
    width:100vw;max-height:95dvh;overflow:auto;overscroll-behavior:contain;
    border-radius:22px 22px 0 0;padding:27px 21px calc(22px + env(safe-area-inset-bottom));
    box-shadow:0 -18px 65px #0009
  }
  body.air-wall-form-open #air-experience .air-note-close{
    display:grid;place-items:center;position:absolute;inset-inline-end:14px;top:10px;
    width:36px;height:36px;cursor:pointer;background:#142c3f;border:1px solid #687f8e;
    border-radius:50%;color:white;font-size:24px
  }
  body.air-wall-form-open #air-experience .air-note-form h3{font-size:18px;margin:8px 0}
  body.air-wall-form-open #air-experience .air-note-form p{font-size:11px;margin:4px 0}
  body.air-wall-form-open #air-experience .air-note-form label{margin:9px 0 5px}
  body.air-wall-form-open #air-experience .air-note-form textarea{min-height:86px;max-height:120px}
  body.air-wall-form-open #air-experience .air-publish{margin-top:10px;padding:11px}
  /* Retain original admin moderation UI in expanded wall; never show private controls to visitors. */
  body.air-visitor-mode:not(.air-wall-expanded) #air-experience .air-wall-admin:not([hidden]){display:none}
}
@media(max-width:760px) and (max-height:580px){
  body.air-visitor-mode #air-experience .air-top{height:42px}
  body.air-visitor-mode #air-experience .air-hero-inner{padding:5px 0 6px}
  body.air-visitor-mode #air-experience .air-hero h1{font-size:19px}
  body.air-visitor-mode #air-experience .air-hero .air-prelaunch{font-size:11px}
  body.air-visitor-mode #air-experience .air-player{margin-top:5px;min-height:46px;height:46px}
  body.air-visitor-mode #air-experience #air-join-open{margin-top:4px;padding:2px}
  body.air-visitor-mode #air-experience .air-wall-section .air-wall-top{min-height:35px}
  body.air-visitor-mode #air-experience .air-bottom{min-height:21px}
}
@media(prefers-reduced-motion:reduce){
  body.air-visitor-mode #air-experience .air-postit{transition:none!important}
}
