/* Talent Pool growth tools (v1.5.0): share cards, country charts, levels and badges. */

/* Filters row on the chart page */
.ttp .ttp-filters { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; }
.ttp .ttp-filters .ttp-filter { flex: 1 1 240px; max-width: 360px; }
.ttp .ttp-country-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.ttp .ttp-country-strip li { margin: 0; }
.ttp .ttp-country-strip a { text-decoration: none; }
.ttp .ttp-country-strip a.is-active { background: #000; color: var(--ttp-y); }
.ttp .ttp-country-strip small { font-weight: 500; opacity: .75; }
.ttp .ttp-chip svg { width: 12px; height: 12px; }

/* Level chip */
.ttp .ttp-level-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 2px solid #000; background: #fff; color: #000; font: 800 12px/1.2 var(--ttp-font); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.ttp .ttp-level-chip svg { width: 12px; height: 12px; }
.ttp .ttp-level-chip.is-lv2 { background: var(--ttp-tint); }
.ttp .ttp-level-chip.is-lv3 { background: var(--ttp-y); }
.ttp .ttp-level-chip.is-lv4 { background: var(--ttp-g); }
.ttp .ttp-level-chip.is-lv5 { background: var(--ttp-b); }
.ttp .ttp-level-chip.is-lv6 { background: var(--ttp-p); }
.ttp .ttp-level-chip.is-lv7 { background: #000; color: var(--ttp-y); }

/* Level card */
.ttp .ttp-level-card { margin-top: 32px; }
.ttp .ttp-level-card .ttp-card-head { align-items: center; }
.ttp .ttp-level-points { margin: 0 0 8px; font-size: 15px; }
.ttp .ttp-level-points strong { font: 900 36px/1 var(--ttp-font); }
.ttp .ttp-level-bar { height: 18px; border: 2px solid #000; background: #fff; margin: 0 0 8px; }
.ttp .ttp-level-bar span { display: block; height: 100%; background: var(--ttp-g); border-right: 2px solid #000; }
.ttp .ttp-streak { display: inline-block; margin: 8px 0 0; padding: 4px 8px; background: var(--ttp-p); border: 2px solid #000; font-weight: 700; font-size: 14px; }
.ttp .ttp-points-list { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.ttp .ttp-points-list strong { display: inline-block; min-width: 56px; }
.ttp .ttp-h4 { margin: 18px 0 10px; font: 900 16px/1.2 var(--ttp-font); text-transform: uppercase; }

/* Badges */
.ttp .ttp-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ttp .ttp-award { display: flex; gap: 10px; align-items: center; margin: 0; padding: 8px 10px; border: 2px solid #000; background: var(--ttp-y); box-shadow: 3px 3px 0 #000; }
.ttp .ttp-award.is-pink { background: var(--ttp-p); }
.ttp .ttp-award.is-blue { background: var(--ttp-b); }
.ttp .ttp-award.is-green { background: var(--ttp-g); }
.ttp .ttp-award.is-white { background: #fff; }
.ttp .ttp-award.is-black { background: #000; color: var(--ttp-y); }
.ttp .ttp-award.is-locked { background: #F2F2F2; color: #6B6B6B; box-shadow: none; border-style: dashed; }
.ttp .ttp-award-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; }
.ttp .ttp-award-icon svg { width: 15px; height: 15px; }
.ttp .ttp-award-text { display: flex; flex-direction: column; min-width: 0; }
.ttp .ttp-award-text strong { font: 900 13px/1.2 var(--ttp-font); text-transform: uppercase; }
.ttp .ttp-award-text small { font-size: 12px; line-height: 1.3; }
.ttp .ttp-awards.is-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ttp .ttp-awards.is-row .ttp-award { padding: 4px 8px 4px 5px; box-shadow: none; }
.ttp .ttp-awards.is-row .ttp-award-icon { width: 22px; height: 22px; }
.ttp .ttp-awards.is-row .ttp-award-icon svg { width: 11px; height: 11px; }
.ttp .ttp-awards.is-row small { display: none; }
.ttp .ttp-awards.is-row .ttp-award-text strong { font-size: 11px; }

/* Card maker dialog */
.ttp .ttp-modal.ttp-cardmaker { max-width: min(560px, calc(100vw - 24px)); }
.ttp .ttp-cardmaker .ttp-modal-card { gap: 12px; max-height: calc(100dvh - 24px); overflow-y: auto; }
.ttp .ttp-cm-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ttp .ttp-cm-seg { display: inline-flex; flex-wrap: wrap; border: 2px solid #000; }
.ttp .ttp-cm-seg button { margin: 0; padding: 7px 10px; border: 0; border-right: 2px solid #000; border-radius: 0; background: #fff; color: #000; font: 700 12px/1.1 var(--ttp-font); text-transform: uppercase; cursor: pointer; }
.ttp .ttp-cm-seg button:last-child { border-right: 0; }
.ttp .ttp-cm-seg button[aria-checked="true"] { background: #000; color: var(--ttp-y); }
.ttp .ttp-cm-stage { display: grid; place-items: center; padding: 10px; background: #111; border: 2px solid #000; }
.ttp .ttp-cm-stage canvas { display: block; width: auto; height: min(52vh, 480px); max-width: 100%; aspect-ratio: 9 / 16; background: #222; }
.ttp .ttp-cardmaker.is-square .ttp-cm-stage canvas { aspect-ratio: 1 / 1; height: min(44vh, 400px); }
.ttp .ttp-cm-actions { gap: 8px; }
.ttp .ttp-i-down { transform: rotate(180deg); }
.ttp .ttp-card-btn.is-icon svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
	.ttp .ttp-cm-stage canvas { height: 46vh; }
	.ttp .ttp-cardmaker.is-square .ttp-cm-stage canvas { height: auto; width: 100%; }
}

/* Chart search and filters */
.ttp .ttp-finder { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; max-width: 980px; }
.ttp .ttp-finder-search { display: flex; gap: 8px; }
.ttp .ttp-finder-search .ttp-input { flex: 1 1 auto; min-width: 0; font-size: 17px; min-height: 52px; }
.ttp .ttp-finder-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ttp .ttp-finder-row .ttp-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ttp .ttp-finder-more summary { cursor: pointer; font: 700 14px/1.3 var(--ttp-font); text-decoration: underline; text-underline-offset: 3px; }
.ttp .ttp-finder-more[open] summary { margin-bottom: 12px; }
.ttp .ttp-active-filters .ttp-chip { text-transform: none; }
.ttp .ttp-sub-label { margin: 10px 0 6px; }
.ttp .ttp-mood-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ttp .ttp-mood-pick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid #000; background: #fff; font: 700 13px/1 var(--ttp-font); cursor: pointer; }
.ttp .ttp-mood-pick:has(input:checked) { background: var(--ttp-p); }
.ttp .ttp-mood-pick:has(input:disabled) { opacity: .45; cursor: not-allowed; }
@media (max-width: 760px) {
	.ttp .ttp-finder-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Free Sounds page (v1.6.0) */
.ttp .tt-sounds-hero { background: var(--ttp-y); }
.ttp .tt-sounds-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ttp .tt-sounds-hero .ttp-lede { max-width: 620px; }
.ttp .tt-sounds-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.ttp .tt-sounds-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ttp .tt-sounds-facts li { margin: 0; padding: 6px 12px; background: #fff; border: 2px solid #000; font: 700 14px/1.2 var(--ttp-font); text-transform: uppercase; }
.ttp .tt-sounds-facts strong { font-weight: 900; font-size: 18px; }
.ttp .tt-sounds-cover img { display: block; width: 100%; height: auto; border: 3px solid #000; box-shadow: var(--ttp-shadow); background: #fff; }
.ttp .tt-kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ttp .tt-kit { display: flex; flex-direction: column; margin: 0; border: 3px solid #000; background: #fff; box-shadow: var(--ttp-shadow-sm); }
.ttp .tt-kit-art { position: relative; border-bottom: 3px solid #000; aspect-ratio: 1 / 1; background: #000; }
.ttp .tt-kit-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ttp .tt-kit-play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 58px; height: 58px; margin: 0; padding: 0; border: 3px solid #000; border-radius: 50%; background: var(--ttp-y); color: #000; box-shadow: 3px 3px 0 #000; cursor: pointer; }
.ttp .tt-kit-play svg { width: 22px; height: 22px; margin-left: 3px; }
.ttp .tt-kit-play:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #000; }
.ttp .tt-kit.is-playing .tt-kit-play { background: #000; color: var(--ttp-y); }
.ttp .tt-kit.is-playing .tt-kit-play svg { display: none; }
.ttp .tt-kit.is-playing .tt-kit-play::before { content: ""; width: 16px; height: 20px; border-left: 6px solid currentColor; border-right: 6px solid currentColor; box-sizing: border-box; }
.ttp .tt-kit-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px; }
.ttp .tt-kit-num { margin: 0; font: 800 12px/1 var(--ttp-font); letter-spacing: .08em; }
.ttp .tt-kit-title { margin: 0; font: 900 24px/1.1 var(--ttp-font); text-transform: uppercase; }
.ttp .tt-kit .ttp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ttp .tt-kit-progress { height: 6px; border: 2px solid #000; background: #fff; }
.ttp .tt-kit-progress span { display: block; width: 0; height: 100%; background: #000; transition: width .2s linear; }
.ttp .tt-kit-stems summary { cursor: pointer; font: 700 14px/1.3 var(--ttp-font); text-decoration: underline; text-underline-offset: 3px; }
.ttp .tt-kit-stems p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; }
.ttp .tt-kit .ttp-btn, .ttp .tt-extra-grid .ttp-btn { margin-top: auto; justify-content: center; }
.ttp .tt-dl small { margin-left: 6px; font-weight: 500; opacity: .8; }
.ttp .tt-dl .ttp-i-down { display: inline-flex; margin-right: 6px; }
.ttp .tt-dl .ttp-i-down svg { width: 16px; height: 16px; }
.ttp .tt-kit.is-yellow .tt-kit-body { background: var(--ttp-tint); }
.ttp .tt-extra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ttp .tt-extra-grid > li { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ttp .tt-extra-title { margin: 0; font: 900 22px/1.15 var(--ttp-font); text-transform: uppercase; }
.ttp .ttp-card.is-green { background: var(--ttp-g); }
.ttp .ttp-card.is-orange { background: #FFB547; }
.ttp .tt-license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ttp .tt-license-grid ul { margin: 12px 0 0; padding-left: 20px; }
.ttp .tt-license-grid li { margin: 0 0 8px; line-height: 1.45; }
.ttp .tt-license-note { margin: 16px 0 32px; font-weight: 600; }
.ttp .tt-sounds-upsell { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 860px) {
	.ttp .tt-sounds-hero-inner { grid-template-columns: 1fr; }
	.ttp .tt-sounds-cover { max-width: 420px; }
	.ttp .tt-license-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.ttp .tt-sounds-cta .ttp-btn { width: 100%; justify-content: center; }
}

/* Free Sounds: producer sample packs (v1.7.0) */
.ttp .tt-genre-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.ttp .tt-genre-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid #000; background: #fff; color: #000; font: 800 14px/1.2 var(--ttp-font); text-transform: uppercase; text-decoration: none; }
.ttp .tt-genre-tabs a span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; background: #000; color: #fff; font-size: 12px; }
.ttp .tt-genre-tabs a:hover { background: var(--ttp-y); }
.ttp .tt-genre-tabs a.is-active { background: #000; color: var(--ttp-y); }
.ttp .tt-genre-tabs a.is-active span { background: var(--ttp-y); color: #000; }
.ttp .tt-pack .tt-kit-art > a { display: block; width: 100%; height: 100%; }
.ttp .tt-pack-gen { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; width: 100%; height: 100%; padding: 18px; box-sizing: border-box; background: var(--ttp-y); color: #000; overflow: hidden; }
.ttp .tt-pack-gen.is-pink { background: var(--ttp-p); }
.ttp .tt-pack-gen.is-blue { background: var(--ttp-b); }
.ttp .tt-pack-gen.is-green { background: var(--ttp-g); }
.ttp .tt-pack-gen.is-orange { background: #FFB547; }
.ttp .tt-pack-gen-brand { align-self: flex-start; padding: 4px 8px; background: #000; color: var(--ttp-y); font: 900 12px/1 var(--ttp-font); letter-spacing: .06em; text-transform: uppercase; }
.ttp .tt-pack-gen-title { font: 900 clamp(24px, 3vw, 34px)/1.02 var(--ttp-font); text-transform: uppercase; word-break: break-word; }
.ttp .tt-pack-gen-by { font: 700 15px/1.2 var(--ttp-font); }
.ttp .tt-pack-gen-genre { align-self: flex-start; padding: 4px 8px; border: 2px solid #000; background: #fff; font: 800 12px/1 var(--ttp-font); text-transform: uppercase; }
.ttp .tt-pack-flag { position: absolute; top: 12px; left: 12px; padding: 4px 8px; background: #000; color: var(--ttp-y); font: 900 12px/1 var(--ttp-font); text-transform: uppercase; }
.ttp .tt-pack .tt-kit-title a { color: inherit; text-decoration: none; }
.ttp .tt-pack .tt-kit-title a:hover { text-decoration: underline; }
.ttp .tt-pack-by { margin: -4px 0 0; font: 600 15px/1.3 var(--ttp-font); }
.ttp .tt-pack-by a { color: inherit; }
.ttp .tt-pack-meta { margin: 0; font-size: 13px; line-height: 1.4; opacity: .8; }
.ttp .tt-pack.is-featured { box-shadow: 6px 6px 0 var(--ttp-p), 6px 6px 0 2px #000; }
.ttp .tt-packs-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ttp .tt-packs-empty .ttp-h2 { margin: 0; }
.ttp .tt-wanted { margin-top: 36px; }
.ttp .tt-wanted .ttp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ttp .tt-wanted a.ttp-chip { text-decoration: none; }
.ttp .tt-sounds-producers { background: var(--ttp-tint, #FFFBD6); border-top: 3px solid #000; border-bottom: 3px solid #000; }
.ttp .tt-producers-lede { max-width: 640px; margin: -8px 0 24px; font-size: 17px; }
.ttp .tt-pack-rules { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ttp .tt-pack-rules ul { margin: 0; padding-left: 20px; }
.ttp .tt-pack-rules li { margin: 0 0 8px; line-height: 1.45; }
.ttp .tt-pack-crumbs { margin: 0 0 18px; font: 700 14px/1.3 var(--ttp-font); text-transform: uppercase; }
.ttp .tt-pack-crumbs a { color: inherit; }
.ttp .tt-pack-single { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; border: 0; box-shadow: none; background: transparent; }
.ttp .tt-pack-single .tt-kit-art { border: 3px solid #000; box-shadow: var(--ttp-shadow); }
.ttp .tt-pack-single .tt-kit-progress { margin-top: 14px; }
.ttp .tt-pack-single .tt-kit-play { width: 72px; height: 72px; right: 18px; bottom: 18px; }
.ttp .tt-pack-single .tt-pack-gen-title { font-size: clamp(34px, 5vw, 56px); }
.ttp .tt-pack-h1 { margin: 6px 0 12px; font: 900 clamp(36px, 5vw, 64px)/1 var(--ttp-font); text-transform: uppercase; }
.ttp .tt-pack-producer { margin: 0 0 14px; }
.ttp .tt-pack-producer a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 17px; }
.ttp .tt-pack-producer img { width: 40px; height: 40px; border: 2px solid #000; border-radius: 50%; object-fit: cover; }
.ttp .tt-pack-single .ttp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.ttp .tt-pack-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ttp .tt-pack-facts li { margin: 0; padding: 6px 10px; border: 2px solid #000; background: #fff; font-size: 14px; }
.ttp .tt-pack-facts strong { margin-right: 4px; text-transform: uppercase; font-size: 12px; }
.ttp .tt-pack-desc p { margin: 0 0 10px; line-height: 1.55; }
.ttp .tt-profile-packs { margin-top: 22px; }
.ttp .tt-profile-packs ul { margin: 10px 0 0; padding: 0; list-style: none; }
.ttp .tt-profile-packs li { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin: 0 0 8px; }
.ttp .tt-profile-packs span { font-size: 13px; opacity: .75; }
.ttp .tt-pack-form .tt-pack-bpmkey { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ttp .tt-pack-form .tt-pack-bpmkey .ttp-field-error { grid-column: 1 / -1; }
.ttp .tt-pack-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 16px; }
.ttp .tt-up-bar { height: 8px; margin-top: 8px; border: 2px solid #000; background: #fff; }
.ttp .tt-up-bar span { display: block; width: 0; height: 100%; background: var(--ttp-g); transition: width .2s linear; }
.ttp .tt-up-msg { min-height: 1.2em; margin: 6px 0 0; font-weight: 600; font-size: 14px; }
.ttp .tt-agreement { margin: 0 0 16px; padding-left: 22px; font-size: 14px; line-height: 1.5; }
.ttp .tt-agreement li { margin: 0 0 8px; }
.ttp .tt-pack-form .ttp-check { margin-bottom: 10px; }
.ttp .tt-pack-status { margin: 12px 0 0; font-weight: 700; }
.ttp .tt-my-packs ul { margin: 10px 0 0; padding: 0; list-style: none; }
.ttp .tt-my-packs li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
.ttp .tt-my-packs small { flex-basis: 100%; opacity: .8; }
@media (max-width: 860px) {
	.ttp .tt-pack-single { grid-template-columns: 1fr; }
	.ttp .tt-pack-single-art { max-width: 460px; }
}
