/* ==========================================================================
   订阅比价看板、热门聚光 Bento 卡、报价列表 (Flagship Dark Terminal)
   ========================================================================== */

.price-modes {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03);
}
.price-modes a { border-radius: 6px; padding: 5px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.price-modes a:hover { color: var(--text); }
.price-modes a[aria-current=page] {
  background: rgba(255, 255, 255, 0.1); color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

.catalog-navigation { margin: 0 0 18px; }
#trail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#trail a {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  padding: 6px 12px 6px 7px; border-radius: var(--r-sm); font-weight: 600; font-size: 12.5px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
#trail a:hover { border-color: var(--line-2); color: var(--text); background: var(--surface-2); transform: translateY(-1px); }
#trail a[aria-current=page] {
  background: rgba(255, 255, 255, 0.1); border-color: var(--line-3); color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.platform-icon {
  display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none;
  border-radius: 6px; background: var(--surface-2); color: var(--text); font: 600 12px/1 sans-serif;
}
.platform-icon[data-brand] { background: #F4F4F5; }
.platform-icon[data-brand=claude] { background: #F4C7B2; }
.platform-icon[data-brand=gemini] { background: #C2D4FF; }
.platform-icon img { width: 13px; height: 13px; }

/* ---------- 苏菲家宽 动态全息推广卡 ---------- */
.sufe-banner {
  display: flex; align-items: stretch; justify-content: space-between;
  position: relative; overflow: hidden;
  width: clamp(320px, 34vw, 415px); min-height: 132px;
  padding: 15px 16px 15px 18px;
  border-radius: var(--r-card); flex: none;
  background:
    radial-gradient(240px 180px at 86% 52%, rgba(249, 115, 22, 0.24), transparent 72%),
    radial-gradient(200px 120px at 10% 0%, rgba(251, 191, 36, 0.12), transparent 70%),
    linear-gradient(135deg, rgba(22, 18, 17, 0.94), rgba(10, 11, 15, 0.96));
  border: 1px solid rgba(251, 146, 60, 0.34);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 20px 44px -20px rgba(249, 115, 22, 0.42);
  color: var(--text) !important;
  transition: transform 0.18s var(--ease-out), border-color 0.2s ease, box-shadow 0.22s ease;
  will-change: transform;
}
.sufe-banner::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 245deg, #FB923C 305deg, #FBBF24 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinAng 6s linear infinite;
  opacity: 0.85;
}
.sufe-banner::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, -400px) var(--my, -400px), rgba(251, 146, 60, 0.18), transparent 62%);
  opacity: 0; transition: opacity 0.25s ease;
}
.sufe-banner:hover { border-color: rgba(251, 146, 60, 0.65); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 24px 50px -16px rgba(249, 115, 22, 0.55); }
.sufe-banner:hover::after { opacity: 1; }

.sufe-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; max-width: 65%; }
.sufe-brand { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #FED7AA; }
.sufe-dot { width: 7px; height: 7px; border-radius: 50%; background: #FB923C; box-shadow: 0 0 10px #FB923C; animation: dotPulse 1.8s infinite; }
.sufe-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 4px; background: rgba(251, 146, 60, 0.16); border: 1px solid rgba(251, 146, 60, 0.34); color: #FDBA74; }
.sufe-headline { font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; color: #FAFAFA; line-height: 1.25; white-space: nowrap; }
.sufe-meta { font-size: 11.5px; color: #D4D4D8; font-family: var(--font-mono); }
.sufe-actions { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.sufe-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #E4E4E7; }
.sufe-cta {
  position: relative; overflow: hidden;
  font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, #FB923C, #EA580C); color: #FFF;
  box-shadow: 0 4px 14px -4px rgba(234, 88, 12, 0.75);
}
.sufe-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg); animation: navTabShine 3.6s ease-in-out infinite;
}

.sufe-space { position: absolute; right: -8px; top: -6px; bottom: -18px; width: 156px; pointer-events: none; z-index: 1; }
.sufe-orbit {
  position: absolute; right: 16px; top: 14px; width: 122px; height: 122px; border-radius: 50%;
  border: 1px dashed rgba(251, 146, 60, 0.32);
  animation: sufe-spin 22s linear infinite;
}
.sufe-globe {
  position: absolute; right: 6px; bottom: -22px; width: 124px; height: 124px;
  animation: sufe-spin 26s linear infinite reverse;
}
.sufe-globe svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 14px rgba(251, 146, 60, 0.35)); }
.sufe-node { animation: sufe-node-pulse 2s ease-in-out infinite alternate; }
.sufe-node.n2 { animation-delay: 0.6s; }
.sufe-node.n3 { animation-delay: 1.2s; }
.sufe-signal {
  position: absolute; right: 44px; top: 38px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #FB923C; box-shadow: 0 0 10px rgba(251, 146, 60, 0.65);
  animation: sufe-signal 2.6s ease-out infinite;
}
.sufe-satellite {
  position: absolute; right: 32px; top: 10px; width: 46px; height: 46px;
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.55));
  animation: sufe-flight 3.2s ease-in-out infinite alternate;
}
.sufe-satellite svg { width: 100%; height: 100%; display: block; }

@keyframes sufe-flight { from { transform: translate(-12px, 10px) rotate(-10deg); } to { transform: translate(8px, -6px) rotate(8deg); } }
@keyframes sufe-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes sufe-signal { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes sufe-node-pulse { 0% { opacity: 0.45; } 100% { opacity: 1; } }

@media (max-width: 850px) { .sufe-banner { width: min(100%, 415px); } }
@media (max-width: 460px) { .sufe-copy { max-width: 78%; } .sufe-headline { font-size: 14.5px; } .sufe-space { opacity: 0.55; } }

/* ---------- 热门套餐 Spotlight Bento 网格 ---------- */
.featured-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: rgba(9, 10, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.featured-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-box);
  background: rgba(18, 20, 28, 0.85);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 16px 32px -20px rgba(0, 0, 0, 0.85);
  transition: transform 0.16s var(--ease-out), border-color 0.2s ease, box-shadow 0.22s ease;
  will-change: transform;
}
.featured-card[data-platform="openai"] { background: radial-gradient(220px 120px at 0% 0%, rgba(16, 185, 129, 0.16), transparent 70%), rgba(18, 20, 28, 0.88); }
.featured-card[data-platform="claude"] { background: radial-gradient(220px 120px at 0% 0%, rgba(251, 146, 60, 0.18), transparent 70%), rgba(18, 20, 28, 0.88); }
.featured-card[data-platform="gemini"] { background: radial-gradient(220px 120px at 0% 0%, rgba(56, 189, 248, 0.18), transparent 70%), rgba(18, 20, 28, 0.88); }
.featured-card:hover { border-color: rgba(165, 180, 252, 0.55); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 22px 44px -16px rgba(99, 102, 241, 0.42); }
.featured-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 270deg, rgba(165, 180, 252, 0.7) 320deg, rgba(56, 189, 248, 0.85) 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinAng 8s linear infinite;
  opacity: 0.45;
}
.featured-card:nth-child(2)::before { animation-delay: -2s; }
.featured-card:nth-child(3)::before { animation-delay: -4s; }
.featured-card:nth-child(4)::before { animation-delay: -6s; }

.featured-card:first-child::before {
  opacity: 1;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 235deg, #818CF8 300deg, #FBBF24 345deg, transparent 360deg);
  animation: spinAng 5.5s linear infinite;
}

.stock-ratio {
  width: 100%; height: 4px; border-radius: var(--r-pill);
  background: rgba(244, 63, 94, 0.25); overflow: hidden; margin-top: 4px;
}
.stock-ratio i {
  display: block; height: 100%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, #10B981, #34D399);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.55);
}
td .stock-ratio { width: 108px; margin-top: 5px; height: 3.5px; }

.featured-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.featured-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--text); }
.featured-title span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-stock {
  flex-shrink: 0; font-size: 10.5px; font-weight: 600;
  padding: 2px 7px; border-radius: var(--r-pill);
  color: #6EE7B7; background: var(--green-soft); border: 1px solid rgba(16, 185, 129, 0.25);
}
.featured-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.featured-price {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  background: linear-gradient(180deg, #FFFFFF 30%, #FDE68A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.featured-shop-btn {
  display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0;
  padding: 5px 10px; border-radius: 6px;
  background: linear-gradient(180deg, #FFFFFF, #E4E4E7); color: #040406 !important;
  font-size: 11.5px; font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 16px -6px rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.featured-shop-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.featured-sub {
  font-size: 11.5px !important; line-height: 1.45 !important; color: var(--text-2) !important;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.featured-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 11.5px; color: var(--text-3);
}
.featured-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-compare { color: var(--text-2) !important; font-weight: 600; flex-shrink: 0; transition: color 0.15s ease; }
.featured-compare:hover { color: var(--amber-bright) !important; }

@media (max-width: 1024px) { .featured-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .featured-plans { grid-template-columns: 1fr; padding: 12px; } }

/* ---------- 标准商品看板 (#planBoard) ---------- */
#planBoard {
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 28px 56px -34px rgba(0, 0, 0, 0.95);
}
.quotes-view #featuredPlans { display: none; }
.quotes-view :is(.board-scroll, #planSearch, .board-tools label) { display: none; }

.board-tools, .board-tools nav { display: flex; align-items: center; gap: 12px; }
.board-tools { flex-wrap: wrap; padding: 12px 16px; background: rgba(9, 10, 13, 0.85); border-bottom: 1px solid var(--line); }
.board-tools input[type=search] {
  padding: 7px 11px; background: var(--surface-solid); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); color: var(--text); font: inherit; font-size: 13px; max-width: 100%; width: 245px;
}
.board-tools label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12.5px; cursor: pointer; user-select: none; }
.board-tools label input { accent-color: var(--amber-bright); }
.board-tools nav { margin-left: auto; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px; gap: 2px; }
.board-tools nav a { padding: 4px 11px; color: var(--text-2); font-size: 12px; font-weight: 600; border-radius: 6px; }
.board-tools nav a:hover { color: var(--text); }
.board-tools nav [aria-current] { background: var(--text); color: #040406; font-weight: 700; }

.board-scroll { overflow-x: auto; }
#planBoard table {
  width: 100%; min-width: 860px; border-collapse: collapse; text-align: left;
  color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums;
}
#planBoard th { font-size: 11px; color: var(--text-3); background: rgba(9, 10, 13, 0.85); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
#planBoard :is(td, th) { padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
#planBoard tbody tr { transition: background-color 0.15s ease, box-shadow 0.18s ease; }
#planBoard tbody tr:last-child td { border: 0; }
#planBoard tbody tr:hover { background: rgba(129, 140, 248, 0.06); box-shadow: inset 3px 0 0 #818CF8; }

.board-product .platform-icon { margin-right: 10px; vertical-align: middle; width: 26px; height: 26px; border-radius: 7px; }
.board-identity { display: inline-block; vertical-align: middle; }
.board-identity a { color: var(--text); font-weight: 600; }
.board-identity a:hover { color: var(--amber-bright); }
#planBoard td small { display: block; font-size: 11px; color: var(--text-3); margin-top: 1px; }

#planBoard .lowest-link { font-family: var(--font-mono); font-weight: 700; color: var(--amber-bright); text-decoration: none; }
#planBoard .lowest-link:hover { text-decoration: underline; text-underline-offset: 4px; }
#planBoard .board-shop .lowest-link { font-family: var(--font-base); font-weight: 600; color: var(--text); }
#planBoard .board-shop .lowest-link:hover { color: var(--amber-bright); }

.board-in, .board-out, .stock-unknown { display: inline-block; border-radius: var(--r-pill); padding: 2px 7px; font-size: 11px; font-weight: 600; }
.board-in { color: #6EE7B7; background: var(--green-soft); border: 1px solid rgba(16, 185, 129, 0.22); }
.board-out { color: #FDA4AF; background: var(--rose-soft); border: 1px solid rgba(244, 63, 94, 0.22); margin-left: 4px; }
.stock-unknown { color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); }

.board-shop { max-width: 240px; }
.board-shop > * { display: block; overflow: hidden; text-overflow: ellipsis; }
#planBoard .board-go {
  display: inline-flex; align-items: center; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--text);
  padding: 5px 11px; font-size: 12px; font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#planBoard tbody tr:hover .board-go, #planBoard .board-go:hover { background: var(--text); color: #040406; border-color: var(--text); }
#boardEmpty { padding: 28px; text-align: center; color: var(--text-3); }

/* 报价详情面板 */
.market-layout.all-offers { display: block; }
#quoteLayout[hidden] { display: none; }
#quoteLayout #detail {
  --quote-cols: minmax(0, 2.5fr) minmax(0, 1.1fr) minmax(94px, .8fr) 114px minmax(86px, .55fr);
  background: var(--surface); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 0; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 28px 56px -34px rgba(0, 0, 0, 0.95);
}
#quoteLayout #detail > a:first-child { display: inline-flex; align-items: center; margin: 16px 20px 4px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
#quoteLayout #detail > a:first-child:hover { color: var(--text); }
#quoteLayout #detail > a[hidden] { display: none; }
#quoteLayout #name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin: 8px 20px 12px; }

#quoteLayout #detail > .price-controls, #quoteLayout .extra-filters .price-controls { margin: 0; padding: 10px 20px; align-items: end; gap: 10px 14px; }
#quoteLayout .price-controls label { font-size: 11px; gap: 4px; }
#quoteLayout .price-controls :is(input[type=search], select) { background: var(--bg-elevated); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 12.5px; padding: 6px 10px; }
.price-controls .merchant-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; cursor: pointer; font-size: 12.5px; color: var(--text-2); user-select: none; }
.merchant-toggle input { accent-color: var(--amber-bright); }

.extra-filters { margin: 2px 20px 8px; }
.extra-filters summary { color: var(--text-2); font-size: 12px; font-weight: 600; width: fit-content; padding: 4px 0; }
.extra-filters summary:hover { color: var(--text); }
#quoteLayout #offersCount { margin: 4px 20px 10px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }
#quoteLayout #offers { margin: 0; border: 0; }

#quoteLayout :is(.quote-columns, .same-price > summary, article.price-row) {
  display: grid; grid-template-columns: var(--quote-cols);
  align-items: center; gap: 14px; padding: 12px 20px; margin: 0; min-height: 0;
  border-radius: 0; border: 0; background: transparent;
}
#quoteLayout .quote-columns { background: rgba(9, 10, 13, 0.85); border-block: 1px solid var(--line); color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
#quoteLayout .quote-columns > :last-child { text-align: right; }

.same-price { border-bottom: 1px solid var(--line); }
.same-price > summary { list-style: none; cursor: pointer; }
.same-price > summary::-webkit-details-marker { display: none; }
#offers > .same-price > summary:hover, #offers > .price-row:hover { background: rgba(255, 255, 255, 0.03); }
article.price-row { border-bottom: 1px solid var(--line); }
article.price-row:last-child { border-bottom: 0; }

#quoteLayout .quote-preview { grid-column: 1; min-width: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; font-size: 13px; }
#quoteLayout .quote-preview > .platform-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 28px; height: 28px; border-radius: 7px; }
#quoteLayout .quote-preview :is(b, small, details) { grid-column: 2; }
.quote-preview b, .quote-preview small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-preview b { color: var(--text); font-weight: 600; }
#quoteLayout .quote-preview small, #quoteLayout .quote-type small { display: block; font-size: 11.5px; color: var(--text-3); }
#quoteLayout .quote-preview details { white-space: normal; overflow-wrap: anywhere; font-size: 12px; color: var(--text-2); margin-top: 4px; }
#quoteLayout .quote-preview details summary { color: var(--text-3); font-size: 11.5px; }
#quoteLayout .quote-preview details p { margin-top: 5px; font-size: 11.5px; color: var(--text-2); }

#quoteLayout .quote-type { grid-column: 2; min-width: 0; font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; }
#quoteLayout .stock-cell { grid-column: 3; display: flex; gap: 4px; flex-wrap: wrap; }
#quoteLayout .stock-cell span { font-size: 11px; margin: 0; }

#quoteLayout .merchant-actions, #quoteLayout .expand-label, #quoteLayout .collapse-label { grid-column: 4; margin: 0; justify-self: start; }
#quoteLayout :is(.merchant-link, .expand-label, .collapse-label) {
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--text);
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
}
#quoteLayout .merchant-link:hover, #quoteLayout .same-price > summary:hover .expand-label { background: var(--text); color: #040406; border-color: var(--text); }

#quoteLayout .same-price > summary strong, #quoteLayout article.price-row > strong {
  order: 1; grid-column: 5; color: var(--amber-bright); font-family: var(--font-mono);
  font-variant-numeric: tabular-nums; font-size: 15px; text-align: right; white-space: nowrap;
}

#quoteLayout .same-price .collapse-label, #quoteLayout .same-price[open] > summary .expand-label { display: none; }
#quoteLayout .same-price[open] > summary .collapse-label { display: inline-flex; }
#quoteLayout .same-price[open] > .price-row { background: var(--bg-elevated); border-left: 2px solid var(--line-3); padding-left: 18px; }
#offers .located-offer { outline: 1.5px solid var(--amber-bright); outline-offset: -1.5px; background: rgba(245, 158, 11, 0.06); }
.located-label { grid-column: 1 / -1; color: var(--amber-bright); font-size: 12px; font-weight: 600; }

#quoteLayout #more {
  margin: 14px 20px; padding: 7px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-size: 12.5px; font-weight: 600;
}

@media (max-width: 760px) {
  #trail a { padding: 5px 9px 5px 6px; gap: 5px; font-size: 12px; }
  .platform-icon { width: 19px; height: 19px; }
  #quoteLayout .quote-columns { display: none; }
  #quoteLayout :is(.same-price > summary, article.price-row) { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
  #quoteLayout :is(.quote-preview, .quote-type, .stock-cell) { grid-column: 1; }
  #quoteLayout :is(.expand-label, .collapse-label, .merchant-actions) { grid-column: 2; grid-row: 3; justify-self: end; }
  #quoteLayout :is(.same-price > summary, article.price-row) > strong { grid-column: 2; grid-row: 1; }
  #quoteLayout .located-offer > .located-label { grid-column: 1 / -1; }
}
