.ot-box,
.ot-mine {
	display: grid;
	gap: .7em;
	padding-bottom: .9em;
}

.ot-tabs {
	display: flex;
	gap: .2em;
	margin: 0 1em;
	padding: .2em;
	border: 1px solid var(--border);
	border-radius: 9px;
	background: var(--bg);
}

.ot-tabs__tab {
	flex: 1;
	padding: .4em .5em;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--muted);
	font: 700 .75rem var(--font);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.ot-tabs__tab:hover {
	color: var(--text);
}

.ot-tabs__tab.is-active {
	background: color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--primary);
}

.ot-list {
	display: grid;
	gap: .35em;
	margin: 0;
	padding: 0 1em;
	list-style: none;
}

.ot-list[hidden] {
	display: none;
}

.ot-list__empty {
	padding: .6em 0;
}

.ot-row {
	display: grid;
	grid-template-columns: 22px auto minmax(0, 1fr) auto;
	gap: .55em;
	align-items: center;
	padding: .4em .5em;
	border-radius: 8px;
	background: color-mix(in srgb, var(--text) 3%, transparent);
}

.ot-row__place {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 6px;
	background: color-mix(in srgb, var(--text) 8%, transparent);
	color: var(--muted);
	font-size: .72rem;
	font-weight: 800;
}

.ot-row--top1 .ot-row__place {
	background: #f5c542;
	color: #2a1f00;
}

.ot-row--top2 .ot-row__place {
	background: #cbd5e1;
	color: #1e293b;
}

.ot-row--top3 .ot-row__place {
	background: #d08c4a;
	color: #2a1400;
}

.ot-row__who {
	display: grid;
	gap: .25em;
	min-width: 0;
	font-size: .88rem;
	font-weight: 700;
}

.ot-row__who a {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ot-row__bar {
	height: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: color-mix(in srgb, var(--text) 8%, transparent);
}

.ot-row__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--primary);
}

.ot-row__time {
	color: var(--primary);
	font-size: .8rem;
	white-space: nowrap;
}

.ot-box__more {
	padding: 0 1.2em;
	font-size: .82rem;
	font-weight: 700;
}

.ot-mine__main {
	display: grid;
	padding: 0 1em;
}

.ot-mine__main strong {
	color: var(--primary);
	font-family: var(--heading);
	font-size: 1.6rem;
}

.ot-mine__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .4em;
	padding: 0 1em;
}

.ot-mine__grid div {
	display: grid;
	gap: .1em;
	padding: .5em .65em;
	border-radius: 8px;
	background: color-mix(in srgb, var(--text) 4%, transparent);
}

.ot-mine__grid span {
	color: var(--muted);
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.ot-mine__grid b {
	font-size: .9rem;
}

.ot-page {
	display: grid;
	gap: 1.2em;
	padding: 1.4em;
}

.ot-page__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1em;
	align-items: center;
}

.ot-page__head h1 {
	margin: 0;
	font-size: 1.4rem;
}

.ot-page__head p {
	margin: .3em 0 0;
}

.ot-page__head .ot-tabs {
	margin: 0;
	min-width: 340px;
}

.ot-list--page {
	padding: 0;
}

.ot-list--page .ot-row {
	grid-template-columns: 28px auto minmax(0, 1fr) auto;
	padding: .6em .8em;
}

.ot-list--page .ot-row__time {
	font-size: .95rem;
}

.ot-card {
	display: grid;
	gap: .9em;
	padding: 1em 0 .9em;
}

.ot-card__head {
	display: flex;
	gap: .8em;
	align-items: center;
	padding: 0 1em;
}

.ot-card__head > div {
	display: grid;
	flex: 1;
}

.ot-card__icon {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 12px;
	background: color-mix(in srgb, var(--primary) 15%, transparent);
	color: var(--primary);
	font-size: 1.1rem;
}

.ot-card__label {
	color: var(--muted);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.ot-card__total {
	font-family: var(--heading);
	font-size: 1.35rem;
	line-height: 1.2;
}

.ot-card__place {
	padding: .3em .6em;
	border-radius: 8px;
	background: color-mix(in srgb, #f5c542 15%, transparent);
	color: #f5c542;
	font-size: .8rem;
	font-weight: 800;
}

.ot-chart {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: .35em;
	height: 86px;
	padding: 0 1em;
}

.ot-chart__col {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: .3em;
	align-items: end;
	justify-items: center;
	height: 100%;
}

.ot-chart__bar {
	width: 100%;
	max-width: 26px;
	border-radius: 5px 5px 2px 2px;
	background: color-mix(in srgb, var(--primary) 35%, transparent);
}

.ot-chart__bar.is-today {
	background: var(--primary);
}

.ot-chart__day {
	color: var(--muted);
	font-size: .66rem;
	font-weight: 700;
}

.ot-card__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 1em;
	border: 1px solid var(--border);
	border-radius: 10px;
}

.ot-card__stats span {
	display: grid;
	gap: .1em;
	padding: .55em .4em;
	color: var(--muted);
	font-size: .68rem;
	text-align: center;
	text-transform: uppercase;
}

.ot-card__stats span + span {
	border-left: 1px solid var(--border);
}

.ot-card__stats b {
	color: var(--text);
	font-size: .85rem;
	text-transform: none;
}
