.opener-cbdb, .shut-1fcb, .tm2f1f-bar { display: none; }

.opener-cbdb { background: #18181b; color: #fef9c3; border-radius: 16px; }
.shut-1fcb { color: #18181b; border: 1px solid #18181b; border-radius: 16px; }

@media (max-width: 880px) {
  .tm2f1f-bar { display: flex !important; flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; position: relative; z-index: 99999; flex-wrap: wrap; max-width: 100%; box-sizing: border-box; }
  .mi-logo-bar { display: inline-flex !important; align-items: center; line-height: 0; flex: 1 1 auto; min-width: 0; max-width: 70%; }
  .mi-logo-bar img { display: block; max-height: 50px; max-width: 100%; height: auto; width: auto; }
  .opener-cbdb { display: inline-flex !important; align-items: center; gap: 8px; cursor: pointer; padding: 10px 14px; background: #18181b; color: #fef9c3; border: 0; border-radius: 16px; font-size: 16px; font-family: inherit; flex: 0 0 auto; }
  .opener-cbdb .ic { font-size: 20px; line-height: 1; }
  .shut-1fcb { cursor: pointer; padding: 8px 12px; background: transparent; color: #18181b; border: 1px solid #18181b; border-radius: 16px; font-size: 15px; font-family: inherit; margin-bottom: 10px; display: inline-block; }
  #tm2f1f { display: none !important; padding: 16px; background: #ffffff; border: 1px solid #e4e4e7; border-radius: 16px; margin-top: 10px; max-width: 100%; box-sizing: border-box; }
  #tm2f1f.on { display: block !important; }
  #tm2f1f > ul { list-style: none; padding: 0; margin: 0; }
  #tm2f1f > ul > li { border-bottom: 1px solid #e4e4e7; position: relative; }
  #tm2f1f > ul > li:last-child { border-bottom: 0; }
  #tm2f1f > ul > li > a { display: block; padding: 14px 16px; color: #18181b; text-decoration: none; font-size: 16px; }
  #tm2f1f > ul > li.has-children > a::after { content: ' ▾'; opacity: 0.6; font-size: 13px; }
  #tm2f1f ul.sub { list-style: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #f4f4f5; }
  #tm2f1f > ul > li.open > ul.sub { max-height: 1000px; }
  #tm2f1f ul.sub > li { border-bottom: 1px solid #e4e4e7; }
  #tm2f1f ul.sub > li:last-child { border-bottom: 0; }
  #tm2f1f ul.sub > li > a { display: block; padding: 12px 20px; color: #18181b; text-decoration: none; font-size: 15px; }
  #tm2f1f > ul > li.mi-logo { border-bottom: 1px solid #e4e4e7; padding: 16px; display: flex; align-items: center; }
  #tm2f1f > ul > li.mi-logo a { padding: 0; display: inline-flex; align-items: center; line-height: 0; }
  #tm2f1f > ul > li.mi-logo img { display: block; height: auto; width: auto; max-width: 240px; }
  #tm2f1f > ul > li.mi-sep { border-bottom: 1px solid #e4e4e7; height: 1px; padding: 0; margin: 0; }
  #tm2f1f > ul > li.mi-search { padding: 14px 16px; border-bottom: 1px solid #e4e4e7; }
  #tm2f1f > ul > li.mi-search form { display: flex; gap: 6px; margin: 0; }
  #tm2f1f > ul > li.mi-search input { flex: 1; padding: 8px 10px; border: 1px solid #e4e4e7; border-radius: 16px; font-size: 15px; font-family: inherit; min-width: 0; }
  #tm2f1f > ul > li.mi-search button { padding: 8px 10px; background: #18181b; color: #fef9c3; border: 0; border-radius: 16px; cursor: pointer; font-size: 15px; flex: 0 0 auto; }
}

@media (min-width: 881px) {
  .opener-cbdb, .shut-1fcb, .tm2f1f-bar { display: none !important; }
  #tm2f1f { display: block !important; padding: 0 !important; background: transparent !important; border: 0 !important; margin: 0 !important; overflow: visible !important; position: static !important; inset: auto !important; transform: none !important; width: auto !important; max-width: 100% !important; max-height: none !important; box-sizing: border-box !important; }
  #tm2f1f > ul { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; align-items: center; max-width: 100%; box-sizing: border-box; }
  #tm2f1f > ul > li { border: 0 !important; position: relative; flex: 0 0 auto; min-width: 0; }
  #tm2f1f > ul > li > a { display: inline-block; padding: 14px 16px; color: #18181b; text-decoration: none; font-size: 16px; border-radius: 16px; transition: background 0.2s; white-space: nowrap; }
  #tm2f1f > ul > li > a:hover { background: #f4f4f5; }
  #tm2f1f > ul > li.has-children > a::after { content: ' ▾'; opacity: 0.55; font-size: 13px; }
  #tm2f1f ul.sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #ffffff; border: 1px solid #e4e4e7; border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); padding: 6px 0; margin: 0; list-style: none; z-index: 99999; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.25s; pointer-events: none; }
  #tm2f1f > ul > li.has-children:hover > ul.sub, #tm2f1f ul.sub:hover, #tm2f1f > ul > li.has-children:focus-within > ul.sub, #tm2f1f > ul > li.has-children.open > ul.sub { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s; }
  #tm2f1f ul.sub > li { border: 0 !important; width: 100%; }
  #tm2f1f ul.sub > li > a { display: block !important; padding: 12px 14px !important; color: #18181b !important; text-decoration: none; font-size: 15px; white-space: nowrap; border-radius: 0 !important; transition: background 0.15s; }
  #tm2f1f ul.sub > li > a:hover { background: #f4f4f5; }
  #tm2f1f > ul > li.mi-logo { border: 0 !important; padding: 0 16px 0 0 !important; margin-right: 6px; display: flex; align-items: center; }
  #tm2f1f > ul > li.mi-logo a { padding: 0 !important; display: inline-flex; align-items: center; line-height: 0; background: transparent !important; }
  #tm2f1f > ul > li.mi-logo a:hover { background: transparent !important; }
  #tm2f1f > ul > li.mi-logo img { display: block; max-width: 200px; height: auto; width: auto; max-height: 60px; }
  #tm2f1f > ul > li.mi-sep { width: 1px; height: 22px; background: #e4e4e7; padding: 0 !important; margin: 0 6px !important; border: 0 !important; align-self: center; }
  #tm2f1f > ul > li.mi-search { border: 0 !important; padding: 0 !important; margin: 0 0 0 10px; flex: 0 1 auto; min-width: 0; }
  #tm2f1f > ul > li.mi-search form { display: flex; gap: 4px; margin: 0; align-items: center; flex-wrap: nowrap; }
  #tm2f1f > ul > li.mi-search input { padding: 6px 10px; border: 1px solid #e4e4e7; border-radius: 16px; font-size: 15px; font-family: inherit; width: 140px; min-width: 0; max-width: 180px; }
  #tm2f1f > ul > li.mi-search button { padding: 6px 10px; background: #18181b; color: #fef9c3; border: 0; border-radius: 16px; cursor: pointer; font-size: 15px; flex: 0 0 auto; }
}
