/*
 * オリパ分析の共通スタイル。白基調の分析ツール。
 *
 * - 白い面とごく薄いグレーの罫線。影は使わない
 * - フォントは IBM Plex Sans JP 1 種。数字は等幅にして桁を揃え、単位は小さく薄く
 * - 色は灰の濃淡 + サイトの 3 色 (constants/site.ts と揃える)。選択中・強調は墨 (ほぼ黒)
 * - スマホの 1 カラムが基本。PC でも本文は 720px
 */

:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--subtle-bg: #f6f7f9;
	--hover: #f8f9fb;
	--line: #e8eaee;
	--line-strong: #d5d9e0;
	--text: #111318;
	--text-2: #3a3f48;
	--muted: #6b7280;
	--subtle: #9ca3af;
	--up: #0f9d6b;
	--down: #e0473a;
	--clove: #14a085;
	--dopa: #f08a24;
	--toreca: #4a6cf7;
	--radius: 10px;
	--gutter: 16px;
	--font: "IBM Plex Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
		"Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Meiryo, sans-serif;
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.6;
	font-feature-settings: "palt" 1;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

/* ---- 上部バー ---- */

.bar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.6) blur(12px);
	-webkit-backdrop-filter: saturate(1.6) blur(12px);
	border-bottom: 1px solid var(--line);
}

.bar__in {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	align-items: stretch;
	gap: 12px;
	height: 52px;
}

.bar__brand {
	display: flex;
	align-items: center;
	color: var(--text);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.nav {
	display: flex;
	margin-left: auto;
	gap: 2px;
}

.nav a {
	display: flex;
	align-items: center;
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
	padding: 0 10px;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.nav a:hover {
	color: var(--text);
}

.nav a[aria-current="page"] {
	color: var(--text);
	font-weight: 600;
	border-bottom-color: var(--text);
}

/* ---- 本文 ---- */

.main {
	max-width: 720px;
	margin: 0 auto;
	padding: 16px var(--gutter) 48px;
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12.5px;
	color: var(--subtle);
	margin: 0 0 10px;
}

.crumbs a {
	color: var(--muted);
}

.crumbs a:hover {
	color: var(--text);
}

.crumbs li {
	list-style: none;
}

.crumbs li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--line-strong);
}

.crumbs ol {
	display: contents;
}

.head {
	margin: 2px 0 18px;
}

.head[data-site] {
	padding-left: 12px;
	border-left: 3px solid var(--site, var(--line-strong));
}

.head__title {
	font-size: 22px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.head__meta {
	margin-top: 4px;
	color: var(--muted);
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
}

.head__meta a {
	color: var(--text-2);
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 3px;
}

.head__meta a:hover {
	text-decoration-color: var(--text);
}

.section {
	margin-top: 32px;
}

.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	margin-bottom: 10px;
}

.section__title {
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
}

.section__aside {
	font-size: 12.5px;
	color: var(--muted);
	white-space: nowrap;
}

.section__aside > a {
	color: var(--text-2);
	font-weight: 500;
}

.section__aside > a:hover {
	color: var(--text);
}

.panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.panel--pad {
	padding: 14px 14px 12px;
}

/* ---- 数字 ---- */

.num {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.u {
	font-size: 0.7em;
	color: var(--muted);
	margin-left: 2px;
	font-weight: 500;
}

.up {
	color: var(--up);
	font-weight: 600;
}

.down {
	color: var(--down);
	font-weight: 600;
}

.weak {
	color: var(--subtle);
}

/* ---- 数値カード ---- */

.stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.stat {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 14px 13px;
	color: var(--text);
	min-width: 0;
}

a.stat:hover {
	border-color: var(--line-strong);
	background: var(--hover);
}

/* 補足の行の右端に添える札 (見出しや金額の行だとスマホ幅で収まらないため) */
.stat__sub--split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2px;
}

.stat__sub--split > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
}

.stat__corner {
	flex: none;
	font-size: 10.5px;
	font-weight: 600;
	color: var(--text-2);
	background: var(--subtle-bg);
	border-radius: 999px;
	padding: 1px 6px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.stat__label {
	font-size: 12px;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
}

.stat__value {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 4px;
	letter-spacing: -0.015em;
	overflow: hidden;
	text-overflow: ellipsis;
	font-variant-numeric: tabular-nums;
}

.stat__sub {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}

.stat--wide {
	grid-column: 1 / -1;
}

@media (max-width: 559px) {
	.stat--wide-sm {
		grid-column: 1 / -1;
	}
}

/* シェアの帯 */
.share {
	display: flex;
	height: 8px;
	border-radius: 4px;
	overflow: hidden;
	margin: 12px 0 9px;
	background: var(--line);
	gap: 2px;
}

.share span {
	display: block;
	height: 100%;
}

.share-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	font-size: 12px;
	color: var(--text-2);
	font-variant-numeric: tabular-nums;
}

.dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: 0.05em;
	background: var(--c, var(--subtle));
	flex: none;
}

/* ---- 「?」(説明は chart.js が吹き出しで出す) ---- */

.help {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--subtle-bg);
	color: var(--subtle);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	cursor: help;
	flex: none;
}

.help:hover,
.help:focus {
	outline: none;
	background: var(--text);
	color: #fff;
}

/* ---- 一覧の行 (2 段) ---- */

.rows {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.rows > * + * {
	border-top: 1px solid var(--line);
}

.row {
	display: block;
	padding: 11px 14px 12px;
	color: var(--text);
}

a.row:hover {
	background: var(--hover);
}

.row__top {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.row__name {
	flex: 1;
	min-width: 0;
	font-weight: 600;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.row__right {
	font-size: 13px;
	color: var(--muted);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.row__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 0 14px;
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--muted);
}

.row__sub b {
	color: var(--text);
	font-weight: 600;
}

.row__sub .num {
	color: var(--text);
	font-weight: 500;
}

.row__sub .num.weak {
	color: var(--subtle);
}

.tag {
	display: inline-block;
	font-size: 11px;
	line-height: 1;
	padding: 4px 7px;
	border-radius: 999px;
	color: var(--text-2);
	background: var(--subtle-bg);
	white-space: nowrap;
	vertical-align: 0.1em;
	font-weight: 500;
}

.tag--selling {
	color: #0b7a53;
	background: #e7f6ef;
}

.tag--soldout {
	color: #c23a2e;
	background: #fdecea;
}

.tag--ended {
	color: var(--muted);
	background: var(--subtle-bg);
}

.tag--warn {
	color: #9a5b00;
	background: #fff4e0;
}

/* 一覧の上の並べ替え */
.sortbar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
}

.sortbar__label {
	flex: none;
	font-size: 12px;
	color: var(--muted);
	font-weight: 500;
}

.sortbar__items {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 1px;
}

.sortbar__items::-webkit-scrollbar {
	display: none;
}

.sortbar__items a {
	flex: none;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--text-2);
	padding: 5px 11px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--line-strong);
	white-space: nowrap;
}

.sortbar__items a:hover {
	background: var(--hover);
}

.sortbar__items a[aria-current="true"] {
	background: var(--text);
	color: #fff;
	box-shadow: none;
	font-weight: 600;
}

/* 要約の行 (ホームのサイト別) */
.line-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 12px;
	padding: 12px 14px;
	color: var(--text);
}

a.line-row:hover {
	background: var(--hover);
}

.line-row__name {
	font-weight: 600;
	display: flex;
	align-items: center;
}

.line-row__value {
	text-align: right;
	font-weight: 700;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}

.line-row__sub {
	grid-column: 1 / -1;
	font-size: 12.5px;
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0 14px;
}

/* ---- 今日の動き ---- */

.story {
	list-style: none;
	margin: 0;
	padding: 0;
}

.story li + li {
	border-top: 1px solid var(--line);
}

.story li a {
	display: flex;
	gap: 10px;
	padding: 11px 14px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.55;
}

.story li a:hover {
	background: var(--hover);
}

.story li a::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--text);
	margin-top: 0.62em;
}

.story li a::after {
	content: "›";
	margin-left: auto;
	color: var(--subtle);
	padding-left: 8px;
}

/* ---- 横棒 (HTML で描く) ---- */

.hbars {
	display: grid;
	gap: 9px;
}

.hbar {
	display: grid;
	grid-template-columns: 5.6em 1fr auto;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	color: var(--text);
}

a.hbar:hover .hbar__label {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hbar__label {
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-variant-numeric: tabular-nums;
}

.hbar__track {
	display: flex;
	height: 10px;
	background: var(--subtle-bg);
	border-radius: 3px;
	overflow: hidden;
}

.hbar__track span {
	display: block;
	height: 100%;
	background: var(--c, #94a3b8);
}

.hbar__value {
	min-width: 4.6em;
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}

.hbars--wide .hbar {
	grid-template-columns: 8.6em 1fr auto;
}

/* ---- グラフ (SVG) ---- */

.chart {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	font-family: var(--font);
	font-variant-numeric: tabular-nums;
}

.chart {
	/* 既定はスマホ幅の値。chart.js がその場の幅に合わせて 11.5px 相当に直す */
	font-size: 21px;
}

.chart text {
	fill: var(--subtle);
	font-size: 1em;
}

/* グラフと縦軸の値 (値は HTML。本文と同じ大きさで出す) */
.chart-box {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 8px;
	align-items: start;
}

.chart-box__y {
	position: relative;
	align-self: stretch;
	font-size: 11px;
	line-height: 1;
	color: var(--subtle);
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.chart-box__y span {
	position: absolute;
	right: 0;
	transform: translateY(-50%);
	white-space: nowrap;
}

.chart-box__y .chart-box__sizer {
	position: static;
	display: block;
	visibility: hidden;
	transform: none;
	height: 0;
}

/* 印の文字 (完売の時刻など) は線に乗るので、白い縁取りで読めるようにする */
.chart .ylab {
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 0.3em;
	stroke-linejoin: round;
}

/* 線の太さは伸び縮みさせない */
.chart line,
.chart path,
.chart circle {
	vector-effect: non-scaling-stroke;
}

.chart .grid {
	stroke: var(--line);
	stroke-width: 1;
}

.chart .axis {
	stroke: var(--line-strong);
	stroke-width: 1;
}

.chart [data-tip] {
	cursor: pointer;
	transition: opacity 0.12s;
}

.chart [data-tip]:hover,
.chart [data-tip].is-on {
	opacity: 0.7;
}

.chart .cap {
	stroke: var(--subtle);
	stroke-width: 1;
	stroke-dasharray: 4 4;
	fill: none;
}

.chart .ln {
	fill: none;
	stroke: var(--c, var(--text));
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.chart .area {
	fill: var(--c, var(--text));
	opacity: 0.08;
	stroke: none;
}

.chart .day {
	stroke: var(--line);
	stroke-dasharray: 2 4;
}

.chart .pt {
	fill: #fff;
	stroke: var(--c, var(--text));
	stroke-width: 1.5;
}

.chart .hit {
	fill: transparent;
}

.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	font-size: 12px;
	color: var(--muted);
	margin-top: 10px;
}

.tip-pop {
	position: absolute;
	z-index: 30;
	padding: 7px 10px;
	border-radius: 8px;
	background: var(--text);
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	pointer-events: none;
	white-space: pre-line;
	max-width: 250px;
	font-variant-numeric: tabular-nums;
}

/* ---- 切り替え・絞り込み ---- */

.seg {
	display: inline-flex;
	padding: 2px;
	border-radius: 8px;
	background: var(--subtle-bg);
	gap: 2px;
}

.seg a {
	font-size: 12.5px;
	color: var(--muted);
	padding: 4px 10px;
	border-radius: 6px;
	white-space: nowrap;
	font-weight: 500;
}

.seg a:hover {
	color: var(--text);
}

.seg a[aria-current="true"] {
	background: var(--surface);
	color: var(--text);
	font-weight: 600;
	box-shadow: 0 0 0 1px var(--line);
}

.filters {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 14px;
}

.filters label {
	display: grid;
	gap: 4px;
	font-size: 12px;
	color: var(--muted);
	font-weight: 500;
}

.filters select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	font-size: 14px;
	color: var(--text);
	background: var(--surface)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239ca3af' stroke-width='1.5'/%3E%3C/svg%3E")
		no-repeat right 10px center;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	padding: 8px 26px 8px 10px;
}

.filters select:focus {
	outline: none;
	border-color: var(--text);
}

.filters__actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 13px;
	padding-top: 2px;
}

.filters__actions a {
	color: var(--muted);
}

.filters__actions a:hover {
	color: var(--text);
}

.btn {
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--text);
	border: 0;
	border-radius: 8px;
	padding: 9px 20px;
	cursor: pointer;
}

.btn:hover {
	background: #000;
}

.filter-box {
	margin-bottom: 12px;
}

.filter-box > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
}

.filter-box > summary::-webkit-details-marker {
	display: none;
}

.filter-box__now {
	color: var(--text);
	font-weight: 500;
	min-width: 0;
}

.filter-box__edit {
	color: var(--muted);
	white-space: nowrap;
	font-size: 12.5px;
	font-weight: 500;
}

.filter-box > summary:hover .filter-box__edit {
	color: var(--text);
}

.filter-box[open] > summary {
	border-bottom: 1px solid var(--line);
}

/* ---- 表 (景品) ---- */

.prizes {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.prizes th {
	text-align: left;
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	padding: 9px 14px 7px;
	background: var(--subtle-bg);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.prizes th .u {
	margin-left: 6px;
}

.prizes tbody:first-child tr:first-child th {
	border-top: 0;
}

.prizes td {
	padding: 10px 14px;
	border-top: 1px solid var(--line);
	vertical-align: top;
}

.prizes tr:nth-child(2) td {
	border-top: 0;
}

.prize__name {
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1.5;
}

.prize__name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prize__meta {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
	display: flex;
	flex-wrap: wrap;
	gap: 0 10px;
}

.prize__meta a {
	color: var(--muted);
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 3px;
}

.prize__value {
	text-align: right;
	width: 34%;
	white-space: nowrap;
	font-weight: 600;
}

.prize__pct {
	font-size: 12px;
	color: var(--muted);
	font-weight: 500;
	margin-top: 1px;
	font-variant-numeric: tabular-nums;
}

.prize__bar {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: var(--subtle-bg);
	margin-top: 5px;
	overflow: hidden;
}

.prize__bar span {
	display: block;
	height: 100%;
	background: var(--c, var(--text));
}

.prize__basis {
	font-size: 11.5px;
	color: var(--subtle);
	margin-top: 3px;
	line-height: 1.5;
}

.more-link {
	display: block;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-2);
	border-top: 1px solid var(--line);
}

.more-link:hover {
	background: var(--hover);
}

/* ---- 末尾の誘い・ページ送り・注記 ---- */

.next {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
}

.next:hover {
	border-color: var(--line-strong);
	background: var(--hover);
}

.next::after {
	content: "→";
	color: var(--muted);
}

.next + .next {
	margin-top: 8px;
}

.pager {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	font-size: 13px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.pager a {
	padding: 6px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	color: var(--text);
	font-weight: 500;
}

.pager a:hover {
	background: var(--hover);
}

.note {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.7;
	margin-top: 10px;
}

.notes {
	margin-top: 40px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	color: var(--subtle);
	line-height: 1.8;
}

.notes p + p {
	margin-top: 2px;
}

.empty {
	padding: 24px 14px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}

.grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mini-list {
	padding: 2px 0 6px;
}

.mini {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 7px 14px;
	font-size: 13px;
	color: var(--text);
}

a.mini:hover {
	background: var(--hover);
}

.mini__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mini__value {
	color: var(--text-2);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}

.list-title {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	padding: 12px 14px 4px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.mini-list .mini + .list-title,
.mini-list .empty + .list-title {
	margin-top: 6px;
	border-top: 1px solid var(--line);
}

/* ---- 合言葉 ---- */

.unlock {
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	place-items: center;
	padding: 24px var(--gutter);
}

.unlock form {
	width: 100%;
	max-width: 320px;
	display: grid;
	gap: 14px;
}

.unlock h1 {
	font-size: 20px;
	font-weight: 700;
}

.unlock p {
	font-size: 13px;
	color: var(--muted);
}

.unlock input {
	font: inherit;
	font-size: 16px;
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	background: var(--surface);
	color: var(--text);
}

.unlock input:focus {
	outline: none;
	border-color: var(--text);
	box-shadow: 0 0 0 3px #eef0f3;
}

.unlock .btn {
	padding: 11px;
}

.unlock .error {
	color: var(--down);
	font-size: 13px;
	font-weight: 500;
}

@media (min-width: 560px) {
	.stats {
		grid-template-columns: repeat(4, 1fr);
	}

	.stats--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.filters {
		grid-template-columns: repeat(4, 1fr);
	}

	.head__title {
		font-size: 24px;
	}
}

@media (max-width: 380px) {
	.nav a {
		padding: 0 7px;
		font-size: 13px;
	}

	.stat__value {
		font-size: 21px;
	}
}
