/* =====================================================================
   ONE HUB · mobil (≤ 760px)
   Clădirea sus, foaie de sticlă cu conținutul, cinci butoane rotunde jos.
   Ținte tactile de minimum 44px.
   ===================================================================== */
.mtab{display:none}
.mo-me{display:flex;align-items:center;gap:14px;width:100%;margin:14px 0 6px}
.mo-me .avatar{width:46px;height:46px}
.mo-me b{display:block;font-weight:500}

@media (max-width:1023px),(max-height:679px){
  #world{inset:6px;border-radius:28px}
  #world canvas{border-radius:28px}

  /* ---------- navigația de jos: cercuri de sticlă, activul devine pastilă albă ---------- */
  .topbar .hq-rail{display:none!important}
  .mtab{display:flex;position:fixed;z-index:70;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom));justify-content:center;align-items:center;gap:8px;pointer-events:none}
  .mtab > *{pointer-events:auto;min-width:56px;height:56px;padding:0;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;
    background:rgba(34,34,34,.6);backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 0 0 1px rgba(255,255,255,.14),0 14px 30px -10px rgba(0,0,0,.65);transition:background .3s,color .3s,padding .4s var(--ease)}
  .mtab span{display:none;font-size:13px;font-weight:600;white-space:nowrap}
  .mtab .on{padding:0 20px;height:60px;background:#fff;color:#1b1b1b}
  .mtab .on span{display:block}

  /* ---------- antet ---------- */
  body.in-app .topbar{top:16px;left:16px;right:16px}
  .topbar .logo{height:46px;padding:0 16px}
  .topbar .logo span{display:none}
  .topbar .logo img{height:21px}
  .loc-switch,.me,[data-inboxbtn]{display:none!important}
  .tb-icon,.tb-search{width:46px;height:46px}

  /* ---------- acasă: foaie de sticlă peste scenă ---------- */
  body.ambient main.view{padding:0 6px!important}
  .hq.hm{position:relative;inset:auto;overflow:visible;pointer-events:auto;z-index:2;margin-top:40vh;padding:26px 16px 120px;border-radius:30px 30px 0 0;min-height:60vh;
    display:flex;flex-direction:column;gap:16px;
    background:linear-gradient(180deg,rgba(60,60,58,.55),rgba(20,20,20,.94) 34%);backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 -20px 50px -20px rgba(0,0,0,.5)}
  .hq.hm::before{content:"";position:absolute;top:10px;left:50%;width:44px;height:4px;margin-left:-22px;border-radius:4px;background:rgba(255,255,255,.7)}
  .hm-ask,.gh-left,.gh-right,.gh-band{position:static;width:auto;left:auto;right:auto;top:auto;bottom:auto}
  .hm-ask{order:1}.gh-band{order:2}.gh-right{order:3}.gh-left{order:4}
  .hm-ask h1{font-size:30px;margin:0 0 14px;text-shadow:none}
  .gh-band{background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;padding:0;border-radius:0;gap:16px}
  .gh-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .gh-quick button{height:54px;justify-content:flex-start;background:rgba(255,255,255,.08)}
  .gh-quick button:first-child{grid-column:span 2;justify-content:center}
  .gh-cards{grid-template-columns:1fr!important;gap:8px}
  .gh-item,.gh-item:nth-child(3){display:flex}
  .gh-left{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  .gh-mini{display:flex!important;grid-column:span 2}
  .gh-big b{font-size:44px}
  .gh-ringwrap{width:104px;height:104px}
  .hq-callout{display:none!important}

  /* ---------- pagini de conținut ---------- */
  .page-head,.hv-hero{min-height:40vh;padding:84px 12px 18px;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:14px}
  .page-head h1,.hv-hero h1{font-size:36px}
  .page-head p,.hv-hero p{font-size:14px}
  .page-head > div:first-child,.hv-hero > *{max-width:100%}
  .hv-meta{flex-wrap:wrap;margin:14px 0}
  .hv-meta > div{padding:9px 13px}
  .hv-meta b{font-size:17px}
  .hv-actions{width:100%}
  .hv-actions .hq-cta{flex:1}
  .pg-body{border-radius:28px 28px 0 0;padding:16px 14px 120px;position:relative;z-index:2}
  .grid,.g-2,.g-3,.g-main{grid-template-columns:1fr!important}
  .grid.g-4{grid-template-columns:1fr 1fr!important}
  .card,.floor{padding:18px!important;border-radius:22px!important}
  .card{overflow-x:auto}
  .hv-block{margin-top:26px}
  .hv-block-head{flex-wrap:wrap;gap:10px}
  .hv-block-head .btn{margin-left:0}
  .hv-rows li{grid-template-columns:52px 1fr!important;gap:12px;padding:14px!important}
  .hv-rows .n,.hv-rows .s,.hv-rows .a{display:none}
  .hv-rows .d b{font-size:26px}
  .hv-rows .t b{font-size:16px}
  .pf-row3{grid-template-columns:40px 1fr!important}
  .pf-res li{grid-template-columns:1fr auto!important}
  .pf-res .a{display:block!important}
  .tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap}
  .tabs button{white-space:nowrap;flex:none}
  .pf-filters > div{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
  .pf-chip{white-space:nowrap;flex:none}
  .btn,.hq-cta,.pf-chip,.gh-quick button{min-height:44px}
  .btn-sm{min-height:38px}
  .kanban{grid-template-columns:1fr}
  .journey{grid-template-columns:1fr 1fr;gap:18px 8px;padding-top:0}
  .journey .track{display:none}
  .mm{min-width:520px}
  .pf-cal{grid-template-columns:44px repeat(5,112px);overflow-x:auto}
  table.t{display:block;overflow-x:auto;white-space:nowrap}
  .startup-card{grid-template-columns:1fr 92px}
  .hq-sheet-cols{grid-template-columns:1fr}
  .pf-next b{font-size:18px}
  .hm-find input{font-size:16px}       /* 16px: fără zoom automat la focus pe iOS */
  .visitor{padding:90px 10px 120px}

  /* ---------- spații pe machetă ---------- */
  .hv-title{left:14px;right:14px;width:auto;top:72px;padding:16px}
  .hv-title h1{font-size:28px;margin-bottom:10px}
  .hv-title p,.hv-legend{display:none}
  .hv-floors{margin-top:10px}
  .hv-panel{left:10px;right:10px;width:auto;top:auto;bottom:84px;max-height:40vh;overflow:auto;padding:18px}
  .hv .hq-stats,.hv .hq-dial,.hv .hq-hint{display:none}
  .hq-room{font-size:9px;padding:3px 8px}

  /* ---------- fișe și suprapuneri: urcă de jos ---------- */
  .overlay{align-items:flex-end}
  .sheet{width:100%;margin:0;height:92vh;border-radius:30px 30px 0 0;padding:22px 18px 40px;transform:translateY(60px)}
  .overlay.on .sheet{transform:none}
  .sheet h2{font-size:28px}
  .pal-wrap{padding-top:0;align-items:stretch}
  .pal{width:100%;border-radius:0;min-height:100%}
  .pal-res{max-height:none}
  .pop{left:12px;right:12px;width:auto;top:72px}
  #toast-root{top:74px;width:calc(100% - 32px)}
  .toast{font-size:12.5px}

  /* ---------- landing ---------- */
  .l-nav{padding:16px}
  .brand{height:46px}.brand span{display:none}
  .l-copy{left:20px;right:20px;bottom:84px}
  .l-title{font-size:40px}
  .l-sub{font-size:14px}
  .l-pillars{grid-template-columns:1fr;padding:40px 20px;margin:0 6px}
  .l-roles{padding:60px 20px 110px;margin:0 6px}
  .l-foot{margin:0 6px}
  .role-row{grid-template-columns:44px 1fr 28px;padding:18px 4px}
}

@media (max-width:1023px),(max-height:679px){
  /* titlul paginii stă pe un gradient, ca textul să rămână lizibil peste machetă */
  .page-head,.hv-hero{background:linear-gradient(180deg,transparent 34%,rgba(14,14,14,.72));border-radius:0 0 26px 26px;margin:0 -6px;padding-left:18px;padding-right:18px}
  .page-head p,.hv-hero p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

@media (max-width:1023px),(max-height:679px){
  .page-head,.hv-hero{min-height:56vh}
  .hv-panel{background:rgba(22,22,22,.9)!important;max-height:36vh}
}
