/**
 * Designer Page - Mobile Layout
 * Mobile-optimized styles with enhanced touch support
 */

/* ========== Mobile Variables ========== */
:root {
  --mobile-top-bar-height: 32px;
  --mobile-bottom-toolbar-height: 48px;
  --mobile-tool-icon-size: 44px;
  --mobile-touch-target: 44px;
  --mobile-spacing: 4px;
  --mobile-fab-size: 44px;
  --mobile-faces-height: 48px;
  --mobile-contextual-height: 44px;
  --mobile-sheet-radius: 16px;
}

/* ========== Mobile Layout (< 768px) ========== */
@media (max-width: 767px) {
  /* Force full viewport usage in iframe/embed */
  html,
  body {
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    position: fixed;
    inset: 0;
    overscroll-behavior-x: none;
  }

  .app-container {
    height: 100dvh;
    width: 100%;
  }

  /* ========== Compact Header (slimmed) ========== */
  .compact-header {
    height: var(--mobile-top-bar-height) !important;
    min-height: var(--mobile-top-bar-height) !important;
    padding: 0 8px !important;
  }

  .compact-header-brand {
    font-size: 13px !important;
  }

  /* Hide desktop sidebars on mobile, use bottom sheets instead */
  .products-sidebar,
  .faces-sidebar,
  .preview-sidebar,
  .materials-sidebar {
    display: none !important;
  }

  /* ========== topbar ========== */
  .top-bar {
    height: var(--mobile-top-bar-height);
    padding: 0 12px;
  }

  .app-title {
    font-size: 16px;
  }

  .top-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .top-btn svg {
    width: 16px;
    height: 16px;
  }

  /* ========== Main Content Area ========== */
  .main-workspace {
    flex-direction: column;
    height: 100%;
    width: 100%;
  }

  .center-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }

  /* ========== Canvas Area ========== */
  .canvas-wrapper {
    flex: 1;
    width: 100%;
    padding: var(--mobile-spacing);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    position: relative;
  }

  #designer-container {
    width: calc(100vw - 8px);
    height: calc(100vw - 8px);
    max-width: calc(100dvh - var(--mobile-top-bar-height) - var(--mobile-faces-height) - var(--mobile-bottom-toolbar-height) - 24px);
    max-height: calc(100dvh - var(--mobile-top-bar-height) - var(--mobile-faces-height) - var(--mobile-bottom-toolbar-height) - 24px);
    aspect-ratio: 1;
    touch-action: none;
  }

  /* ========== Bottom Toolbar ========== */
  .toolbar-bottom {
    height: auto;
    min-height: var(--mobile-bottom-toolbar-height);
    padding: 4px 4px;
    border-top: 1px solid var(--border, #e0e0e0);
    background: var(--bg-secondary, #ffffff);
    overflow: hidden;
    flex-shrink: 0;
  }

  /* Hide desktop toolbar rows — mobile module rebuilds them */
  .toolbar-bottom .toolbar-row {
    display: none !important;
  }

  /* ========== Mobile Toolbar Primary Row ========== */
  .mobile-toolbar-primary {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: var(--mobile-bottom-toolbar-height);
    padding: 0 4px;
    gap: 2px;
  }

  .mobile-toolbar-primary .mobile-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: var(--mobile-touch-target);
    height: var(--mobile-touch-target);
    min-width: var(--mobile-touch-target);
    min-height: var(--mobile-touch-target);
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-primary, #333);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.15s ease;
    flex-shrink: 0;
    padding: 0;
  }

  .mobile-toolbar-primary .mobile-tool-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-toolbar-primary .mobile-tool-btn .mobile-tool-label {
    font-size: 9px;
    margin-top: 1px;
    color: var(--text-muted, #666);
    line-height: 1;
  }

  .mobile-toolbar-primary .mobile-tool-btn:active {
    background: var(--bg-elevated, #f0f0f0);
    transform: scale(0.92);
  }

  .mobile-toolbar-primary .mobile-tool-btn.accent {
    color: var(--accent, #06b6d4);
  }

  .mobile-toolbar-primary .mobile-tool-btn.buy-now-btn {
    background: var(--accent-gradient, linear-gradient(135deg, #06b6d4, #3b82f6));
    color: white;
    border-radius: 10px;
    width: auto;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
  }

  /* ========== Mobile Contextual Toolbar ========== */
  .mobile-toolbar-contextual {
    display: none;
    align-items: center;
    justify-content: center;
    height: var(--mobile-contextual-height);
    padding: 0 8px;
    gap: 4px;
    border-bottom: 1px solid var(--border, #e0e0e0);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-toolbar-contextual::-webkit-scrollbar {
    display: none;
  }

  .mobile-toolbar-contextual.visible {
    display: flex;
  }

  .mobile-toolbar-contextual .mobile-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--bg-elevated, #f0f0f0);
    border: none;
    border-radius: 8px;
    color: var(--text-primary, #333);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
  }

  .mobile-toolbar-contextual .mobile-tool-btn svg {
    width: 16px;
    height: 16px;
  }

  .mobile-toolbar-contextual .mobile-tool-btn:active {
    transform: scale(0.9);
  }

  /* ========== Mobile Secondary Toolbar ========== */
  .mobile-toolbar-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0;
    overflow: hidden;
    gap: 4px;
    padding: 0 8px;
    will-change: transform;
    transition: height 0.2s ease;
  }

  .mobile-toolbar-secondary.expanded {
    height: var(--mobile-contextual-height);
    padding: 4px 8px;
  }

  .mobile-toolbar-secondary .mobile-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--bg-elevated, #f0f0f0);
    border: none;
    border-radius: 8px;
    color: var(--text-primary, #333);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
  }

  .mobile-toolbar-secondary .mobile-tool-btn svg {
    width: 16px;
    height: 16px;
  }

  /* ========== Sidebar Header (Faces) ========== */
  .sidebar-header {
    height: 48px;
    padding: 0 var(--mobile-spacing);
    flex-shrink: 0;
  }

  .faces-header-container {
    gap: 8px;
  }

  /* Hide desktop faces list */
  .faces-list-section {
    display: none !important;
  }

  .face-item {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
  }

  /* ========== Mobile FAB Group ========== */
  .mobile-fab-group {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-fab-btn {
    width: var(--mobile-fab-size);
    height: var(--mobile-fab-size);
    min-width: var(--mobile-fab-size);
    min-height: var(--mobile-fab-size);
    border-radius: 12px;
    border: 1px solid var(--border, rgba(255,255,255,0.15));
    background: var(--bg-elevated, rgba(30,30,46,0.9));
    color: var(--text-primary, #e4e4e7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  .mobile-fab-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-fab-btn:active {
    transform: scale(0.9);
  }

  .mobile-fab-btn.active {
    background: var(--accent, #06b6d4);
    color: white;
    border-color: var(--accent, #06b6d4);
  }

  /* ========== Mobile Faces Strip ========== */
  .mobile-faces-strip {
    display: none;
    height: var(--mobile-faces-height);
    padding: 4px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
    gap: 6px;
    align-items: center;
    border-top: 1px solid var(--border, #e0e0e0);
  }

  .mobile-faces-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-faces-strip.visible {
    display: flex;
  }

  .mobile-faces-strip .face-item {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border, #e0e0e0);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mobile-faces-strip .face-item.active {
    border-color: var(--accent, #06b6d4);
  }

  .mobile-faces-strip .face-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ========== Mobile Bottom Sheet ========== */
  .mobile-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .mobile-sheet-overlay.active {
    display: block;
    opacity: 1;
  }

  .mobile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: var(--bg-secondary, #ffffff);
    border-radius: var(--mobile-sheet-radius) var(--mobile-sheet-radius) 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    will-change: transform;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    max-height: 90dvh;
    overflow: hidden;
  }

  .mobile-sheet.open {
    transform: translateY(0);
  }

  .mobile-sheet.peek {
    transform: translateY(70%);
  }

  .mobile-sheet.half {
    transform: translateY(50%);
  }

  /* Sheet drag handle */
  .mobile-sheet-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 6px;
    flex-shrink: 0;
    cursor: grab;
    touch-action: none;
  }

  .mobile-sheet-handle::before {
    content: '';
    width: 36px;
    height: 4px;
    background: var(--border-light, #ccc);
    border-radius: 2px;
  }

  /* Sheet header */
  .mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 12px;
    flex-shrink: 0;
  }

  .mobile-sheet-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #333);
  }

  .mobile-sheet-close {
    width: var(--mobile-touch-target);
    height: var(--mobile-touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted, #666);
    cursor: pointer;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sheet-close:active {
    background: var(--bg-elevated, #f5f5f5);
  }

  /* Sheet body */
  .mobile-sheet-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 12px 16px;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  /* Sheet grid (for materials/products) */
  .mobile-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mobile-sheet-grid .material-item,
  .mobile-sheet-grid .product-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sheet-grid .material-item img,
  .mobile-sheet-grid .product-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
  }

  .mobile-sheet-grid .material-item:active,
  .mobile-sheet-grid .product-item:active {
    transform: scale(0.96);
  }

  /* Sheet preview content */
  .mobile-sheet-preview {
    padding: 0 4px;
  }

  .mobile-sheet-preview .preview-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary, #f5f5f5);
    margin-bottom: 12px;
  }

  .mobile-sheet-preview .preview-image img,
  .mobile-sheet-preview .preview-image canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-sheet-preview .preview-info {
    padding: 0 4px;
  }

  .mobile-sheet-preview .preview-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 4px;
  }

  .mobile-sheet-preview .preview-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent, #06b6d4);
    margin-bottom: 12px;
  }

  .mobile-sheet-preview .preview-variants {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .mobile-sheet-preview .variant-chip {
    padding: 6px 12px;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-primary, #333);
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sheet-preview .variant-chip.active {
    border-color: var(--accent, #06b6d4);
    color: var(--accent, #06b6d4);
    background: var(--accent-light, rgba(6,182,212,0.1));
  }

  /* Skeleton loading for panels */
  .mobile-skeleton {
    background: linear-gradient(90deg,
      var(--bg-tertiary, #f0f0f0) 25%,
      var(--bg-elevated, #e0e0e0) 50%,
      var(--bg-tertiary, #f0f0f0) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
  }

  .mobile-skeleton-card {
    aspect-ratio: 1;
  }

  /* Long press preview tooltip */
  .mobile-long-press-preview {
    position: fixed;
    z-index: 2000;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 2px solid var(--accent, #06b6d4);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .mobile-long-press-preview.visible {
    opacity: 1;
    transform: scale(1);
  }

  .mobile-long-press-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Input font size to prevent iOS auto-zoom */
  input, textarea, select {
    font-size: 16px !important;
  }

  /* ========== Modal Base Styles ========== */
  .mobile-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background: rgba(0, 0, 0, 0.5);
  }

  .mobile-modal.active {
    display: flex;
    align-items: flex-end;
  }

  .mobile-modal-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    animation: fadeIn 0.25s ease-out;
  }

  .mobile-modal-content {
    position: relative;
    width: 100%;
    max-height: 85vh;
    background: var(--bg-secondary);
    border-radius: 16px 16px 0 0;
    animation: slideUp 0.25s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .mobile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg-secondary);
    position: relative;
  }

  /* Drag handle for modal */
  .mobile-modal-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
  }

  .mobile-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    padding-top: 8px;
  }

  .mobile-modal-close {
    width: var(--mobile-touch-target);
    height: var(--mobile-touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-modal-close:active {
    background: var(--bg-elevated);
  }

  .mobile-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
  }

  /* ========== previewmodal ========== */
  .preview-modal .mobile-modal-content {
    max-height: 90vh;
  }

  .preview-3d-container {
    width: 100%;
    height: 60vh;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preview-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-primary);
  }

  .preview-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
  }

  .preview-nav-btn:active {
    background: var(--bg-secondary);
  }

  .preview-face-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
  }

  /* ========== Art Studio modal ========== */
  .art-studio-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .art-studio-tab {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
  }

  .art-studio-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }

  .art-studio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .art-studio-item {
    aspect-ratio: 1;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
  }

  .art-studio-item:active {
    transform: scale(0.95);
  }

  .art-studio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ========== productsselectmodal ========== */
  .product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
  }

  .product-item:active {
    transform: scale(0.98);
  }

  .product-item-image {
    width: 80px;
    height: 80px;
    border-radius: 2px;
    object-fit: cover;
    background: white;
  }

  .product-item-info {
    flex: 1;
  }

  .product-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
  }

  .product-item-price {
    font-size: 14px;
    color: var(--text-secondary);
  }

  .product-item-select {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  /* ========== 材质selectmodal ========== */
  .material-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .material-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
  }

  .material-item:active {
    transform: scale(0.98);
  }

  .material-item.selected {
    background: rgba(42, 59, 76, 0.1);
    border: 1px solid var(--primary-color);
  }

  .material-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
  }

  .material-item.selected .material-radio {
    border-color: var(--primary-color);
  }

  .material-item.selected .material-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--primary-color);
    border-radius: 50%;
  }

  .material-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
  }

  /* ========== 动画 ========== */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  /* ========== Touch Optimization ========== */
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  /* Allow text selection in inputs */
  input,
  textarea,
  [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
  }

  /* Prevent text selection on UI elements */
  button,
  .tool-btn,
  .mobile-tool-btn,
  .product-item,
  .material-item,
  .face-item {
    -webkit-user-select: none;
    user-select: none;
  }

  /* ========== Safe Area Adaptation (iOS) ========== */
  @supports (padding: env(safe-area-inset-bottom)) {
    .toolbar-bottom {
      padding-bottom: calc(4px + env(safe-area-inset-bottom));
    }

    .mobile-sheet {
      padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-toolbar-primary {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }

  /* ========== Landscape Orientation ========== */
  @media (max-width: 767px) and (orientation: landscape) {
    .compact-header {
      height: 28px !important;
      min-height: 28px !important;
    }

    .toolbar-bottom {
      min-height: 40px;
    }

    .mobile-toolbar-primary {
      height: 40px;
    }

    #designer-container {
      width: min(60dvh, 90vw);
      height: min(60dvh, 90vw);
      max-width: none;
      max-height: calc(100dvh - 28px - 40px - 16px);
    }

    .mobile-sheet {
      max-height: 85dvh;
    }

    .mobile-fab-group {
      top: 4px;
      right: 4px;
      gap: 4px;
    }

    .mobile-fab-btn {
      width: 36px;
      height: 36px;
      min-width: 36px;
      min-height: 36px;
    }

    .mobile-faces-strip {
      height: 40px;
    }
  }
}

/* ========== Desktop: hide mobile elements ========== */
@media (min-width: 769px) {
  .mobile-bottom-toolbar,
  .mobile-modal,
  .mobile-fab-group,
  .mobile-faces-strip,
  .mobile-sheet-overlay,
  .mobile-sheet,
  .mobile-toolbar-primary,
  .mobile-toolbar-contextual,
  .mobile-toolbar-secondary,
  .mobile-long-press-preview {
    display: none !important;
  }
}
