/* Structural showcase themes: market_card and rank_table. */

.showcase-theme-surface{
  display:none;
}
.legacy-theme-surface{
  display:block;
}

html[data-theme="market_card"] body,
html[data-theme="rank_table"] body,
body[data-theme="market_card"],
body[data-theme="rank_table"]{
  --show-blue:#2563eb;
  --show-blue-2:#1d4ed8;
  --show-orange:#f97316;
  --show-text:#111827;
  --show-muted:#6b7280;
  --show-line:#e5e7eb;
  --show-soft:#f8fafc;
  --show-shadow:0 14px 36px rgba(15,23,42,.07);
  color:var(--show-text);
  background:#f8fafc !important;
  background-image:none !important;
  padding-bottom:0;
}
html[data-theme="market_card"] body::before,
html[data-theme="rank_table"] body::before,
body[data-theme="market_card"]::before,
body[data-theme="rank_table"]::before{
  display:none !important;
}
html[data-theme="market_card"] .bg-blobs,
html[data-theme="rank_table"] .bg-blobs,
html[data-theme="market_card"] #festivalCanvas,
html[data-theme="rank_table"] #festivalCanvas,
html[data-theme="market_card"] .mobile-tab-bar,
html[data-theme="rank_table"] .mobile-tab-bar{
  display:none !important;
}
html[data-theme="market_card"] .container,
html[data-theme="rank_table"] .container{
  max-width:none;
  padding:0;
}
html[data-theme="market_card"] .layout,
html[data-theme="rank_table"] .layout{
  display:block;
}
html[data-theme="market_card"] .legacy-theme-surface,
html[data-theme="rank_table"] .legacy-theme-surface{
  display:none;
}
html[data-theme="market_card"] .showcase-market{
  display:grid;
  grid-template-columns:304px minmax(0,1fr);
  min-height:100vh;
}
html[data-theme="rank_table"] .showcase-rank{
  display:block;
  min-height:100vh;
}

html[data-theme="market_card"] .btn,
html[data-theme="rank_table"] .btn{
  color:inherit !important;
  background:none !important;
  box-shadow:none;
  border:0;
  transform:none !important;
  text-shadow:none;
  min-height:0;
  height:auto;
  padding:0;
  border-radius:8px;
}
html[data-theme="market_card"] .btn::before,
html[data-theme="market_card"] .btn::after,
html[data-theme="rank_table"] .btn::before,
html[data-theme="rank_table"] .btn::after,
html[data-theme="market_card"] .ripple,
html[data-theme="rank_table"] .ripple{
  display:none !important;
}

/* Market card theme */
.market-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
  background:#fff;
  border-right:1px solid var(--show-line);
  padding:22px 22px 18px;
}
.market-brand{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:14px;
  align-items:center;
  margin-bottom:22px;
}
.market-logo{
  width:58px;
  height:58px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 8px 20px rgba(15,23,42,.10);
}
.market-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:22px;
  line-height:1.25;
  font-weight:800;
  white-space:nowrap;
}
.market-title span{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 7px;
  border:1px solid #fed7aa;
  border-radius:999px;
  color:#f59e0b;
  font-size:11px;
  font-weight:900;
}
.market-brand p{
  margin-top:5px;
  color:var(--show-muted);
  font-size:13px;
  line-height:1.4;
}
.market-nav{
  display:grid;
  gap:8px;
  margin-bottom:22px;
}
.market-nav-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:46px;
  padding:0 14px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#4b5563;
  font:700 14px/1.2 inherit;
  cursor:pointer;
  text-align:left;
}
.market-nav-item span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.market-nav-item strong{
  color:#64748b;
  font-size:13px;
}
.market-nav-item.is-active,
.market-nav-item:hover{
  background:#eef4ff;
  color:var(--show-blue);
}
.market-filter-box{
  padding:18px 0;
  border-top:1px solid var(--show-line);
  border-bottom:1px solid var(--show-line);
}
.market-filter-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.market-filter-head strong{
  font-size:14px;
}
.market-filter-head button,
.template-filters-reset{
  border:0;
  background:transparent;
  color:#64748b;
  cursor:pointer;
  font:700 12px/1 inherit;
}
.market-switch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin-bottom:14px;
  border:0;
  background:transparent;
  color:#4b5563;
  font:700 13px/1 inherit;
  cursor:pointer;
}
.market-switch i{
  width:36px;
  height:20px;
  border-radius:999px;
  background:#cbd5e1;
  position:relative;
}
.market-switch i::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.18);
}
.market-switch.is-active i{
  background:var(--show-blue);
}
.market-switch.is-active i::after{
  left:19px;
}
.market-filter-box label{
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  align-items:center;
  gap:10px;
  margin-top:12px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}
.market-filter-box select{
  width:100%;
  height:38px;
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fff;
  padding:0 10px;
  color:#475569;
  font:700 13px/1 inherit;
}
.market-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin-top:22px;
  border:1px solid var(--show-line);
  border-radius:8px;
  overflow:hidden;
}
.market-stats div{
  min-height:72px;
  display:grid;
  place-items:center;
  border-right:1px solid var(--show-line);
  background:#fff;
}
.market-stats div:last-child{
  border-right:0;
}
.market-stats strong{
  font-size:20px;
  line-height:1;
}
.market-stats span{
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.market-main{
  min-width:0;
  padding:28px 30px 42px;
}
.market-toolbar{
  display:grid;
  grid-template-columns:minmax(320px,1fr) 150px auto 148px;
  gap:18px;
  align-items:center;
  margin-bottom:28px;
}
.market-search{
  height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fff;
  padding:0 18px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.market-search svg{
  width:22px;
  height:22px;
  fill:#64748b;
}
.market-search input{
  flex:1 1 auto;
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  color:#111827;
  font:700 16px/1.4 inherit;
}
.market-search-submit{
  flex:0 0 auto;
  height:34px;
  padding:0 14px;
  border:0;
  border-radius:8px;
  background:linear-gradient(135deg, var(--show-blue), #38bdf8);
  color:#fff;
  box-shadow:0 8px 18px rgba(22,119,255,.18);
  font:900 13px/1 inherit;
  cursor:pointer;
}
.market-sort,
.rank-filterbar select{
  height:56px;
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fff;
  padding:0 14px;
  color:#374151;
  font:800 14px/1 inherit;
}
.market-view-tabs{
  display:flex;
  height:56px;
  border:1px solid var(--show-line);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.market-view-tabs span{
  min-width:104px;
  display:grid;
  place-items:center;
  border-right:1px solid var(--show-line);
  color:#374151;
  font:800 14px/1 inherit;
}
.market-view-tabs span:last-child{
  border-right:0;
}
.market-view-tabs .is-active{
  background:#eff6ff;
  color:var(--show-blue);
}
.market-help{
  height:56px;
  display:grid;
  place-items:center;
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fff;
  color:#111827;
  text-decoration:none;
  font:800 14px/1 inherit;
}
.market-tabs{
  display:flex;
  align-items:center;
  gap:36px;
  margin-bottom:22px;
  border-bottom:1px solid var(--show-line);
}
.market-tabs button{
  position:relative;
  min-height:46px;
  border:0;
  background:transparent;
  color:#4b5563;
  cursor:pointer;
  font:800 14px/1 inherit;
}
.market-tabs button.is-active,
.market-tabs button:hover{
  color:var(--show-blue);
}
.market-tabs button.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:3px;
  border-radius:999px;
  background:var(--show-blue);
}
.market-result-line{
  margin:-8px 0 16px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}
.market-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.market-card{
  position:relative;
  display:block;
  overflow:hidden;
  background:#fff !important;
  border:1px solid var(--show-line) !important;
  border-radius:8px !important;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.market-card > .template-recommend-corner{
  top:14px;
  left:14px;
  right:auto;
}
.market-card:hover{
  transform:translateY(-2px) !important;
  border-color:#bfdbfe !important;
  box-shadow:var(--show-shadow);
}
.market-preview{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 86px;
  gap:12px;
  align-items:end;
  min-height:260px;
  padding:26px 18px 12px;
  background:linear-gradient(180deg,#fff,#f8fafc);
}
.market-preview::before,
.market-preview::after{
  position:absolute;
  top:16px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
}
.market-preview::before{
  content:"电脑端效果";
  left:18px;
}
.market-preview::after{
  content:"移动端效果";
  right:22px;
}
.market-device{
  display:block;
  min-width:0;
  overflow:hidden;
  background:#fff;
}
.market-laptop{
  width:100%;
  aspect-ratio:16/10;
  border:8px solid #111827;
  border-bottom-width:16px;
  border-radius:12px 12px 7px 7px;
  box-shadow:0 12px 22px rgba(15,23,42,.16);
}
.market-laptop::after{
  content:"";
  display:block;
  height:8px;
  margin:0 -20px -24px;
  background:linear-gradient(180deg,#e5e7eb,#9ca3af);
  border-radius:0 0 18px 18px;
}
.market-phone{
  width:100%;
  aspect-ratio:9/19;
  align-self:center;
  border:7px solid #111827;
  border-radius:24px;
  box-shadow:0 10px 20px rgba(15,23,42,.16);
}
.market-device img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.market-device span{
  height:100%;
  display:grid;
  place-items:center;
  padding:16px;
  color:#94a3b8;
  font-size:12px;
  line-height:1.4;
  text-align:center;
}
.market-card-body{
  display:block;
  padding:16px 18px 18px;
}
.market-card-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.market-card-title b{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:2px solid #fed7aa;
  border-radius:50%;
  color:var(--show-orange);
  font-size:13px;
  font-weight:900;
}
.market-card-title strong{
  min-width:0;
  flex:1;
  color:#111827 !important;
  text-shadow:none !important;
  font-size:18px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.market-card-title em,
.rank-rec{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#fff7ed;
  color:var(--show-orange);
  font-style:normal;
  font-size:12px;
  font-weight:900;
}
.market-card-desc{
  display:block;
  color:#64748b;
  font-size:14px;
  font-weight:700;
  line-height:1.55;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.market-tags,
.rank-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.market-tags small,
.rank-tags span{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  height:30px;
  padding:0 10px;
  border-radius:6px;
  background:#f1f5f9;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.market-card-foot{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:18px;
}
.market-card-foot b,
.rank-price{
  color:#f97316;
  font-size:18px;
  font-weight:900;
}
.market-card-foot span{
  color:#64748b;
  font-size:13px;
  font-weight:800;
}
.market-card-foot i{
  margin-left:auto;
  min-width:96px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid var(--show-line);
  border-radius:8px;
  color:#1f2937;
  font-style:normal;
  font-size:13px;
  font-weight:900;
}
.showcase-empty{
  margin-top:18px;
  padding:40px 24px;
  border:1px dashed #cbd5e1;
  border-radius:8px;
  background:#fff;
  text-align:center;
}

/* Rank table theme */
.rank-header{
  height:76px;
  display:grid;
  grid-template-columns:minmax(300px,auto) minmax(360px,640px) auto;
  gap:28px;
  align-items:center;
  padding:0 28px;
  border-bottom:1px solid var(--show-line);
  background:#fff;
}
.rank-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.rank-logo{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
}
.rank-brand strong{
  font-size:22px;
  font-weight:900;
  white-space:nowrap;
}
.rank-brand span{
  color:#64748b;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
.rank-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) 76px;
  height:46px;
  border:1px solid #dbe3ef;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.rank-search input{
  width:100%;
  border:0;
  outline:0;
  padding:0 18px;
  color:#111827;
  font:700 16px/1 inherit;
}
.rank-search-submit{
  display:grid;
  place-items:center;
  border:0;
  background:var(--show-blue);
  color:#fff;
  font:900 14px/1 inherit;
  cursor:pointer;
}
.rank-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:18px;
}
.rank-actions a,
.rank-actions span{
  color:#334155;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.rank-filterbar{
  display:flex;
  align-items:center;
  gap:14px;
  padding:24px 28px 18px;
}
.rank-filterbar button{
  height:42px;
  padding:0 18px;
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fff;
  color:#374151;
  cursor:pointer;
  font:800 14px/1 inherit;
}
.rank-filterbar button.is-active,
.rank-filterbar button:hover{
  border-color:#bfdbfe;
  color:var(--show-blue);
  background:#eff6ff;
}
.rank-summary{
  margin-left:auto;
  color:#64748b;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.rank-filterbar select{
  width:144px;
  height:42px;
}
.rank-layout{
  display:grid;
  grid-template-columns:minmax(860px,1fr) 310px;
  gap:22px;
  padding:0 28px 34px;
}
.rank-table-card,
.rank-recommend{
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.04);
}
.rank-table-card{
  overflow:auto;
}
.rank-table{
  width:100%;
  min-width:1380px;
  border-collapse:separate;
  border-spacing:0;
  color:#334155;
  font-size:13px;
  table-layout:fixed;
}
.rank-table th:nth-child(1),
.rank-table td:nth-child(1){width:78px;}
.rank-table th:nth-child(2),
.rank-table td:nth-child(2){width:240px;}
.rank-table th:nth-child(3),
.rank-table td:nth-child(3){width:92px;}
.rank-table th:nth-child(4),
.rank-table td:nth-child(4){width:62px;}
.rank-table th:nth-child(5),
.rank-table td:nth-child(5){width:128px;}
.rank-table th:nth-child(6),
.rank-table td:nth-child(6){width:210px;}
.rank-table th:nth-child(7),
.rank-table td:nth-child(7){width:118px;}
.rank-table th:nth-child(8),
.rank-table td:nth-child(8){width:210px;}
.rank-table th:nth-child(9),
.rank-table td:nth-child(9){width:90px;}
.rank-table th:nth-child(10),
.rank-table td:nth-child(10){width:118px;}
.rank-table th{
  height:56px;
  padding:0 16px;
  border-bottom:1px solid var(--show-line);
  border-right:1px solid #f1f5f9;
  color:#475569;
  background:#fbfdff;
  text-align:left;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.rank-table td{
  padding:14px 16px;
  border-bottom:1px solid #f1f5f9;
  border-right:1px solid #f1f5f9;
  vertical-align:middle;
}
.rank-table td:nth-child(3),
.rank-table td:nth-child(4),
.rank-table td:nth-child(9){
  white-space:nowrap;
}
.rank-table tr:last-child td{
  border-bottom:0;
}
.rank-table tr:hover td{
  background:#f8fbff;
}
.rank-num b{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:8px;
  background:#fff7ed;
  color:#f97316;
  font-size:20px;
  font-weight:900;
}
.rank-num span{
  display:block;
  margin-top:6px;
  color:#f97316;
  font-size:12px;
  font-weight:900;
  text-align:center;
}
.rank-name{
  display:grid;
  grid-template-columns:94px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-width:210px;
}
.rank-mini-device{
  display:block;
  aspect-ratio:16/10;
  border:4px solid #111827;
  border-bottom-width:8px;
  border-radius:7px;
  overflow:hidden;
  background:#fff;
}
.rank-mini-device img,
.rank-device img,
.rank-pick img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.rank-name strong{
  display:block;
  color:#111827;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
}
.rank-name small{
  display:block;
  margin-top:5px;
  color:#94a3b8;
  font-size:12px;
  font-weight:800;
}
.rank-muted{
  display:inline-grid;
  place-items:center;
  min-width:28px;
  height:24px;
  border-radius:999px;
  background:#f1f5f9;
  color:#94a3b8;
  font-weight:900;
}
.rank-preview-cell{
  min-width:160px;
}
.rank-device{
  display:block;
  overflow:hidden;
  background:#fff;
}
.rank-laptop{
  width:180px;
  aspect-ratio:16/10;
  border:7px solid #111827;
  border-bottom-width:12px;
  border-radius:10px 10px 6px 6px;
  box-shadow:0 8px 18px rgba(15,23,42,.12);
}
.rank-phone{
  width:68px;
  aspect-ratio:9/19;
  margin:auto;
  border:6px solid #111827;
  border-radius:20px;
  box-shadow:0 8px 18px rgba(15,23,42,.12);
}
.rank-cases{
  min-width:190px;
}
.rank-cases span{
  display:block;
  margin-bottom:6px;
  color:#475569;
  font-weight:700;
  line-height:1.35;
}
.rank-cases a{
  color:var(--show-blue);
  text-decoration:none;
  font-weight:900;
}
.rank-op{
  min-width:112px;
}
.rank-demo-btn{
  display:grid !important;
  place-items:center;
  height:36px !important;
  padding:0 12px !important;
  border:1px solid #bfdbfe !important;
  border-radius:8px !important;
  color:var(--show-blue) !important;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.rank-op span{
  display:block;
  margin-top:9px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.rank-recommend{
  position:sticky;
  top:18px;
  align-self:start;
  padding:24px;
}
.rank-recommend h2{
  margin:0 0 6px;
  font-size:22px;
  line-height:1.2;
  font-weight:900;
}
.rank-recommend p{
  margin:0 0 18px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}
.rank-pick{
  display:block;
  margin-bottom:14px;
  padding:16px;
  border:1px solid var(--show-line);
  border-radius:8px;
  background:#fbfdff;
  color:#111827;
  text-decoration:none;
}
.rank-pick strong{
  display:block;
  margin-bottom:6px;
  color:#111827;
  font-size:15px;
  font-weight:900;
}
.rank-pick span{
  display:block;
  color:#64748b;
  font-size:13px;
  font-weight:700;
  line-height:1.45;
}
.rank-pick img{
  height:72px;
  margin:12px 0;
  border-radius:6px;
  border:1px solid var(--show-line);
}
.rank-pick i,
.rank-more{
  color:var(--show-blue);
  font-style:normal;
  font-size:13px;
  font-weight:900;
}
.rank-more{
  display:block;
  width:100%;
  padding:10px 0;
  text-align:center;
}

@media (max-width: 1500px){
  html[data-theme="rank_table"] .rank-layout{
    grid-template-columns:1fr;
  }
  html[data-theme="rank_table"] .rank-recommend{
    position:static;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  html[data-theme="rank_table"] .rank-recommend h2,
  html[data-theme="rank_table"] .rank-recommend p,
  html[data-theme="rank_table"] .rank-more{
    grid-column:1/-1;
  }
}

@media (max-width: 1280px){
  html[data-theme="market_card"] .showcase-market{
    grid-template-columns:260px minmax(0,1fr);
  }
  .market-toolbar{
    grid-template-columns:minmax(260px,1fr) 140px;
  }
  .market-view-tabs,
  .market-help{
    display:none;
  }
  .market-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .rank-layout{
    grid-template-columns:1fr;
  }
  .rank-recommend{
    position:static;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  .rank-recommend h2,
  .rank-recommend p,
  .rank-more{
    grid-column:1/-1;
  }
}

@media (max-width: 900px){
  html[data-theme="market_card"] .showcase-market{
    display:block;
  }
  .market-sidebar{
    position:static;
    height:auto;
    padding:16px;
    border-right:0;
    border-bottom:1px solid var(--show-line);
  }
  .market-brand{
    grid-template-columns:46px minmax(0,1fr);
    margin-bottom:14px;
  }
  .market-logo{
    width:46px;
    height:46px;
  }
  .market-title{
    font-size:18px;
  }
  .market-nav{
    display:flex;
    overflow:auto;
    gap:8px;
    margin-bottom:14px;
    padding-bottom:2px;
  }
  .market-nav-item{
    flex:0 0 auto;
    min-height:38px;
  }
  .market-filter-box{
    display:none;
  }
  .market-stats{
    margin-top:14px;
  }
  .market-main{
    padding:16px;
  }
  .market-toolbar{
    grid-template-columns:1fr;
    gap:10px;
    margin-bottom:16px;
  }
  .market-search,
  .market-sort{
    height:46px;
  }
  .market-search{
    padding:0 12px;
  }
  .market-search-submit{
    height:30px;
    padding:0 12px;
    font-size:12px;
  }
  .market-tabs{
    gap:18px;
    overflow:auto;
    margin-bottom:16px;
  }
  .market-tabs button{
    flex:0 0 auto;
  }
  .market-grid{
    grid-template-columns:1fr;
  }
  .market-preview{
    display:block;
    height:230px;
    min-height:230px;
    padding:0;
    overflow:hidden;
  }
  .market-laptop{
    position:absolute;
    left:18px;
    bottom:18px;
    width:calc(100% - 126px);
  }
  .market-phone{
    position:absolute;
    right:18px;
    bottom:22px;
    width:76px;
  }
  .rank-header{
    height:auto;
    grid-template-columns:1fr;
    gap:12px;
    padding:14px 16px;
  }
  .rank-brand span,
  .rank-actions{
    display:none;
  }
  .rank-filterbar{
    padding:14px 16px;
    overflow:auto;
  }
  .rank-filterbar button,
  .rank-filterbar select{
    flex:0 0 auto;
  }
  .rank-summary{
    display:none;
  }
  .rank-layout{
    padding:0 16px 24px;
  }
  .rank-table,
  .rank-table thead,
  .rank-table tbody,
  .rank-table tr,
  .rank-table td{
    display:block;
    width:100%;
    min-width:0;
  }
  .rank-table thead{
    display:none;
  }
  .rank-table-card{
    border:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }
  .rank-row{
    margin-bottom:12px;
    border:1px solid var(--show-line);
    border-radius:8px;
    background:#fff;
    overflow:hidden;
  }
  .rank-table td{
    border:0;
    padding:10px 14px;
  }
  .rank-num{
    float:left;
    width:62px !important;
  }
  .rank-name{
    display:block;
    min-width:0;
    padding-top:16px !important;
  }
  .rank-mini-device{
    display:none;
  }
  .rank-preview-cell{
    display:inline-block !important;
    width:50%;
    min-width:0;
    vertical-align:top;
  }
  .rank-laptop{
    width:100%;
  }
  .rank-phone{
    width:64px;
  }
  .rank-cases,
  .rank-tags,
  .rank-price,
  .rank-op{
    clear:both;
  }
  .rank-recommend{
    display:block;
    padding:16px;
  }
}

@media (max-width: 560px){
  .market-preview{
    display:block;
    height:214px;
    min-height:214px;
    padding:0;
  }
  .market-preview::before{
    left:10px;
  }
  .market-preview::after{
    right:10px;
  }
  .market-laptop{
    position:absolute;
    left:10px;
    bottom:14px;
    width:calc(100% - 86px);
    border-width:6px;
    border-bottom-width:12px;
    border-radius:10px 10px 6px 6px;
  }
  .market-phone{
    position:absolute;
    right:10px;
    bottom:18px;
    width:58px;
    border-width:5px;
    border-radius:18px;
  }
  .market-card-body{
    padding:14px 16px 16px;
  }
}
