/* All positioning changes are scoped to the eBay screen. */
#ebayModal { top:var(--ebay-top223,0px); bottom:auto; height:var(--ebay-height223,100dvh); padding:0; }
#ebayModal .ebay-sheet { height:calc(var(--ebay-height223,100dvh) - var(--ebay-nav-space223,88px) - var(--safe-bottom)); max-height:calc(var(--ebay-height223,100dvh) - var(--ebay-nav-space223,88px) - var(--safe-bottom)); display:flex; flex-direction:column; }
#ebayModal #ebayResults { flex:1 1 auto; min-height:0; overflow-y:auto; }
#ebayModal #ebayArticleForm { order:10; position:relative; flex:0 0 auto; min-height:52px; margin:8px 0 0!important; padding-top:8px; border-top:1px solid var(--line); background:var(--bg); overflow:visible; }
#ebayArticleForm .ebay-query-input222 { position:relative; min-width:0; width:100%; }
#ebayArticleForm #ebayArticleInput { width:100%; box-sizing:border-box; padding-right:48px; font-size:16px; }
#ebayArticleForm #ebayPhotoButton { position:absolute; right:2px; top:50%; transform:translateY(-50%); width:44px; height:44px; display:flex; align-items:center; justify-content:center; border:0; border-radius:10px; background:transparent; color:var(--blue,#165dff); cursor:pointer; }
#ebayArticleForm #ebayPhotoButton:disabled { opacity:.4; cursor:wait; }
#ebayArticleForm #ebayPhotoButton:focus-visible { outline:2px solid #165dff; outline-offset:-3px; }
#ebayModal.ebay-keyboard223 .ebay-summary-bar,
#ebayModal.ebay-keyboard223 .ebay-filter-row,
#ebayModal.ebay-keyboard223 .ebay-status { display:none; }
/* Removing the approval navigation returns the original number of columns. */
body.buyer-account #mainBottomNav.five-actions { grid-template-columns:repeat(4,minmax(0,1fr)); }
#ebayModal .ebay-sheet { position:relative; }
#ebayCamera224 { position:absolute; inset:0; z-index:5; display:flex; flex-direction:column; gap:6px; padding:max(6px,var(--safe-top,0px)) 0 8px; background:var(--bg,#fff); border-radius:inherit; overflow:hidden; }
#ebayCamera224 header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 10px; min-height:40px; font-size:14px; flex:0 0 auto; }
#ebayCamera224 header .modal-close { width:40px; height:40px; min-width:40px; min-height:40px; padding:0; font-size:26px; border-radius:12px; }
#ebayCameraVideo224 { display:block; width:100%; min-height:0; flex:1 1 0; object-fit:cover; object-position:center; background:#111; border-radius:0; }
#ebayCameraStatus224 { flex:0 0 auto; margin:0 10px; font-size:10px; font-weight:700; line-height:1.3; }
#ebayCamera224 .ebay-camera-options224 { display:flex; gap:8px; margin:0 10px; flex:0 0 auto; }
#ebayCamera224 .ebay-camera-options224 .button { flex:1; min-width:0; height:44px; min-height:44px; padding:0 8px; font-size:11px; line-height:1.15; border-radius:12px; }
#ebayCamera224 .ebay-camera-options224 #ebayCapture224 { flex:1.3; }
