/* 082-C1: scoped styles for the homepage ranking and the ranking pages. */
.top-shops-home{padding:80px max(20px,calc((100vw - 1180px)/2));background:#fff}
.top-shops-home-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}
.top-shops-home-heading>div{min-width:0}
.top-shops-home h2{max-width:760px;margin:0;color:var(--ink);font-size:clamp(1.9rem,3.3vw,3rem);line-height:1.2;letter-spacing:-.045em}
.top-shops-home-heading p{max-width:720px;margin:14px 0 0;color:var(--muted);font-size:.92rem;line-height:1.7}
.top-shops-home-heading .button{flex-shrink:0}
.top-shops-home-list{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:var(--white)}
.top-shops-home-labels,.top-shops-home-row{display:grid;grid-template-columns:52px minmax(180px,1.6fr) minmax(145px,1fr) minmax(160px,.8fr);align-items:center;gap:16px;padding:14px 22px}
.top-shops-home-labels{grid-template-columns:minmax(0,1.6fr) minmax(145px,1fr) minmax(160px,.8fr);background:var(--night);color:var(--text-on-dark);font-size:.78rem;font-weight:800}
.top-shops-home-labels span:last-child{text-align:right}
.top-shops-home-row{min-height:62px;border-top:1px solid var(--line);font-size:.9rem} /* taste-skill-ignore: rows follow the site's existing data-table dividers. */
.top-shops-home-row:first-of-type{border-top:0}
.top-shops-home-row:nth-of-type(odd){background:var(--paper)}
.top-shops-home-rank{color:var(--orange-dark);font-weight:900;font-variant-numeric:tabular-nums}
.top-shops-home-name{min-width:0;overflow-wrap:anywhere;font-weight:800;line-height:1.5}
.top-shops-home-user{min-width:0;overflow-wrap:anywhere;color:var(--orange-dark);font-weight:750;text-decoration:underline;text-underline-offset:3px}
.top-shops-home-sales{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.top-shops-home-footnote{margin:16px 0 0;color:var(--muted);font-size:.78rem;line-height:1.65}

.top-shops-page{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:58px 0 100px}
.top-shops-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:var(--muted);font-size:.84rem;line-height:1.6}
.top-shops-breadcrumb a{color:var(--orange-dark);text-decoration:none}
.top-shops-breadcrumb a:hover{text-decoration:underline}
.top-shops-page-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-top:36px}
.top-shops-page h1{max-width:850px;margin:0;font-size:clamp(2.35rem,4.4vw,4.4rem);line-height:1.12;letter-spacing:-.055em}
.top-shops-page-lead{margin:18px 0 0;color:var(--ink);font-size:1.05rem;line-height:1.7}
.top-shops-page-total{display:grid;justify-items:end;flex-shrink:0;margin:0;color:var(--muted);font-size:.85rem;font-weight:750}
.top-shops-page-total strong{color:var(--orange-dark);font-size:2.8rem;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.05em}
.top-shops-method{margin-top:30px;padding:20px 24px;border-radius:16px;background:var(--orange-soft);color:var(--ink);font-size:.89rem;line-height:1.8}
.top-shops-method p{margin:0}
.top-shops-method p+p{margin-top:7px}
.top-shops-results{min-width:0;margin-top:52px}
.top-shops-results-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:17px}
.top-shops-results h2{margin:0;font-size:1.55rem;letter-spacing:-.035em}
.top-shops-results-heading p{margin:0;color:var(--muted);font-size:.86rem}
.top-shops-scroll-hint{margin:0 0 10px;color:var(--muted);font-size:.8rem}
.top-shops-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:18px;background:#fff;-webkit-overflow-scrolling:touch}
.top-shops-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:.84rem;font-variant-numeric:tabular-nums}
.top-shops-table th,.top-shops-table td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.top-shops-table thead th{background:var(--night);color:#fff;font-size:.77rem;font-weight:800;white-space:nowrap}
.top-shops-table tbody tr:nth-child(even){background:var(--paper)}
.top-shops-table tbody tr:last-child th,.top-shops-table tbody tr:last-child td{border-bottom:0}
.top-shops-table tbody th{color:var(--orange-dark);font-weight:900}
.top-shops-table td a{color:var(--orange-dark);font-weight:750;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.top-shops-table .top-shops-name{min-width:220px;max-width:300px;overflow-wrap:anywhere;font-weight:750;line-height:1.5}
.top-shops-table td:nth-child(3){min-width:150px;max-width:210px}
.top-shops-table td:nth-child(4){white-space:nowrap}
.top-shops-table .top-shops-number{text-align:right;white-space:nowrap}
.top-shops-table .top-shops-sales{color:var(--ink);font-weight:900}
.top-shops-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin-top:26px}
.top-shops-pagination a,.top-shops-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border-radius:9px;color:var(--ink);font-size:.88rem;font-weight:800;text-decoration:none}
.top-shops-pagination a:hover{background:var(--orange-soft);color:var(--orange-dark)}
.top-shops-pagination [aria-current="page"]{background:var(--orange);color:#fff}
.top-shops-pagination .top-shops-page-edge{background:#fff;border:1px solid var(--line)}
.top-shops-pagination .top-shops-page-disabled{color:var(--muted);opacity:.6}
@media(max-width:800px){.top-shops-home-heading{align-items:flex-start;flex-direction:column}.top-shops-home-labels{display:none}.top-shops-home-row{grid-template-columns:40px minmax(0,1fr) auto;gap:4px 12px;padding:13px 16px}.top-shops-home-rank{grid-row:1/3;align-self:start;padding-top:2px}.top-shops-home-name{grid-column:2/4}.top-shops-home-user{grid-column:2}.top-shops-home-sales{grid-column:3;align-self:end}.top-shops-page-total{display:none}}
@media(max-width:620px){.top-shops-home{padding:62px 14px}.top-shops-home-heading .button{width:100%}.top-shops-home-list{border-radius:16px}.top-shops-home-row{grid-template-columns:34px minmax(0,1fr);min-height:76px}.top-shops-home-name{grid-column:2}.top-shops-home-user{grid-column:2}.top-shops-home-sales{grid-column:2;text-align:left;margin-top:2px}.top-shops-page{width:calc(100% - 28px);padding:42px 0 72px}.top-shops-page-intro{margin-top:26px}.top-shops-page h1{font-size:2.25rem}.top-shops-page-lead{font-size:.95rem}.top-shops-method{padding:18px}.top-shops-results{margin-top:38px}.top-shops-results-heading{align-items:flex-start;flex-direction:column;gap:5px}.top-shops-table-wrap{border-radius:14px}.top-shops-pagination{gap:4px}.top-shops-pagination a,.top-shops-pagination span{min-width:42px;padding:0 9px}}
@media(prefers-reduced-motion:reduce){.top-shops-home *, .top-shops-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.top-shops-change{display:inline-block;font-size:.78rem;font-weight:850;white-space:nowrap}
.top-shops-home-rank .top-shops-change{display:block;margin-top:3px}
.top-shops-change-up{color:#08764a}
.top-shops-change-down{color:#b42335}
.top-shops-change-flat{color:var(--muted)}
.top-shops-highlights{margin-top:26px;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.top-shops-highlights h2{margin:0 0 12px;font-size:1.35rem}
.top-shops-highlights p{margin:0 0 10px;color:var(--ink)}
.top-shops-highlights ol{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding-left:22px}
.top-shops-highlights li{max-width:100%;overflow-wrap:anywhere}
.top-shops-table .top-shops-change-cell{white-space:nowrap}
