/* 100% Native Metin2 UI Theme for Uzaktan Pazar, Pazar Arama & Hizli Araclar (Pillar 4).
 *
 * Built exclusively from official extracted Metin2 `etc` textures (./shared/metin2-ui/*.png)
 * and genuine Metin2 item pixel icons (./shared/qol-icons/*.png).
 * Zero emojis, zero glassmorphism blur, zero rounded SaaS cards, zero modern web pills.
 */

#m2-qol-launcher,
#m2-qol-overlay {
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 11px;
  color: #e8e2d5;
  text-shadow: 1px 1px 0 #000;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}
#m2-qol-launcher *,
#m2-qol-overlay * {
  box-sizing: border-box;
}

/* --- Native Metin2 Surface Primitives --- */
.m2q-tb {
  border-style: solid;
  border-width: 16px;
  border-image-source: url("./metin2-ui/thinboard_9slice.png");
  border-image-slice: 16 fill;
  border-image-repeat: stretch;
  image-rendering: pixelated;
}
.m2q-tbm {
  border-style: solid;
  border-width: 16px;
  border-image-source: url("./metin2-ui/thinboard_modal_9slice.png");
  border-image-slice: 16 fill;
  border-image-repeat: stretch;
  image-rendering: pixelated;
}

.m2q-rail {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 22px;
  margin-bottom: -6px;
  position: relative;
  z-index: 2;
  pointer-events: none;
  image-rendering: pixelated;
}
.m2q-rail .rl {
  width: 64px;
  height: 22px;
  flex: none;
  background: url("./metin2-ui/chat_bar_left.png") no-repeat left top;
}
.m2q-rail .rm {
  flex: 1;
  height: 22px;
  min-width: 8px;
  background: url("./metin2-ui/chat_bar_middle.png") repeat-x left top;
}
.m2q-rail .rr {
  width: 64px;
  height: 22px;
  flex: none;
  background: url("./metin2-ui/chat_bar_right.png") no-repeat right top;
}

.m2q-hbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 22px;
  padding: 0 8px;
  background:
    url("./metin2-ui/horizontalbar_left.png") no-repeat left center / 24px 22px,
    url("./metin2-ui/horizontalbar_right.png") no-repeat right center / 24px 22px,
    url("./metin2-ui/horizontalbar_center.png") repeat-x center center / 32px 22px;
  image-rendering: pixelated;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffd866;
}

.m2q-btn-close {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  flex: none;
  cursor: pointer;
  background: url("./metin2-ui/close_button_01.png") no-repeat center center;
  image-rendering: pixelated;
}
.m2q-btn-close:hover { background-image: url("./metin2-ui/close_button_02.png"); }
.m2q-btn-close:active { background-image: url("./metin2-ui/close_button_03.png"); }

.m2q-btn {
  appearance: none;
  border: 0;
  padding: 0 9px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: url("./metin2-ui/middle_button_01.png") no-repeat center center / 100% 21px;
  image-rendering: pixelated;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #e4dccb;
  text-shadow: 1px 1px 0 #000;
  cursor: pointer;
  white-space: nowrap;
}
.m2q-btn:hover:not(:disabled) {
  background-image: url("./metin2-ui/middle_button_02.png");
  color: #ffffff;
}
.m2q-btn:active:not(:disabled) {
  background-image: url("./metin2-ui/middle_button_03.png");
}
.m2q-btn:disabled {
  opacity: 0.42;
  cursor: default;
}

.m2q-btn-lg {
  min-width: 88px;
  height: 22px;
  padding: 0 11px;
  background: url("./metin2-ui/large_button_01.png") no-repeat center center / 100% 22px;
}
.m2q-btn-lg:hover:not(:disabled) {
  background-image: url("./metin2-ui/large_button_02.png");
}
.m2q-btn-lg:active:not(:disabled) {
  background-image: url("./metin2-ui/large_button_03.png");
}

.m2q-btn-xl {
  min-width: 150px;
  height: 25px;
  padding: 0 12px;
  background: url("./metin2-ui/xlarge_button_01.png") no-repeat center center / 100% 25px;
}
.m2q-btn-xl:hover:not(:disabled) {
  background-image: url("./metin2-ui/xlarge_button_02.png");
}
.m2q-btn-xl:active:not(:disabled) {
  background-image: url("./metin2-ui/xlarge_button_03.png");
}

.m2q-btn-confirm {
  color: #8bf094;
  box-shadow: inset 0 0 0 1px #5ca363;
}
.m2q-btn-danger {
  color: #f49b8f;
}
.m2q-btn-gold {
  color: #ffd866;
}

/* Native Recessed Slot_Base (34x34 frame with crisp 32x32 pixel icon) */
.m2q-slot {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url("./metin2-ui/slot_base.png") no-repeat center center / 34px 34px;
  image-rendering: pixelated;
}
.m2q-slot img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
}
.m2q-slot-lg {
  width: 42px;
  height: 42px;
  background-size: 42px 42px;
}
.m2q-slot-lg img {
  width: 36px;
  height: 36px;
}
.m2q-slot-cnt {
  position: absolute;
  right: 2px;
  bottom: 1px;
  font-size: 10px;
  font-weight: 700;
  color: #fff6d2;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  line-height: 1;
  pointer-events: none;
}

/* Native Obsidian-Bronze Inputs & Selects */
.m2q-input,
.m2q-select {
  height: 22px;
  padding: 0 6px;
  border: 1px solid #594b39;
  background: #0e0b09;
  color: #f0e7d4;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 11px;
  text-shadow: none;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.75);
}
.m2q-input:focus,
.m2q-select:focus {
  border-color: #c89f52;
  background: #14100c;
}
.m2q-input::placeholder {
  color: #827766;
}
.m2q-select option {
  background: #14100d;
  color: #f0e7d4;
}

/* ============================================================================
 * Compact Native Metin2 Launcher (#m2-qol-launcher)
 * ============================================================================ */
#m2-qol-launcher {
  position: fixed;
  top: 6px;
  left: 210px;
  z-index: 9390;
  display: none;
  pointer-events: auto;
}
#m2-qol-launcher.visible {
  display: block;
}
#m2-qol-launcher.is-dragging {
  z-index: 9430;
  filter: brightness(1.08);
}
.m2q-launcher-in {
  margin: -12px -9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.m2q-grip {
  width: 13px;
  height: 21px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url("./metin2-ui/horizontalbar_center.png") repeat-x center center / 13px 21px;
  border: 1px solid #595247;
  color: #c7bba4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -1px;
  cursor: move;
  touch-action: none;
}
.m2q-grip:hover {
  color: #ffd866;
  border-color: #9e8f75;
}
.m2q-launch-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 3px 0 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #ffd866;
  text-shadow: 1px 1px 0 #000;
  cursor: pointer;
}
.m2q-launch-btn:hover {
  color: #ffffff;
}
.m2q-launch-btn img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
}
.m2q-launch-key {
  color: #b8ae9b;
  font-weight: 400;
  font-size: 10px;
}
.m2q-launch-gold {
  display: none;
  align-items: center;
  gap: 4px;
  padding-left: 5px;
  border-left: 1px solid rgba(168, 152, 120, 0.35);
  color: #9df08e;
  font-size: 10.5px;
  font-weight: 700;
}
.m2q-launch-gold.has-gold {
  display: inline-flex;
}
.m2q-gold-sq {
  width: 6px;
  height: 6px;
  background: #ffd866;
  border: 1px solid #6b4e14;
  display: inline-block;
  flex: none;
}

/* ============================================================================
 * Tabbed Native Metin2 Dragon-Head Window (#m2-qol-overlay / #m2-qol-modal)
 * ============================================================================ */
#m2-qol-overlay {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 3, 0.64);
  pointer-events: auto;
}
#m2-qol-overlay.open {
  display: flex;
}

#m2-qol-modal {
  width: min(94vw, 900px);
  max-height: min(92vh, 660px);
  display: flex;
  flex-direction: column;
}
.m2q-win-body {
  display: flex;
  flex-direction: column;
  max-height: calc(min(92vh, 660px) - 16px);
  background: #14100d;
}
.m2q-win-in {
  margin: -9px -7px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: calc(min(92vh, 660px) - 34px);
}

.m2q-head-l,
.m2q-head-r {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.m2q-head-l img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  display: block;
}
.m2q-head-yang {
  color: #ffd866;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 1px 6px;
  background: rgba(12, 9, 7, 0.72);
  border: 1px solid #5c4c34;
}
.m2q-head-char {
  color: #c7bba4;
  font-size: 10.5px;
  font-weight: 400;
}

/* Native Metin2 Tab Bar */
.m2q-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 5px;
  border-bottom: 1px solid #3f3528;
}
.m2q-tab-btn {
  flex: 1;
  height: 25px;
  padding: 0 10px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: url("./metin2-ui/xlarge_button_01.png") no-repeat center center / 100% 25px;
  image-rendering: pixelated;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #cbc2b0;
  text-shadow: 1px 1px 0 #000;
  cursor: pointer;
}
.m2q-tab-btn:hover {
  background-image: url("./metin2-ui/xlarge_button_02.png");
  color: #ffffff;
}
.m2q-tab-btn.active {
  background-image: url("./metin2-ui/xlarge_button_02.png");
  color: #ffd866;
  box-shadow: inset 0 0 0 1px #c89f52;
}
.m2q-tab-btn img {
  width: 15px;
  height: 15px;
  image-rendering: pixelated;
  display: block;
}
.m2q-tab-note {
  font-size: 10px;
  color: #9df08e;
  font-weight: 700;
}

/* Feedback / Toast Banner inside Modal */
.m2q-feedback {
  display: none;
  padding: 4px 8px;
  border: 1px solid #6b5739;
  background: #1c1610;
  color: #ffd866;
  font-size: 11px;
  font-weight: 700;
}
.m2q-feedback.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.m2q-feedback.ok {
  border-color: #46784b;
  background: #121c13;
  color: #8bf094;
}
.m2q-feedback.warn {
  border-color: #8c6326;
  background: #21180d;
  color: #f7c56a;
}
.m2q-feedback.err {
  border-color: #823c36;
  background: #211110;
  color: #f49b8f;
}

/* Hades Guard Banner */
.m2q-hades-guard {
  display: none;
  padding: 5px 8px;
  border: 1px solid #8a5c22;
  background: #21160a;
  color: #f7c56a;
  font-size: 11px;
  font-weight: 700;
}
.m2q-hades-guard.show {
  display: block;
}

/* Tab Panels */
.m2q-pane {
  display: none;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  flex: 1;
}
.m2q-pane.active {
  display: flex;
}

/* ============================================================================
 * Tab 1 — Pazar Arama
 * ============================================================================ */
.m2q-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 7px;
  background: #100d0a;
  border: 1px solid #3c3226;
  font-size: 11px;
  color: #cfc6b6;
}
.m2q-summary-bar strong {
  color: #ffd866;
}
.m2q-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: #191410;
  border: 1px solid #45392a;
}
.m2q-filter-bar .m2q-select {
  padding: 0 3px;
  font-size: 10.5px;
  max-width: 122px;
}
.m2q-filter-q {
  flex: 1 1 155px;
  min-width: 130px;
}
.m2q-filter-price {
  width: 96px;
  flex: none;
}

.m2q-table-wrap {
  flex: 1;
  min-height: 220px;
  max-height: 392px;
  overflow-y: auto;
  border: 1px solid #473b2c;
  background: #0f0c0a;
}
.m2q-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.m2q-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1f1913;
  border-bottom: 1px solid #594a36;
  padding: 5px 6px;
  text-align: left;
  color: #ffd866;
  font-weight: 700;
  white-space: nowrap;
}
.m2q-table thead th.r {
  text-align: right;
}
.m2q-table tbody tr {
  border-bottom: 1px solid #251f18;
}
.m2q-table tbody tr:nth-child(even) {
  background: rgba(255, 238, 200, 0.02);
}
.m2q-table tbody tr:hover {
  background: rgba(200, 159, 82, 0.11);
}
.m2q-table td {
  padding: 4px 6px;
  vertical-align: middle;
}

.m2q-item-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 240px;
}
.m2q-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.m2q-item-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #f0e7d4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.m2q-item-name.high-plus {
  color: #ffd866;
}
.m2q-item-name.mid-plus {
  color: #e6d39c;
}
.m2q-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.m2q-attr-tag {
  display: inline-block;
  padding: 0 4px;
  background: #1b1712;
  border: 1px solid #493f2f;
  color: #9ec8f2;
  font-size: 10px;
  line-height: 15px;
  white-space: nowrap;
}
.m2q-attr-tag.avg {
  color: #ffd866;
  border-color: #70582c;
}
.m2q-attr-tag.neg {
  color: #e38c84;
}
.m2q-attr-tag.sock {
  color: #8be89a;
  border-color: #3a5c40;
}

.m2q-seller-cell {
  min-width: 150px;
  max-width: 210px;
}
.m2q-seller-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #e4dccb;
}
.m2q-src-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 0 3px;
  border: 1px solid #4d4233;
  background: #1a1510;
}
.m2q-src-tag.offline {
  color: #ffd866;
  border-color: #8a6c2f;
  background: #241b0d;
}
.m2q-src-tag.bot {
  color: #9f9685;
}
.m2q-shop-sub {
  font-size: 10px;
  color: #9e9483;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m2q-price-cell {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffd866;
  white-space: nowrap;
}
.m2q-price-cell.cant-afford {
  color: #e07b72;
}
.m2q-act-cell {
  text-align: right;
  white-space: nowrap;
}
.m2q-act-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.m2q-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
  color: #bfb6a3;
  font-size: 10.5px;
}
.m2q-pager-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m2q-empty {
  padding: 26px 14px;
  text-align: center;
  color: #9f9685;
  font-size: 11px;
}

/* ============================================================================
 * Tab 2 — Uzaktan Pazarim (Zero-Polymorph Offline Shop)
 * ============================================================================ */
.m2q-shop-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 8px;
  background: #191410;
  border: 1px solid #4c3e2c;
}
.m2q-shop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.m2q-shop-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.m2q-state-on {
  color: #8bf094;
  font-weight: 700;
}
.m2q-state-off {
  color: #b8ae9b;
  font-weight: 700;
}
.m2q-bank-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.m2q-bank-val {
  color: #ffd866;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.m2q-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.m2q-title-row label {
  color: #cfc6b6;
  font-weight: 700;
}
.m2q-title-input {
  flex: 1 1 220px;
  min-width: 170px;
}
.m2q-reclaim-lbl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #bfb6a3;
  font-size: 10.5px;
  font-weight: 400;
  cursor: pointer;
}
.m2q-reclaim-lbl input {
  margin: 0;
  accent-color: #c89f52;
}
.m2q-shop-hint {
  font-size: 10px;
  color: #a69c8b;
}

.m2q-shop-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: 0;
  flex: 1;
}
.m2q-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid #473b2c;
  background: #100d0a;
}
.m2q-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 7px;
  background: #1f1913;
  border-bottom: 1px solid #524331;
  color: #ffd866;
  font-weight: 700;
  font-size: 11px;
}
.m2q-col-list {
  flex: 1;
  min-height: 150px;
  max-height: 230px;
  overflow-y: auto;
}
.m2q-inv-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  border-bottom: 1px solid #221c15;
  cursor: pointer;
}
.m2q-inv-row:hover {
  background: rgba(200, 159, 82, 0.10);
}
.m2q-inv-row.selected {
  background: rgba(216, 174, 88, 0.22);
  box-shadow: inset 2px 0 0 #ffd866;
}
.m2q-inv-main {
  flex: 1;
  min-width: 0;
}
.m2q-inv-name {
  font-weight: 700;
  color: #f0e7d4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m2q-inv-sub {
  font-size: 10px;
  color: #9e9483;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m2q-list-composer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 7px;
  background: #18130e;
  border-top: 1px solid #4d3f2d;
}
.m2q-sel-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #ffd866;
  font-weight: 700;
  min-height: 20px;
}
.m2q-sel-summary.none {
  color: #9a907f;
  font-weight: 400;
}
.m2q-price-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.m2q-price-row input {
  flex: 1;
  min-width: 90px;
}
.m2q-price-preview {
  font-size: 10px;
  color: #c8beaa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.m2q-stall-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  border-bottom: 1px solid #221c15;
}
.m2q-stall-price {
  color: #ffd866;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-right: 4px;
}

.m2q-sold-wrap {
  border-top: 1px solid #4d3f2d;
  background: #120e0b;
  display: flex;
  flex-direction: column;
  max-height: 118px;
}
.m2q-sold-list {
  overflow-y: auto;
  flex: 1;
}
.m2q-sold-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 7px;
  border-bottom: 1px solid #201a14;
  font-size: 10.5px;
}
.m2q-sold-item {
  color: #e4dccb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m2q-sold-buyer {
  color: #a69c8b;
}
.m2q-sold-price {
  color: #8bf094;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ============================================================================
 * Tab 3 — Hizli Araclar (Essential Metin2 QoL Pack)
 * ============================================================================ */
.m2q-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 2px 0;
}
.m2q-tool-card {
  display: flex;
  flex-direction: column;
}
.m2q-tool-in {
  margin: -8px -6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 124px;
}
.m2q-tool-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}
.m2q-tool-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.m2q-tool-desc {
  font-size: 11px;
  color: #d6cebe;
  line-height: 1.4;
}
.m2q-tool-stat {
  font-size: 11px;
  font-weight: 700;
  color: #ffd866;
}
.m2q-tool-stat.on {
  color: #8bf094;
}
.m2q-tool-stat.off {
  color: #a89f8d;
}
.m2q-tool-stat.warn {
  color: #f7c56a;
}
.m2q-tool-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 5px;
  border-top: 1px solid #382e23;
}

/* Dark Bronze Scrollbars inside Tables & Lists */
#m2-qol-modal ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
#m2-qol-modal ::-webkit-scrollbar-track {
  background: #0d0a08;
  border-left: 1px solid #2b231a;
}
#m2-qol-modal ::-webkit-scrollbar-thumb {
  background: #4e4131;
  border: 1px solid #201a13;
}
#m2-qol-modal ::-webkit-scrollbar-thumb:hover {
  background: #735e43;
}

@media (max-width: 820px) {
  .m2q-filter-bar {
    flex-wrap: wrap;
  }
  .m2q-shop-split,
  .m2q-tools-grid {
    grid-template-columns: 1fr;
  }
}
