/* ---------- 本页独有：种类 tab / 城市下拉 / 排名列表 ----------
   种类 tab 与 rank.html 的星级 tab 同款视觉（拷贝自 rank.html 的 .md-tabs）。 */
.md-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.md-tab { display: inline-flex; align-items: baseline; gap: 5px; text-decoration: none;
          font-size: .8rem; font-weight: 600; color: #6a5230; background: rgba(255,255,255,.6);
          border: 1px solid rgba(176,135,86,.22); border-radius: 999px; padding: 4px 14px; }
.md-tab:hover { background: rgba(176,135,86,.10); color: #a97c43; }
.md-tab.on { color: #fff; background: linear-gradient(135deg, #c69a5e, #a97c43); border-color: transparent; }
.md-tab em { font-style: normal; font-size: .68rem; opacity: .75; }

/* 城市下拉：跟在页头标题旁，选完即提交（GET 表单，爬虫与无 JS 环境也有 noscript 按钮） */
.md-city-form select { appearance: auto; font-size: .8rem; font-weight: 600; color: #b08756;
                       background: rgba(176,135,86,.08); border: 1px solid rgba(176,135,86,.32);
                       border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.md-city-form select:focus { outline: none; border-color: #b08756;
                             box-shadow: 0 0 0 3px rgba(176,135,86,.15); }

/* 排名列表：ol/li 有序列表语义（排名本身就是列表顺序），行内布局用 flex */
.md-top-list { list-style: none; padding-left: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.md-top-item { display: flex; align-items: center; gap: 12px; padding: 9px 14px;
               background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
               backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
               box-shadow: 0 6px 20px rgba(120,90,40,.07); border-radius: 16px;
               transition: transform .15s ease, box-shadow .15s ease; }
.md-top-item:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(120,90,40,.12); }
.md-top-no { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center;
             justify-content: center; font-size: .84rem; font-weight: 800; color: #8c8273;
             background: rgba(176,135,86,.08); border-radius: 10px; }
/* 前三名金银铜 */
.md-top-item.no-1 .md-top-no { color: #fff; background: linear-gradient(135deg, #d4a843, #b08756); }
.md-top-item.no-2 .md-top-no { color: #fff; background: linear-gradient(135deg, #9aa5b1, #7b8794); }
.md-top-item.no-3 .md-top-no { color: #fff; background: linear-gradient(135deg, #c08a5a, #9c6b43); }
.md-top-main { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px;
               text-decoration: none; flex-wrap: wrap; }
.md-top-name { font-size: .9rem; font-weight: 700; color: #2b1f12; overflow: hidden;
               text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.md-top-item:hover .md-top-name { color: #b08756; }
.md-top-meta { display: flex; align-items: baseline; gap: 10px; flex: none; margin-left: auto;
               font-size: .72rem; color: #8c8273; }
.md-top-meta i { margin-right: 3px; color: #b08756; }
.md-top-star { color: #b08756; letter-spacing: 1px; }
.md-top-cat { font-style: normal; font-size: .66rem; color: #6a5230;
              background: rgba(176,135,86,.08); border-radius: 999px; padding: 1px 8px; }