/* SEO skor. Vrednosti iz design/SeoSkor.dc.html. */

.tg-skor {
	background: var(--tg-surface);
	border: 2px solid var(--tg-rule);
	box-shadow: 10px 10px 0 var(--tg-shadow);
	color: var(--tg-ink);
}

.tg-skor__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	background: var(--tg-ink);
	color: var(--tg-bg);
}

.tg-skor__brand {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.tg-skor__free {
	color: var(--tg-orange);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tg-skor__form,
.tg-skor__run,
.tg-skor__done {
	padding: 22px 18px 20px;
}

.tg-skor__form[hidden],
.tg-skor__run[hidden],
.tg-skor__done[hidden],
.tg-skor__err[hidden] {
	display: none;
}

.tg-skor__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tg-skor__q {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.tg-skor__row {
	display: flex;
	flex-wrap: wrap;
}

.tg-skor .tg-skor__input {
	flex: 1 1 200px;
	min-width: 0;
	height: 54px;
	padding: 0 16px;
	border: 2px solid var(--tg-rule);
	background: var(--tg-bg);
	color: var(--tg-ink);
	font: 500 17px var(--tg-font);
	outline: none;
}

.tg-skor .tg-skor__input:focus {
	border-color: var(--tg-orange);
}

.tg-skor .tg-skor__go {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	height: 54px;
	padding: 0 20px;
	border: 2px solid var(--tg-orange);
	background: var(--tg-orange);
	color: var(--tg-ink);
	font: 800 16px var(--tg-font);
	cursor: pointer;
}

.tg-skor .tg-skor__go:hover {
	background: var(--tg-ink);
	border-color: var(--tg-ink);
	color: var(--tg-orange);
}

.tg-skor__err {
	margin: 0;
	color: var(--tg-acc-ink);
	font-size: 14px;
	font-weight: 600;
}

.tg-skor__feats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--tg-mute);
	font-size: 13.5px;
}

.tg-skor__feats li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tg-skor__dot {
	width: 6px;
	height: 6px;
	background: var(--tg-orange);
}

.tg-skor__runhead {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
}

.tg-skor__track {
	height: 8px;
	margin-bottom: 16px;
	background: var(--tg-track);
}

.tg-skor__fill {
	width: 0;
	height: 100%;
	background: var(--tg-orange);
	transition: width 0.35s linear;
}

.tg-skor__steps {
	display: flex;
	flex-direction: column;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: #9b9797;
	font: 500 13.5px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tg-skor__steps li {
	display: flex;
	gap: 10px;
}

.tg-skor__steps li.is-past {
	color: var(--tg-ink);
}

.tg-skor__steps li.is-now {
	color: var(--tg-acc-ink);
}

.tg-skor__mark {
	width: 14px;
}

.tg-skor__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

.tg-skor__kicker {
	color: var(--tg-mute2);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tg-skor__scorerow {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 4px;
}

.tg-skor__score {
	font-size: 76px;
	font-weight: 900;
	font-stretch: 115%;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.tg-skor__of {
	color: var(--tg-mute2);
	font-size: 20px;
	font-weight: 700;
}

.tg-skor__grade {
	padding: 6px 10px;
	background: var(--tg-sunk);
	color: var(--tg-ink);
	font-size: 13.5px;
	font-weight: 800;
}

.tg-skor__grade.is-mid {
	background: var(--tg-tint2);
}

.tg-skor__grade.is-bad {
	background: var(--tg-orange);
}

.tg-skor__segs {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 4px;
	margin: 16px 0 18px;
}

.tg-skor__segs span {
	height: 12px;
	background: var(--tg-track);
	transition: background 0.3s;
}

.tg-skor__segs span.is-on {
	background: var(--tg-orange);
}

.tg-skor__checks {
	border-top: 2px solid var(--tg-rule);
}

.tg-skor__check {
	display: grid;
	grid-template-columns: 14px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid var(--tg-line);
	font-size: 14px;
}

.tg-skor__cdot {
	width: 10px;
	height: 10px;
	background: var(--tg-ink);
}

.tg-skor__check.is-bad .tg-skor__cdot {
	background: var(--tg-orange);
}

.tg-skor__ckey {
	font-weight: 700;
}

.tg-skor__cval {
	color: var(--tg-mute);
	font-weight: 600;
	text-align: right;
}

.tg-skor__check.is-bad .tg-skor__cval {
	color: var(--tg-acc-ink);
}

.tg-skor__summary {
	margin: 14px 0 0;
	color: var(--tg-mute);
	font-size: 14px;
	line-height: 1.5;
}

.tg-skor__summary strong {
	color: var(--tg-ink);
}

.tg-skor__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.tg-skor .tg-skor__cta {
	display: flex;
	flex: 1 1 220px;
	justify-content: space-between;
	align-items: center;
	height: 52px;
	padding: 0 18px;
	background: var(--tg-orange);
	color: var(--tg-ink);
	font-size: 15.5px;
	font-weight: 800;
	text-decoration: none;
}

.tg-skor .tg-skor__cta:hover {
	background: var(--tg-ink);
	color: var(--tg-orange);
}

.tg-skor .tg-skor__again {
	height: 52px;
	padding: 0 16px;
	border: 2px solid var(--tg-rule);
	background: transparent;
	color: var(--tg-ink);
	font: 700 14.5px var(--tg-font);
	cursor: pointer;
}

.tg-skor .tg-skor__again:hover {
	background: var(--tg-sunk);
}
