:root {
	--bg: #f5f3ef;
	--card: #ffffff;
	--ink: #17151f;
	--muted: #6b6878;
	--line: #e4e0d8;
	--night: #14121f;
	--night-2: #221f33;
	--accent: #ff5a36;
	--accent-ink: #ffffff;
	--gold: #ffc94d;
	--ok: #1f9d55;
	--warn: #c77700;
	--bad: #c62e2e;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(20, 18, 31, .06), 0 6px 20px rgba(20, 18, 31, .06);
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f0e17;
		--card: #1a1825;
		--ink: #f1eff7;
		--muted: #a19db3;
		--line: #2c2940;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
		color-scheme: dark;
	}
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.5vw, 44px); margin: .2em 0 .3em; }
h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 .6em; }
small { color: var(--muted); }

.cr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* шапка */
.cr-top { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 10; }
.cr-top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.cr-logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; white-space: nowrap; margin: 0; }
.cr-logo b { color: var(--accent); font-weight: 800; }
.cr-logo-mark { width: 22px; height: 22px; border-radius: 6px; background:
	radial-gradient(circle at 50% 38%, var(--gold) 0 3px, transparent 3.5px),
	radial-gradient(circle at 50% 100%, transparent 0 6px, var(--accent) 6.5px 9px, transparent 9.5px), var(--night-2); }
.cr-nav { display: flex; gap: 18px; }
.cr-nav a { text-decoration: none; color: #d8d5e6; font-weight: 600; font-size: 15px; }
.cr-nav a:hover { color: #fff; }
.cr-search { margin-left: auto; }
.cr-search input { width: 220px; height: 36px; border-radius: 18px; border: 1px solid #3a3651; background: var(--night-2); color: #fff; padding: 0 14px; font: inherit; font-size: 14px; }
.cr-search input::placeholder { color: #8e8aa3; }
.cr-lang { position: relative; }
.cr-lang summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 13px; border: 1px solid #3a3651; border-radius: 8px; padding: 5px 9px; }
.cr-lang summary::-webkit-details-marker { display: none; }
.cr-lang ul { position: absolute; right: 0; top: 36px; margin: 0; padding: 6px; list-style: none; background: var(--card); color: var(--ink); border-radius: 10px; box-shadow: var(--shadow); min-width: 150px; }
.cr-lang li a { display: block; padding: 7px 10px; text-decoration: none; border-radius: 6px; }
.cr-lang li a:hover, .cr-lang li a[aria-current] { background: var(--bg); }

.cr-langbar { background: var(--gold); color: #2a2100; font-size: 15px; }
.cr-langbar .cr-wrap { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.cr-langbar a { font-weight: 700; }
.cr-langbar button { margin-left: auto; background: none; border: 0; font: inherit; cursor: pointer; color: inherit; opacity: .75; }

/* главная */
.cr-hero { background: linear-gradient(160deg, var(--night) 0%, #2a1f3d 60%, #4a2032 100%); color: #fff; padding: 48px 0 56px; }
.cr-hero h1 { max-width: 760px; }
.cr-lead { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.cr-hero .cr-lead { color: #cfcbe0; }
.cr-hero-search { display: flex; gap: 8px; max-width: 560px; margin: 18px 0; }
.cr-hero-search input { flex: 1; min-width: 0; height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 16px; font: inherit; background: var(--card); color: var(--ink); }
.cr-where { color: #cfcbe0; display: flex; align-items: center; gap: 8px; margin: 0; }
.cr-where a { color: var(--gold); }

.cr-sec { margin: 36px 0; }
.cr-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cr-sec-head h2 { margin: 0; }
.cr-sec-head a { text-decoration: none; }
.cr-sec-head > a { color: var(--accent); font-weight: 600; }
.cr-sec-meta { color: var(--muted); }

.cr-btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; border: 0; border-radius: 10px; padding: 10px 16px; font-size: 15px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.cr-btn:hover { filter: brightness(1.07); }
.cr-hero-search .cr-btn { height: 48px; padding: 0 22px; }
.cr-linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; margin-left: 8px; }

/* карточки туров */
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cr-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cr-card-img { aspect-ratio: 16 / 9; background: var(--night-2); display: block; overflow: hidden; }
.cr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cr-card:hover .cr-card-img img { transform: scale(1.03); }
.cr-card-ph { display: grid; place-items: center; height: 100%; font-size: 56px; font-weight: 800; color: var(--accent); background: linear-gradient(135deg, var(--night), #3b2442); }
.cr-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cr-card-artist { margin: 0; font-weight: 700; font-size: 14px; color: var(--muted); }
.cr-card-artist a { text-decoration: none; }
.cr-card-title { margin: 0; font-size: 18px; }
.cr-card-title a { text-decoration: none; }
.cr-card-title a:hover { color: var(--accent); }
.cr-card-meta { margin: 0; color: var(--muted); font-size: 14px; }
.cr-card-local { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.cr-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); border: 1px solid currentColor; border-radius: 6px; padding: 0 5px; vertical-align: 1px; }

.cr-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 8px; align-items: center; }
.cr-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; display: inline-block; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cr-flag-big { width: 36px; height: 27px; vertical-align: 0; }
.cr-flag-code { font-size: 10px; font-weight: 700; text-align: center; line-height: 15px; background: var(--line); }
.cr-flags-more { font-size: 12px; color: var(--muted); font-weight: 600; }

/* список дат */
.cr-dates { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.cr-date { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.cr-date:first-child { border-top: 0; }
.cr-date.is-off { opacity: .55; }
.cr-date-day { display: flex; flex-direction: column; align-items: center; line-height: 1.1; text-transform: uppercase; }
.cr-date-day .d { font-size: 26px; font-weight: 800; }
.cr-date-day .m { font-size: 12px; font-weight: 700; color: var(--accent); }
.cr-date-day .w { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cr-date-main p { margin: 0; }
.cr-date-artist { font-weight: 700; }
.cr-date-artist a { text-decoration: none; }
.cr-date-tour { font-weight: 500; color: var(--muted); }
.cr-date-place a { text-decoration: none; }
.cr-date-place a:hover { color: var(--accent); }
.cr-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px !important; }
.cr-badge { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 1px 7px; background: var(--bg); color: var(--muted); }
.cr-st-cancelled, .cr-st-soldout { color: var(--bad); }
.cr-st-postponed, .cr-st-rescheduled, .cr-st-sale_to { color: var(--warn); }
.cr-st-sale_from, .cr-st-presale { color: var(--ok); }
.cr-empty { color: var(--muted); padding: 16px 0; }

/* фильтры, чипы, страницы */
.cr-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 10px 0 20px; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.cr-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; text-decoration: none; font-size: 14px; font-weight: 600; }
.cr-chip:hover { border-color: var(--accent); }
.cr-chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cr-chip small { font-weight: 500; }
.cr-sort { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.cr-sort a { color: var(--muted); text-decoration: none; font-weight: 600; }
.cr-sort a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cr-pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0; }
.cr-pager a, .cr-pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; background: var(--card); font-weight: 600; }
.cr-pager span { background: var(--ink); color: var(--bg); }
.cr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.cr-crumbs li + li::before { content: "›"; margin-right: 6px; }
.cr-crumbs a { text-decoration: none; }

/* страны, артисты */
.cr-country-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.cr-country-list li { background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.cr-country-name { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; }
.cr-country-cities { display: block; font-size: 13px; margin-top: 4px; }
.cr-country-cities a { color: var(--muted); margin-right: 8px; }
.cr-az { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 22px; }
.cr-az a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--card); text-decoration: none; font-weight: 700; }
.cr-az a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.cr-artist-list { columns: 3 240px; padding: 0; list-style: none; }
.cr-artist-list li { break-inside: avoid; padding: 5px 0; }
.cr-artist-list a { font-weight: 600; text-decoration: none; }
.cr-artist-list a:hover { color: var(--accent); }
.cr-artist-list small { display: block; font-size: 13px; }
.cr-venues, .cr-archive { padding-left: 18px; columns: 2 280px; }

/* артист, тур */
.cr-artist-hero, .cr-tour-hero { background: var(--night); color: #fff; padding: 4px 0 28px; position: relative; overflow: hidden; }
.cr-artist-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero, none) center 30% / cover; opacity: .35; filter: saturate(1.1); }
.cr-artist-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, rgba(20,18,31,.4) 70%); }
.cr-artist-hero .cr-wrap { position: relative; z-index: 1; padding-top: 60px; }
.cr-artist-hero .cr-crumbs, .cr-tour-hero .cr-crumbs { color: #b9b5ca; }
.cr-artist-lead { max-width: 760px; font-size: 18px; line-height: 1.5; color: #e9e6f3; margin: 0 0 14px; }
.cr-artist-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #d8d5e6; margin: 0 0 6px; }
.cr-artist-hero .cr-tag, .cr-tour-hero .cr-tag { color: var(--gold); }
.cr-tour-hero-in { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 28px; align-items: end; padding-top: 24px; }
.cr-tour-poster { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cr-kicker { margin: 10px 0 0; font-weight: 700; color: var(--gold); }
.cr-kicker a { text-decoration: none; }
.cr-tour-hero .cr-chip { background: var(--night-2); border-color: #3a3651; color: #fff; }
.cr-tour-block h2 a { text-decoration: none; }
.cr-tour-block h2 a:hover { color: var(--accent); }
.cr-past summary { cursor: pointer; font-weight: 700; margin-bottom: 12px; }
.cr-credits { font-size: 12px; color: var(--muted); }
.cr-month { text-transform: capitalize; }
.cr-404 { padding: 60px 16px; }
.cr-doc { max-width: 820px; padding-bottom: 20px; }
.cr-doc h2 { font-size: 20px; margin: 28px 0 8px; }
.cr-doc p, .cr-doc li { line-height: 1.6; }
.cr-doc-ver { color: var(--muted); font-size: 14px; }

/* подвал */
.cr-foot { background: var(--night); color: #b9b5ca; margin-top: 60px; padding: 28px 0; font-size: 14px; }
.cr-foot a { color: #fff; }
.cr-logo-sm { color: #fff; font-size: 18px; }
.cr-foot-small { font-size: 12px; }

@media (max-width: 860px) {
	.cr-nav { display: none; }
	.cr-search input { width: 150px; }
	.cr-tour-hero-in { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.cr-top-in { gap: 10px; }
	.cr-logo { font-size: 17px; }
	.cr-search input { width: 110px; }
	.cr-date { grid-template-columns: 56px 1fr; gap: 10px; padding: 12px; }
	.cr-date-buy { grid-column: 2; }
	.cr-date-day .d { font-size: 22px; }
	.cr-hero { padding: 32px 0 40px; }
}
