/*
 * ELEVN — Mobile Add Bottom Sheet
 */
@media (max-width: 767px) {
  .elevn-post-actions-menu.elevn-add-sheet.show {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    color: #f7f9fc !important;
    background: #0d1017 !important;
    border: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 0 -18px 60px rgba(0,0,0,.38) !important;
    max-height: 86vh;
    max-height: 86dvh;
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: auto;
    touch-action: pan-y;
    z-index: 99991 !important;
    transform: translate3d(0,104%,0) !important;
    transition: transform 280ms cubic-bezier(.22,1,.36,1) !important;
  }
  .elevn-post-actions-menu.elevn-add-sheet.show.elevn-sheet-animate {
    transform: translate3d(0,0,0) !important;
  }
  .elevn-post-actions-menu.elevn-add-sheet.show::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    display: block;
    width: 38px;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.24);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
  }
  .elevn-add-sheet__inner {
    width: 100%;
    max-height: 86vh;
    max-height: 86dvh;
    box-sizing: border-box;
    padding: 26px 16px calc(18px + env(safe-area-inset-bottom,0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .elevn-add-sheet__inner::-webkit-scrollbar { display:none; }

  .elevn-add-sheet__hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 104px;
    padding: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(54,160,255,.28);
    border-radius: 22px;
    background:
      radial-gradient(circle at 88% 8%,rgba(22,205,255,.18),transparent 38%),
      linear-gradient(135deg,rgba(28,99,255,.20),rgba(20,26,39,.92) 64%);
    box-shadow: 0 16px 42px rgba(0,100,255,.12);
    -webkit-tap-highlight-color: transparent;
  }
  .elevn-add-sheet__hero:active { transform:scale(.994); }
  .elevn-add-sheet__hero-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 54px;
    width:54px;
    height:54px;
    border-radius:17px;
    background:linear-gradient(135deg,#176dff 0%,#1bc8ff 100%);
    box-shadow:0 10px 28px rgba(16,120,255,.24);
  }
  .elevn-add-sheet__hero-icon .white-icon { margin:0 !important; }
  .elevn-add-sheet__hero-copy {
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    min-width:0;
    margin-inline-start:15px;
  }
  .elevn-add-sheet__hero-title {
    color:#fff;
    font-size:26px;
    font-weight:800;
    line-height:1;
    letter-spacing:-.04em;
  }
  .elevn-add-sheet__hero-subtitle {
    margin-top:7px;
    color:rgba(255,255,255,.72);
    font-size:12px;
    font-weight:500;
    line-height:1.3;
  }
  .elevn-add-sheet__hero-arrow {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    margin-inline-start:12px;
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
    border-radius:50%;
    background:rgba(255,255,255,.10);
  }

  .elevn-add-sheet__live {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    margin-top:6px;
    padding:0 8px;
    color:rgba(255,255,255,.84) !important;
    text-decoration:none !important;
    border-bottom:1px solid rgba(255,255,255,.055);
    -webkit-tap-highlight-color:transparent;
  }
  .elevn-add-sheet__live-label {
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
  }
  .elevn-add-sheet__live-dot {
    width:8px;
    height:8px;
    flex:0 0 8px;
    border-radius:50%;
    background:#ff3b4f;
    box-shadow:0 0 0 4px rgba(255,59,79,.10);
  }

  .elevn-add-sheet__section { margin-top:19px; }
  .elevn-add-sheet__section--grow { margin-top:21px; }
  .elevn-add-sheet__section-title {
    margin:0 2px 9px;
    color:rgba(255,255,255,.52);
    font-size:10px;
    font-weight:700;
    line-height:1;
    letter-spacing:.13em;
    text-transform:uppercase;
  }

  .elevn-add-sheet__grid {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  .elevn-add-sheet__tile {
    display:flex;
    align-items:center;
    min-width:0;
    min-height:64px;
    padding:9px 11px;
    cursor:pointer;
    color:rgba(255,255,255,.90);
    font-size:13px;
    font-weight:600;
    line-height:1.25;
    border:1px solid rgba(255,255,255,.055);
    border-radius:16px;
    background:rgba(255,255,255,.038);
    -webkit-tap-highlight-color:transparent;
  }
  .elevn-add-sheet__tile:active { background:rgba(255,255,255,.075); }
  .elevn-add-sheet__tile-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 36px;
    width:36px;
    height:36px;
    margin-inline-end:10px;
    border-radius:12px;
    background:rgba(255,255,255,.055);
  }
  .elevn-add-sheet__tile-icon .action-icon { margin:0 !important; }

  .elevn-add-sheet__rows {
    border-top:1px solid rgba(255,255,255,.05);
  }
  .elevn-add-sheet__row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:50px;
    padding:0 5px;
    cursor:pointer;
    color:rgba(255,255,255,.76) !important;
    text-decoration:none !important;
    border-bottom:1px solid rgba(255,255,255,.05);
    -webkit-tap-highlight-color:transparent;
  }
  .elevn-add-sheet__row:active { color:#fff !important; }
  .elevn-add-sheet__row-main {
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-width:0;
    font-size:13px;
    font-weight:600;
  }
  .elevn-add-sheet__row-main .action-icon {
    flex:0 0 auto;
    margin:0 !important;
    opacity:.70;
  }
  .elevn-add-sheet__chevron {
    flex:0 0 auto;
    margin-inline-start:12px;
    color:rgba(255,255,255,.28);
    font-size:11px;
  }
  html[dir="rtl"] .elevn-add-sheet__direction { transform:rotate(180deg); }

  @media (prefers-reduced-motion: reduce) {
    .elevn-post-actions-menu.elevn-add-sheet.show { transition:none !important; }
  }
}
