/* Pirate Deals theme
   Tokens: sea (deep teal), foam (page), paper (surfaces), tag (price yellow), stamp (discount red). */

:root {
	--sea: #0e3b43;
	--sea-2: #18535d;
	--sea-3: #236a76;
	--on-sea: #ffffff;
	--on-sea-muted: rgba(255, 255, 255, 0.76);
	--bg: #ebf1f0;
	--paper: #ffffff;
	--paper-2: #f4f8f7;
	--ink: #102a2f;
	--muted: #52696e;
	--line: #d6e1df;
	--line-strong: #b2c5c2;
	--tag: #ffc21a;
	--tag-ink: #102a2f;
	--stamp: #d7263d;
	--cta: #0e3b43;
	--cta-ink: #ffffff;
	--cta-hover: #18535d;
	--chip-bg: #e2eeec;
	--chip-ink: #0e3b43;
	--hint-bg: #fff2c4;
	--hint-ink: #5a4100;
	--link: #0d6170;
	--focus: #0e3b43;
	--bubble: #e8f4fb;
	--plate: #ffffff;
	--wa: #25d366;
	--wa-ink: #05301a;
	--tg: #1a78b5;
	--tg-ink: #ffffff;

	--font-display: "PDT Display", "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
	--font-text: "PDT Text", "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: 16px;
	--radius: 16px;
	--radius-s: 10px;

	color-scheme: light;
}

/* ------------------------------------------------------------------ base */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 72px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 1rem;
	line-height: 1.55;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--link);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	text-decoration-thickness: 2px;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.15;
}

p {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	border-radius: 4px;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	vertical-align: -0.2em;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--tag);
	color: var(--tag-ink);
	font-weight: 700;
	border-radius: var(--radius-s);
	text-decoration: none;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

@media (min-width: 640px) {
	:root {
		--gutter: 24px;
	}
}

@media (min-width: 1080px) {
	:root {
		--gutter: 32px;
	}
}

/* ------------------------------------------------------------ masthead */

.masthead {
	background: var(--sea);
	color: var(--on-sea);
	--focus: var(--tag);
	position: relative;
	z-index: 10;
}

.masthead__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
	min-width: 0;
	flex: none;
}

.brand--logo img {
	display: block;
	max-height: 44px;
	width: auto;
}

.brand__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex: none;
	object-fit: cover;
	background: var(--paper);
}

.brand__icon--mark {
	display: grid;
	place-items: center;
	background: var(--tag);
	color: var(--tag-ink);
}

.brand__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.masthead__search {
	display: none;
	flex: 1 1 auto;
	max-width: 520px;
	margin-inline: auto;
}

.masthead__tools {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}

.channels--icons {
	flex-wrap: nowrap;
	gap: 2px;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-s);
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

.icon-btn .icon {
	width: 22px;
	height: 22px;
}

.icon-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.icon-btn--whatsapp {
	color: var(--wa);
}

.icon-btn--telegram {
	color: #5cb8ee;
}

.icon-btn--discord {
	color: #9ba3ff;
}

.icon-btn--facebook {
	color: #74a9ff;
}

/* Phones: only WhatsApp and Telegram in the header; all channels are in the footer. */
@media (max-width: 899px) {
	.masthead .icon-btn--discord,
	.masthead .icon-btn--facebook {
		display: none;
	}
}

.icon-sun,
[data-theme="dark"] .icon-moon {
	display: none;
}

[data-theme="dark"] .icon-sun {
	display: block;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .icon-moon {
		display: none;
	}

	:root:not([data-theme="light"]) .icon-sun {
		display: block;
	}
}

/* search form (header, widget, 404) */

.finder {
	position: relative;
	display: flex;
	width: 100%;
}

.finder__field {
	width: 100%;
	min-height: 44px;
	padding: 10px 48px 10px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--line-strong);
	background: var(--paper);
	color: var(--ink);
	font-size: 1rem;
	-webkit-appearance: none;
	appearance: none;
}

.finder__field::placeholder {
	color: var(--muted);
	opacity: 1;
}

.finder__field::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.finder__field:focus {
	outline: none;
	border-color: var(--focus);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent);
}

.finder__submit {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}

.masthead .finder__field {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--on-sea);
}

.masthead .finder__field::placeholder {
	color: var(--on-sea-muted);
}

.masthead .finder__field:focus {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--tag);
}

.masthead .finder__field:focus::placeholder {
	color: var(--muted);
}

.masthead .finder__submit {
	color: var(--on-sea-muted);
}

.masthead .finder__field:focus + .finder__submit {
	color: var(--ink);
}

/* mobile search panel */
.masthead.is-search-open .masthead__search,
.masthead__search:target {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 60px;
	max-width: none;
	padding: 10px var(--gutter) 14px;
	background: var(--sea);
	box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.4);
	z-index: 5;
}

@media (min-width: 900px) {
	.masthead__bar {
		min-height: 68px;
		gap: 24px;
	}

	.brand__name {
		font-size: 1.75rem;
	}

	.brand__icon {
		width: 40px;
		height: 40px;
	}

	.masthead__search,
	.masthead.is-search-open .masthead__search,
	.masthead__search:target {
		display: block;
		position: static;
		padding: 0;
		background: none;
		box-shadow: none;
	}

	.masthead__search-toggle {
		display: none;
	}

	.masthead__tools {
		margin-left: 0;
	}
}

@media (max-width: 639px) {
	.masthead__bar {
		gap: 8px;
	}

	.brand {
		gap: 8px;
	}

	.brand__name {
		font-size: 1.375rem;
	}

	.brand__icon {
		width: 32px;
		height: 32px;
	}

	.icon-btn {
		width: 38px;
	}
}

@media (max-width: 379px) {
	.brand__name {
		font-size: 1.2rem;
	}

	.brand__icon {
		width: 28px;
		height: 28px;
	}

	.icon-btn {
		width: 35px;
	}

	.icon-btn .icon {
		width: 20px;
		height: 20px;
	}
}

/* category rail */

.rail {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rail__inner {
	padding-inline: 0;
}

.rail__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}

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

.rail__list li {
	flex: none;
}

.rail__list a {
	position: relative;
	display: block;
	padding: 12px 12px 13px;
	color: var(--on-sea-muted);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	white-space: nowrap;
}

.rail__list a:hover {
	color: var(--on-sea);
}

.rail__list .current-menu-item > a,
.rail__list .current-post-ancestor > a,
.rail__list .current-menu-parent > a,
.rail__list .current_page_item > a {
	color: var(--on-sea);
}

.rail__list .current-menu-item > a::after,
.rail__list .current-post-ancestor > a::after,
.rail__list .current-menu-parent > a::after,
.rail__list .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 4px;
	border-radius: 4px 4px 0 0;
	background: var(--tag);
}

@media (max-width: 1079px) {
	.rail__list.is-end {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.rail__list.is-scrolled {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
		mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
	}

	.rail__list.is-scrolled.is-end {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 32px);
		mask-image: linear-gradient(90deg, transparent, #000 32px);
	}
}

@media (min-width: 1080px) {
	.rail__list {
		-webkit-mask-image: none;
		mask-image: none;
		padding-inline: calc(var(--gutter) - 12px);
	}
}

/* ---------------------------------------------------------------- hero */

.hero {
	background: var(--sea);
	color: var(--on-sea);
	--focus: var(--tag);
	padding: 28px 0 32px;
	overflow: hidden;
}

.hero__inner {
	display: grid;
	gap: 28px;
	align-items: center;
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.5rem, 7.2vw, 4.5rem);
	line-height: 0.95;
	letter-spacing: 0.005em;
	max-width: 13ch;
	text-wrap: balance;
}

.hero__text {
	margin-top: 14px;
	max-width: 46ch;
	color: var(--on-sea-muted);
	font-size: 1.0625rem;
}

.hero__count {
	color: var(--on-sea);
	font-weight: 700;
	white-space: nowrap;
}

.channels {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.channels--hero {
	margin-top: 22px;
}

.channel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 18px 10px 14px;
	border-radius: var(--radius-s);
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
}

.channel:hover {
	filter: brightness(1.06);
}

.channel__icon {
	width: 22px;
	height: 22px;
}

.channel__short {
	display: none;
}

.channel--whatsapp {
	background: var(--wa);
	color: var(--wa-ink);
}

.channel--telegram {
	background: var(--tg);
	color: var(--tg-ink);
}

.channel--discord {
	background: #5865f2;
	color: #fff;
}

.channel--facebook {
	background: #1467d6;
	color: #fff;
}

/* spotlight: biggest discount right now */

.spot {
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 14px 16px;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	--focus: var(--sea);
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.55);
}

.spot__label {
	grid-column: 1 / -1;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--stamp);
	display: flex;
	align-items: center;
	gap: 8px;
}

.spot__media {
	display: block;
	align-self: start;
}

.spot__body {
	min-width: 0;
	display: grid;
	gap: 12px;
	align-content: start;
}

.spot__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

.spot__title a:hover {
	text-decoration: underline;
}

.spot__price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.spot__actions {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.spot__time {
	grid-column: 2;
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 0.875rem;
}

.spot .price--l .pricetag {
	font-size: clamp(2.5rem, 9vw, 3.5rem);
	transform-origin: 14px 50%;
	animation: pdt-swing 1.3s cubic-bezier(0.3, 0.7, 0.4, 1) 0.25s both;
}

@keyframes pdt-swing {
	0% {
		transform: rotate(-16deg);
	}

	40% {
		transform: rotate(4deg);
	}

	65% {
		transform: rotate(-5deg);
	}

	85% {
		transform: rotate(-1.5deg);
	}

	100% {
		transform: rotate(-3deg);
	}
}

@media (max-width: 639px) {
	.hero {
		padding: 22px 0 24px;
	}

	.hero__inner {
		gap: 22px;
	}

	.hero__title {
		font-size: 2.375rem;
	}

	.hero__text {
		margin-top: 10px;
		font-size: 1rem;
	}

	.hero__lead {
		display: none;
	}

	.channels--hero {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin-top: 16px;
	}

	.channels--hero .channel {
		justify-content: center;
		padding-inline: 10px;
	}

	.channels--hero .channel__long {
		display: none;
	}

	.channels--hero .channel__short {
		display: inline;
	}

	.spot {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 10px 14px;
		padding: 14px;
	}

	.spot__label {
		font-size: 1.125rem;
	}

	.spot__body {
		gap: 10px;
	}

	.spot__title {
		-webkit-line-clamp: 2;
	}

	.spot .price--l .pricetag {
		font-size: 2.25rem;
	}

	.spot__price {
		gap: 6px 10px;
	}

	.spot__price .price {
		flex-wrap: nowrap;
	}

	.spot__actions {
		grid-column: 1 / -1;
		flex-wrap: nowrap;
	}

	.spot__actions .ticket {
		flex: 1 1 auto;
		min-width: 0;
		min-height: 52px;
		justify-content: space-between;
	}

	.spot__actions .ticket__icon,
	.spot__actions .ticket:not(.is-copied) .ticket__label {
		display: none;
	}

	.spot__actions .ticket__action {
		padding: 8px;
	}

	.spot__actions .btn {
		flex: 1 1 auto;
	}

	.spot__time {
		display: none;
	}
}

@media (min-width: 640px) {
	.spot {
		grid-template-columns: 168px minmax(0, 1fr);
		padding: 20px;
		gap: 16px 20px;
	}

	.spot__title {
		font-size: 1.125rem;
	}
}

@media (min-width: 1080px) {
	.hero {
		padding: 48px 0 56px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
		gap: 56px;
	}

	.hero__text {
		font-size: 1.1875rem;
	}
}

/* ------------------------------------------------------------ page head */

.page-head {
	background: var(--sea);
	color: var(--on-sea);
	--focus: var(--tag);
	padding: 28px 0 30px;
}

.page-head__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	line-height: 0.95;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.page-head__count {
	margin-top: 8px;
	color: var(--on-sea-muted);
	font-weight: 600;
}

.page-head__desc {
	margin-top: 12px;
	max-width: 62ch;
	color: var(--on-sea-muted);
}

.page-head__desc p + p {
	margin-top: 8px;
}

.page-head__desc a {
	color: var(--on-sea);
	font-weight: 700;
}

.page-head--404 .finder {
	margin-top: 16px;
	max-width: 520px;
}

@media (min-width: 1080px) {
	.page-head {
		padding: 44px 0 46px;
	}
}

/* -------------------------------------------------------------- layout */

.layout {
	display: grid;
	gap: 28px;
	padding-top: 20px;
	padding-bottom: 56px;
}

.layout__main {
	min-width: 0;
}

.layout__side {
	min-width: 0;
	display: grid;
	gap: 20px;
	align-content: start;
}

@media (min-width: 1080px) {
	.has-side .layout {
		grid-template-columns: minmax(0, 1fr) 336px;
		gap: 40px;
		padding-top: 32px;
	}
}

/* ---------------------------------------------------------------- feed */

.feed {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.feed__items > :first-child {
	border-top: 0;
	border-radius: var(--radius) var(--radius) 0 0;
}

.day-mark {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px 9px;
	background: var(--paper-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1;
}

.feed__items > .day-mark:first-child {
	border-top: 0;
}

.day-mark + .deal {
	border-top: 0;
}

@media (max-width: 600px) {
	.admin-bar .day-mark {
		top: 0;
	}
}

.feed__news {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 8px);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -22px auto 0;
	transform: translateY(8px);
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--tag);
	color: var(--tag-ink);
	font-weight: 700;
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.feed__news[hidden] {
	display: none;
}

/* deal row */

.deal {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	grid-template-areas:
		"media body"
		"buy buy";
	gap: 12px 14px;
	padding: 16px;
	border-top: 1px solid var(--line);
}

.deal__time {
	display: none;
	grid-area: time;
}

.deal__media {
	grid-area: media;
	position: relative;
	display: block;
	align-self: start;
}

.deal__body {
	grid-area: body;
	min-width: 0;
	display: grid;
	gap: 6px;
	align-content: start;
}

.deal__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 0.8125rem;
	color: var(--muted);
}

.deal__when.is-fresh {
	color: var(--stamp);
	font-weight: 700;
}

.deal__comments {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
}

.deal__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
}

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

.deal__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.deal__title--article {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1.02;
}

.deal__excerpt {
	color: var(--muted);
	font-size: 0.9375rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.deal__extras {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	align-items: center;
	margin-top: 2px;
}

.deal__buy {
	grid-area: buy;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}

.deal__buy .btn {
	flex: none;
}

.deal--article .deal__buy,
.deal--note .deal__buy {
	justify-content: flex-end;
}

.deal.sticky {
	background: color-mix(in srgb, var(--tag) 9%, var(--paper));
}

.deal__stamp {
	position: absolute;
	top: -6px;
	left: -6px;
}

@media (min-width: 640px) {
	.deal {
		grid-template-columns: 112px minmax(0, 1fr) auto;
		grid-template-areas: "media body buy";
		gap: 0 18px;
		padding: 18px 20px;
	}

	.deal__buy {
		flex-direction: column;
		align-items: flex-end;
		justify-content: flex-start;
		gap: 12px;
		min-width: 132px;
	}

	.deal--article .deal__buy,
	.deal--note .deal__buy {
		justify-content: center;
	}

	.deal__title {
		font-size: 1.0625rem;
	}

	.deal__title--article {
		font-size: 1.75rem;
	}

	.day-mark {
		padding-inline: 20px;
	}
}

@media (min-width: 900px) {
	.deal {
		grid-template-columns: 46px 120px minmax(0, 1fr) auto;
		grid-template-areas: "time media body buy";
	}

	.deal__time {
		display: block;
		padding-top: 3px;
		font-weight: 700;
		font-size: 0.9375rem;
		line-height: 1.2;
		font-variant-numeric: tabular-nums;
		color: var(--muted);
	}

	.deal__when {
		display: none;
	}

	.deal__when.is-fresh {
		display: inline;
	}
}

@media (max-width: 639px) {
	.layout__main > .feed,
	.more > .feed {
		margin-inline: calc(-1 * var(--gutter));
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}

	.feed__items > :first-child {
		border-radius: 0;
	}
}

.feed--compact .deal__time {
	display: none;
}

@media (min-width: 900px) {
	.feed--compact .deal {
		grid-template-columns: 96px minmax(0, 1fr) auto;
		grid-template-areas: "media body buy";
	}

	.feed--compact .deal__when {
		display: inline;
	}
}

/* --------------------------------------------------- price tag & stamp */

.price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 10px;
	min-width: 0;
}

.pricetag {
	--notch: 0.42em;
	display: inline-flex;
	align-items: baseline;
	gap: 0.08em;
	padding: 0.14em 0.36em 0.1em calc(var(--notch) + 0.42em);
	background: var(--tag);
	color: var(--tag-ink);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.75rem;
	line-height: 1;
	white-space: nowrap;
	border-radius: 0 0.16em 0.16em 0;
	clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
	-webkit-mask: radial-gradient(circle at calc(var(--notch) + 0.06em) 50%, transparent 0.1em, #000 calc(0.1em + 0.5px));
	mask: radial-gradient(circle at calc(var(--notch) + 0.06em) 50%, transparent 0.1em, #000 calc(0.1em + 0.5px));
}

.pricetag__cur {
	font-size: 0.62em;
	font-weight: 700;
	margin-left: 0.06em;
}

.pricetag__from {
	align-self: center;
	font-family: var(--font-text);
	font-size: 0.42em;
	font-weight: 700;
	margin-right: 0.12em;
}

.price__old {
	color: var(--muted);
	font-size: 0.9375rem;
	white-space: nowrap;
}

.price__old s {
	text-decoration-color: var(--stamp);
	text-decoration-thickness: 2px;
}

.price--s .pricetag {
	font-size: 1.375rem;
}

.price--l .pricetag {
	font-size: clamp(2.75rem, 8vw, 3.75rem);
}

.price--l .price__old {
	font-size: 1.125rem;
}

@media (min-width: 640px) {
	.deal .price {
		flex-direction: column;
		align-items: flex-end;
		gap: 2px;
	}
}

.stamp {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 0.22em 0.42em 0.18em;
	border-radius: 6px;
	background: var(--stamp);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.0625rem;
	line-height: 1;
	white-space: nowrap;
	transform: rotate(-6deg);
	box-shadow: 0 0 0 2px var(--paper);
}

.stamp .icon {
	width: 0.95em;
	height: 0.95em;
	vertical-align: 0;
}

.stamp--hot {
	font-size: 1.1875rem;
}

/* product plate */

.plate {
	display: block;
	position: relative;
	aspect-ratio: 1;
	width: 100%;
	border-radius: 12px;
	background: var(--plate);
	border: 1px solid var(--line);
	overflow: hidden;
}

.plate__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6%;
}

.deal--article .plate__img {
	object-fit: cover;
	padding: 0;
}

.plate--empty {
	display: grid;
	place-items: center;
	background: var(--chip-bg);
	border-color: var(--chip-bg);
	color: var(--sea-3);
}

.plate__icon {
	width: 38%;
	height: 38%;
	opacity: 0.7;
}

/* chips, hints, code ticket */

.chip {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--chip-bg);
	color: var(--chip-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

.chip:hover {
	background: color-mix(in srgb, var(--chip-bg) 80%, var(--chip-ink));
}

.hints {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hint {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px 3px 7px;
	border-radius: 6px;
	background: var(--hint-bg);
	color: var(--hint-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.35;
}

.ticket {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 3px 4px 3px 10px;
	border: 1.5px dashed var(--ink);
	border-radius: 8px;
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
	font-size: 0.875rem;
	line-height: 1.2;
}

.ticket__icon {
	color: var(--muted);
}

.ticket__code {
	font-weight: 800;
	letter-spacing: 0.06em;
}

.ticket__action {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 5px;
	background: var(--chip-bg);
	color: var(--chip-ink);
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}

.ticket__action .icon {
	width: 1.1em;
	height: 1.1em;
}

.ticket .icon--check,
.ticket.is-copied .icon--copy {
	display: none;
}

.ticket.is-copied .icon--check {
	display: inline-block;
}

.ticket:hover .ticket__action {
	background: var(--cta);
	color: var(--cta-ink);
}

.ticket.is-copied {
	border-style: solid;
	border-color: #1f8a5b;
}

.ticket.is-copied .ticket__action {
	background: #1f8a5b;
	color: #fff;
}

.ticket--l {
	min-height: 52px;
	padding: 6px 6px 6px 14px;
	font-size: 1.125rem;
	border-width: 2px;
	border-radius: 10px;
}

.ticket--l .ticket__action {
	padding: 9px 14px;
	font-size: 0.875rem;
}

/* buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: var(--radius-s);
	font-family: var(--font-text);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn__icon {
	width: 1em;
	height: 1em;
	opacity: 0.85;
}

.btn--deal {
	background: var(--cta);
	color: var(--cta-ink);
}

.btn--deal:hover {
	background: var(--cta-hover);
	color: var(--cta-ink);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--ghost:hover {
	box-shadow: inset 0 0 0 2px var(--ink);
	color: var(--ink);
}

.btn--big {
	min-height: 52px;
	padding: 14px 22px;
	font-size: 1.0625rem;
}

.btn--wide {
	flex: 1 1 220px;
}

.btn--more {
	width: 100%;
	min-height: 52px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
	font-size: 1rem;
}

.btn--more:hover {
	box-shadow: inset 0 0 0 2px var(--ink);
}

.btn--more.is-loading {
	opacity: 0.7;
	cursor: progress;
}

/* pager */

.pager {
	display: grid;
	gap: 18px;
	margin-top: 20px;
	justify-items: center;
}

.pager__numbers .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pager__numbers a.page-numbers,
.pager__numbers span.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 8px;
	color: var(--ink);
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
}

.pager__numbers a.page-numbers:hover {
	background: var(--paper);
}

.pager__numbers span.page-numbers.current {
	background: var(--sea);
	color: var(--on-sea);
}

.pager__numbers .dots {
	color: var(--muted);
}

/* ------------------------------------------------------------- sidebar */

.side-box {
	padding: 20px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}

.side-box__title {
	margin-bottom: 14px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.625rem;
	line-height: 1;
}

.toplist {
	margin: 0 -8px;
	padding: 0;
	list-style: none;
}

.toplist__link {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
}

.toplist__link:hover {
	background: var(--paper-2);
}

.toplist__link:hover .toplist__name {
	text-decoration: underline;
}

.toplist__media .plate {
	border-radius: 8px;
}

.toplist__text {
	min-width: 0;
	display: grid;
	gap: 2px;
}

.toplist__name {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.toplist__price {
	font-size: 0.8125rem;
	color: var(--muted);
}

.toplist__price strong {
	color: var(--ink);
	font-size: 0.9375rem;
}

.toplist__price s {
	text-decoration-color: var(--stamp);
}

.toplist__stamp {
	font-size: 0.9375rem;
	transform: rotate(-4deg);
}

.side-box--channels {
	background: var(--sea);
	border-color: var(--sea);
	color: var(--on-sea);
	--focus: var(--tag);
}

.side-box--channels p {
	color: var(--on-sea-muted);
	margin-bottom: 16px;
}

.channels--box {
	display: grid;
}

.channels--box .channel {
	justify-content: flex-start;
}

/* core widgets */

.widget ul,
.widget ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-top: 1px solid var(--line);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.widget li:first-child {
	border-top: 0;
	padding-top: 0;
}

.widget li a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.widget li a:hover {
	text-decoration: underline;
}

.widget .children {
	margin-left: 14px;
}

.widget select {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: var(--radius-s);
	border: 1.5px solid var(--line-strong);
	background: var(--paper);
}

.widget img {
	max-width: 100%;
	height: auto;
}

.widget_custom_html img,
.widget_text img {
	max-width: 96px;
}

.recentcomments {
	color: var(--muted);
}

.recentcomments .comment-author-link {
	color: var(--ink);
	font-weight: 700;
}

.widget .post-date {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
}

.wp-block-search__inside-wrapper {
	display: flex;
	gap: 6px;
}

.wp-block-search__input {
	flex: 1;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: var(--radius-s);
	border: 1.5px solid var(--line-strong);
	background: var(--paper);
}

.wp-block-search__button {
	min-height: 44px;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--radius-s);
	background: var(--cta);
	color: var(--cta-ink);
	font-weight: 700;
}

/* ---------------------------------------------------------- single deal */

.offer {
	padding: 18px 16px 20px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}

.offer__grid {
	display: grid;
	gap: 20px;
}

.offer__media {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: 320px;
	justify-self: center;
}

.offer__stamp {
	position: absolute;
	top: -8px;
	left: -8px;
	font-size: 1.5rem;
}

.offer__info {
	min-width: 0;
	display: grid;
	gap: 16px;
	align-content: start;
}

.offer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	color: var(--muted);
	font-size: 0.875rem;
}

.offer__meta .chip {
	margin-right: 4px;
}

.offer__title {
	font-size: clamp(1.3125rem, 3vw, 1.75rem);
	font-weight: 800;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.offer__price {
	display: grid;
	gap: 8px;
	justify-items: start;
}

.offer__price .price {
	gap: 8px 16px;
}

.offer__price .pricetag {
	transform: rotate(-2deg);
	transform-origin: 14px 50%;
}

.offer__save {
	color: var(--sea-3);
	font-weight: 700;
}

.offer__code {
	display: grid;
	gap: 8px;
	justify-items: start;
}

.offer__code-label {
	font-size: 0.875rem;
	color: var(--muted);
	font-weight: 600;
}

.offer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.offer__note {
	font-size: 0.8125rem;
	color: var(--muted);
}

.offer__content {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
	.offer {
		padding: 28px;
	}

	.offer__grid {
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
		gap: 32px;
	}

	.offer__media {
		max-width: none;
	}
}

/* original Telegram message */

.origin {
	margin-top: 24px;
	border-top: 1px solid var(--line);
}

.origin__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 0 0;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	color: var(--ink);
}

.origin__summary::-webkit-details-marker {
	display: none;
}

.origin__summary .icon--telegram {
	color: var(--tg);
	width: 20px;
	height: 20px;
}

.origin__chev {
	margin-left: auto;
	transition: transform 0.2s ease;
}

.origin[open] .origin__chev {
	transform: rotate(180deg);
}

.origin__bubble {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 4px 16px 16px 16px;
	background: var(--bubble);
	font-size: 0.9375rem;
	max-width: 62ch;
	overflow-wrap: anywhere;
}

.origin__bubble p {
	margin: 0;
}

.origin__bubble p:empty {
	display: none;
}

.origin__bubble a[href*="t.me/"] {
	display: none;
}

.origin__source {
	margin-top: 10px;
	font-size: 0.875rem;
}

/* "more in category" and post navigation */

.more {
	margin-top: 32px;
}

.more__title,
.section-title {
	margin-bottom: 14px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
}

.more__all {
	margin-top: 16px;
	text-align: center;
}

.postnav {
	margin-top: 32px;
}

.postnav .nav-links {
	display: grid;
	gap: 12px;
}

.postnav a {
	display: grid;
	gap: 4px;
	padding: 14px 16px;
	border-radius: var(--radius-s);
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	height: 100%;
}

.postnav a:hover .postnav__title {
	text-decoration: underline;
}

.postnav__dir {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 700;
}

.postnav__title {
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.postnav .nav-next {
	text-align: right;
}

.postnav .nav-next .postnav__dir {
	justify-content: flex-end;
}

@media (min-width: 640px) {
	.postnav .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.postnav .nav-next:only-child {
		grid-column: 2;
	}
}

/* ------------------------------------------------- articles and pages */

.article {
	padding: 22px 18px 28px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}

.article__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 0.875rem;
	margin-bottom: 14px;
}

.article__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.25rem, 6vw, 3.5rem);
	line-height: 0.98;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.article__media {
	margin: 22px 0 0;
}

.article__media img {
	display: block;
	width: 100%;
	border-radius: 12px;
}

.article__head + .entry,
.article__media + .entry {
	margin-top: 22px;
}

.article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	color: var(--muted);
}

@media (min-width: 640px) {
	.article {
		padding: 36px 40px 44px;
	}
}

.entry {
	font-size: 1.0625rem;
	line-height: 1.65;
	max-width: 68ch;
	overflow-wrap: break-word;
}

.entry > * + * {
	margin-top: 1em;
}

.entry h2 {
	margin-top: 1.6em;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1.05;
	text-wrap: balance;
}

.entry h3 {
	margin-top: 1.5em;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
}

.entry h4 {
	margin-top: 1.4em;
	font-size: 1.0625rem;
	font-weight: 800;
}

.entry ul,
.entry ol {
	padding-left: 1.3em;
}

.entry li + li {
	margin-top: 0.35em;
}

.entry ul li::marker {
	color: var(--sea-3);
}

.entry blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--tag);
	font-size: 1.125rem;
}

.entry figure {
	margin-inline: 0;
}

.entry img {
	border-radius: 8px;
}

.entry figcaption {
	margin-top: 6px;
	font-size: 0.875rem;
	color: var(--muted);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.entry .wp-block-table {
	overflow-x: auto;
}

.entry th,
.entry td,
.entry .wp-block-table th,
.entry .wp-block-table td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry .wp-block-table thead,
.entry .wp-block-table tfoot {
	border: 0;
}

.entry thead th,
.entry .wp-block-table thead th {
	border-bottom: 2px solid var(--ink);
	font-weight: 800;
}

.entry hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin-block: 2em;
}

.entry code {
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--chip-bg);
	font-size: 0.92em;
}

.entry pre {
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--paper-2);
	overflow-x: auto;
}

.entry .wp-block-button__link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 10px 18px;
	border-radius: var(--radius-s);
	background: var(--cta);
	color: var(--cta-ink);
	font-weight: 700;
	text-decoration: none;
}

.entry i.emoji {
	font-style: normal;
	background: none !important;
}

.entry i.emoji b {
	font-weight: inherit;
}

.entry .alignleft {
	float: left;
	margin: 0.3em 1.2em 0.8em 0;
}

.entry .alignright {
	float: right;
	margin: 0.3em 0 0.8em 1.2em;
}

.entry .aligncenter {
	margin-inline: auto;
}

.entry::after {
	content: "";
	display: table;
	clear: both;
}

.page-links {
	margin-top: 20px;
	font-weight: 700;
}

.wp-caption-text,
.gallery-caption {
	font-size: 0.875rem;
	color: var(--muted);
}

/* -------------------------------------------------------------- comments */

.comments {
	margin-top: 32px;
	padding: 22px 18px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}

.comments__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.75rem;
	line-height: 1;
	margin-bottom: 16px;
}

.comments__list,
.comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comments__list .children {
	margin-left: 20px;
	padding-left: 16px;
	border-left: 2px solid var(--line);
}

.comments__list > li + li,
.comments__list .children > li {
	margin-top: 16px;
}

.comment__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 10px;
}

.comment__avatar {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--chip-bg);
	color: var(--chip-ink);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.125rem;
	line-height: 1;
	flex: none;
}

.bypostauthor > .comment__body .comment__avatar {
	background: var(--tag);
	color: var(--tag-ink);
}

.comment__author {
	font-weight: 800;
}

.comment__author a {
	color: inherit;
}

.comment__time {
	color: var(--muted);
	font-size: 0.8125rem;
	text-decoration: none;
}

.comment__text {
	margin-top: 6px;
}

.comment__text p + p {
	margin-top: 0.6em;
}

.comment__pending {
	margin-top: 6px;
	color: var(--hint-ink);
	font-size: 0.875rem;
}

.comment__reply {
	margin-top: 4px;
	font-size: 0.875rem;
	font-weight: 700;
}

.comment-respond {
	margin-top: 28px;
}

.comments__list + .comment-respond,
.comments .navigation + .comment-respond {
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.comment-respond .comments__title small {
	display: block;
	margin-top: 8px;
	font-family: var(--font-text);
	font-size: 0.875rem;
	font-weight: 600;
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form p {
	margin: 0;
}

.comment-notes,
.logged-in-as {
	color: var(--muted);
	font-size: 0.875rem;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
	font-size: 0.875rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: var(--radius-s);
	border: 1.5px solid var(--line-strong);
	background: var(--paper);
	color: var(--ink);
}

.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--focus);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent);
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	font-weight: 400;
	margin: 0;
}

.comment-form-cookies-consent input {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	flex: none;
}

.form-submit {
	margin-top: 4px;
}

.required {
	color: var(--stamp);
}

@media (min-width: 640px) {
	.comments {
		padding: 28px 32px;
	}
}

/* ---------------------------------------------------------------- empty */

.empty {
	padding: 32px 20px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	text-align: center;
	display: grid;
	gap: 12px;
	justify-items: center;
}

.empty__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
}

.empty .finder {
	max-width: 420px;
	margin-top: 8px;
}

/* --------------------------------------------------------------- footer */

.colophon {
	background: var(--sea);
	color: var(--on-sea-muted);
	--focus: var(--tag);
	padding: 40px 0 28px;
}

.colophon a {
	color: var(--on-sea);
}

.colophon__grid {
	display: grid;
	gap: 28px;
}

.colophon__about .brand {
	color: var(--on-sea);
	margin-bottom: 12px;
}

.colophon__about p {
	max-width: 46ch;
}

.colophon__title {
	margin-bottom: 12px;
	color: var(--on-sea);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1;
}

.channels--footer .channel {
	min-height: 44px;
}

.channels--footer .channel--whatsapp {
	color: var(--wa-ink);
}

.channels--footer .channel--telegram,
.channels--footer .channel--discord,
.channels--footer .channel--facebook {
	color: #fff;
}

.colophon__legal {
	margin-top: 32px;
}

.colophon__legal-inner {
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: grid;
	gap: 14px;
	font-size: 0.875rem;
}

.legal__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal__list a {
	font-weight: 700;
	text-decoration: none;
}

.legal__list a:hover {
	text-decoration: underline;
}

.colophon__note {
	max-width: 80ch;
}

@media (min-width: 900px) {
	.colophon__grid {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
	}
}

/* to top */

.to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 20;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sea);
	color: var(--on-sea);
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
	--focus: var(--tag);
}

.to-top[hidden] {
	display: none;
}

.to-top .icon {
	width: 22px;
	height: 22px;
}

/* -------------------------------------------------------------- dark */

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--sea: #082b31;
		--sea-2: #0f3d45;
		--sea-3: #7fd8cd;
		--bg: #05191d;
		--paper: #0b252a;
		--paper-2: #0e2d33;
		--ink: #e2eeec;
		--muted: #97afb3;
		--line: #1a3f46;
		--line-strong: #2b5a62;
		--cta: #5fd3c6;
		--cta-ink: #04211f;
		--cta-hover: #86e1d7;
		--chip-bg: #123a41;
		--chip-ink: #a9e6df;
		--hint-bg: rgba(255, 194, 26, 0.13);
		--hint-ink: #ffd76a;
		--link: #7fd8cd;
		--focus: #ffc21a;
		--bubble: #10323a;
		--plate: #ffffff;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--sea: #082b31;
	--sea-2: #0f3d45;
	--sea-3: #7fd8cd;
	--bg: #05191d;
	--paper: #0b252a;
	--paper-2: #0e2d33;
	--ink: #e2eeec;
	--muted: #97afb3;
	--line: #1a3f46;
	--line-strong: #2b5a62;
	--cta: #5fd3c6;
	--cta-ink: #04211f;
	--cta-hover: #86e1d7;
	--chip-bg: #123a41;
	--chip-ink: #a9e6df;
	--hint-bg: rgba(255, 194, 26, 0.13);
	--hint-ink: #ffd76a;
	--link: #7fd8cd;
	--focus: #ffc21a;
	--bubble: #10323a;
	--plate: #ffffff;
	color-scheme: dark;
}

/* --------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.spot .price--l .pricetag {
		transform: rotate(-3deg);
	}
}

/* ---------------------------------------------------------------- print */

@media print {
	.masthead,
	.rail,
	.layout__side,
	.colophon,
	.to-top,
	.pager,
	.comments,
	.postnav,
	.offer__actions {
		display: none !important;
	}

	body {
		background: #fff;
	}
}
