/**
 * ORKIDEM-SELLER-ORKI-MOBILE-CLOSURE-V25
 * Exact V24 residual closure.
 * Scope: /orki only, <=820px.
 */

@media (max-width: 820px) {

  /* Shared topbar account target on ORKI page only.
     Other seller page families are intentionally untouched. */
  html body.seller-master-v2.seller-master-v2.seller-page--orki-index
  > div.app > header.topbar
  details.smv2-account-menu > summary.account {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box !important;
  }

  /* V24: all six quick prompts are 29px on phones and 31px on tablet.
     Keep current widths/wrapping; repair touch height only. */
  html body.seller-master-v2.seller-master-v2.seller-page--orki-index
  #ana-icerik#ana-icerik
  section.page.orki28-page
  .orki28-main-grid
  .orki28-chat-card
  .orki28-quick-prompts > button {
    min-height: 40px !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* V24: popular topic icon containers are 34px at every tested width.
     Tablet target is <=26px. */
  html body.seller-master-v2.seller-master-v2.seller-page--orki-index
  #ana-icerik#ana-icerik
  section.page.orki28-page
  section.orki28-popular
  .orki28-popular-grid
  > a > span.orki28-topic-icon {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body.seller-master-v2.seller-master-v2.seller-page--orki-index
  #ana-icerik#ana-icerik
  section.page.orki28-page
  section.orki28-popular
  .orki28-popular-grid
  > a > span.orki28-topic-icon
  :is(svg, img, i) {
    width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    max-height: 18px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 600px) {
  /* Phone visual target from V24: <=24px. */
  html body.seller-master-v2.seller-master-v2.seller-page--orki-index
  #ana-icerik#ana-icerik
  section.page.orki28-page
  section.orki28-popular
  .orki28-popular-grid
  > a > span.orki28-topic-icon {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    flex-basis: 24px !important;
  }

  html body.seller-master-v2.seller-master-v2.seller-page--orki-index
  #ana-icerik#ana-icerik
  section.page.orki28-page
  section.orki28-popular
  .orki28-popular-grid
  > a > span.orki28-topic-icon
  :is(svg, img, i) {
    width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    max-height: 16px !important;
  }
}