/* HitzBaze Premium: main stylesheet. Mobile-first. System fonts (no external requests). */
:root {
	--hb-black: #0a0a0f;
	--hb-ink: #111827;
	--hb-blue: #1d4ed8;
	--hb-blue-dark: #1e40af;
	--hb-blue-bright: #4c8dff;
	--hb-white: #ffffff;
	--hb-gray-100: #f3f4f6;
	--hb-gray-200: #e5e7eb;
	--hb-gray-300: #d1d5db;
	--hb-gray-600: #4b5563;
	--hb-radius: 12px;
	--hb-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hb-max: 1200px;
	--hb-gap: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--hb-font); font-size: 1rem; line-height: 1.6; color: var(--hb-ink); background: var(--hb-white); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--hb-blue); text-underline-offset: 2px; }
a:hover { color: var(--hb-blue-dark); }
h1, h2, h3 { line-height: 1.25; }

:focus-visible { outline: 3px solid var(--hb-blue-bright); outline-offset: 2px; }

.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; width: 1px; word-wrap: normal; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 18px; left: 8px; top: 8px; z-index: 100000; background: var(--hb-white); color: var(--hb-black); border-radius: 6px; font-weight: 700; }

.hb-container { width: 100%; max-width: var(--hb-max); margin-inline: auto; padding-inline: var(--hb-gap); }
.hb-content { padding-block: 24px 48px; }
.hb-content--narrow { max-width: 860px; }

/* Buttons */
.hb-button, .wp-block-button__link, input[type="submit"], .comment-form .submit { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--hb-blue); color: var(--hb-white); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.hb-button:hover, input[type="submit"]:hover, .comment-form .submit:hover { background: var(--hb-blue-dark); color: var(--hb-white); }

/* Header */
.hb-header { background: var(--hb-black); color: var(--hb-white); position: relative; z-index: 50; }
.hb-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 10px; }
.hb-brand { display: inline-flex; align-items: center; color: var(--hb-white); text-decoration: none; }
.hb-brand__logo { display: block; max-height: 44px; width: auto; }
.hb-wordmark { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--hb-white); }
.hb-wordmark__hitz { color: var(--hb-blue-bright); }

.hb-nav-toggle { display: none; min-height: 44px; padding: 8px 16px; border: 1px solid var(--hb-gray-600); border-radius: 999px; background: transparent; color: var(--hb-white); font: inherit; font-weight: 600; cursor: pointer; }
.js .hb-nav-toggle { display: inline-flex; align-items: center; }

.hb-nav { flex-basis: 100%; }
.js .hb-nav { display: none; }
.js .hb-nav.is-open { display: block; }

.hb-menu, .hb-menu ul, .hb-footer-menu, .hb-footer__col ul, .hb-social, .hb-chips { list-style: none; margin: 0; padding: 0; }
.hb-menu a { display: block; padding: 12px 4px; color: var(--hb-white); text-decoration: none; font-weight: 600; }
.hb-menu a:hover { color: var(--hb-blue-bright); }
.hb-menu .current-menu-item > a, .hb-menu .current_page_item > a { color: var(--hb-blue-bright); }
.hb-menu .sub-menu a { padding-left: 20px; font-weight: 400; color: var(--hb-gray-300); }

.hb-search { display: flex; gap: 8px; margin-block: 12px; }
.hb-search__field { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 1px solid var(--hb-gray-300); border-radius: 999px; font: inherit; color: var(--hb-ink); background: var(--hb-white); }

/* Desktop navigation */
@media (min-width: 900px) {
	.js .hb-nav-toggle { display: none; }
	.hb-header__inner { flex-wrap: nowrap; }
	.hb-nav, .js .hb-nav, .js .hb-nav.is-open { display: flex; align-items: center; flex: 1; flex-basis: auto; justify-content: flex-end; gap: 16px; }
	.hb-menu { display: flex; gap: 4px; }
	.hb-menu > li { position: relative; }
	.hb-menu > li > a { padding: 14px 12px; }
	.hb-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; padding: 8px 0; background: var(--hb-black); border: 1px solid var(--hb-gray-600); border-radius: var(--hb-radius); }
	.hb-menu li:hover > .sub-menu, .hb-menu li:focus-within > .sub-menu { display: block; }
	.hb-menu .sub-menu a { padding: 8px 16px; }
}

/* Page titles, meta */
.hb-page-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 8px 0 12px; letter-spacing: -0.01em; }
.hb-archive-description { color: var(--hb-gray-600); max-width: 70ch; margin-bottom: 16px; }
.hb-meta { color: var(--hb-gray-600); font-size: 0.9rem; margin: 0 0 12px; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hb-chips a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--hb-gray-100); color: var(--hb-ink); text-decoration: none; font-size: 0.85rem; }
.hb-chips a:hover { background: var(--hb-blue); color: var(--hb-white); }

/* Card grid */
.hb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--hb-gap); margin-block: 16px 24px; }
@media (min-width: 640px) { .hb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .hb-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .hb-grid { grid-template-columns: repeat(5, 1fr); } }

.hb-card { min-width: 0; }
.hb-card__media { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--hb-radius); background: var(--hb-gray-100); }
.hb-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.hb-card:hover .hb-card__media img { transform: scale(1.04); }
.hb-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--hb-black), var(--hb-blue)); color: var(--hb-white); font-size: 3rem; font-weight: 800; }
.hb-card__title { font-size: 1rem; margin: 10px 0 2px; }
.hb-card__title a { color: var(--hb-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-card__title a:hover { color: var(--hb-blue); }
.hb-card__meta { margin: 0; color: var(--hb-gray-600); font-size: 0.85rem; }

/* Entries */
.hb-entry__media { margin: 0 0 20px; }
.hb-entry__media img { border-radius: var(--hb-radius); }
.entry-content { overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1em; }
.entry-content .alignwide { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--hb-gray-200); padding: 6px 10px; }
.hb-page-links { margin-top: 16px; }

/* Pagination */
.pagination { margin-block: 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hb-gray-300); color: var(--hb-ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--hb-blue); border-color: var(--hb-blue); color: var(--hb-white); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }

/* Comments */
.hb-comments { margin-top: 40px; }
.hb-comments__list { list-style: none; padding: 0; }
.hb-comments__list .comment-body { padding: 12px 0; border-bottom: 1px solid var(--hb-gray-200); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--hb-gray-300); border-radius: 8px; font: inherit; }

/* Footer */
.hb-footer { background: var(--hb-black); color: var(--hb-gray-300); margin-top: 48px; padding-top: 40px; }
.hb-footer a { color: var(--hb-white); text-decoration: none; }
.hb-footer a:hover { color: var(--hb-blue-bright); text-decoration: underline; }
.hb-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .hb-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hb-footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.hb-footer__col h2 { color: var(--hb-white); font-size: 1rem; margin: 0 0 10px; }
.hb-footer__col li { padding-block: 3px; }
.hb-footer__about p { max-width: 36ch; }
.hb-social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hb-footer__widgets { padding-block: 24px; }
.hb-footer__bottom { border-top: 1px solid #1f2937; margin-top: 32px; padding-block: 20px; font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.hb-card:hover .hb-card__media img { transform: none; }
}

/* ===== Homepage and music components (0.2.0) ===== */
.hb-main > .hb-section:first-of-type { margin-top: 0; }
.hb-section { margin-block: 32px; }
.hb-section--flush { margin-top: 24px; }
.hb-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hb-section__title { font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.hb-section__head .hb-section__title { margin: 0; }
.hb-section__more { font-weight: 600; white-space: nowrap; }

/* Hero */
.hb-hero { position: relative; isolation: isolate; min-height: clamp(260px, 44vw, 440px); display: flex; align-items: flex-end; background: var(--hb-black); color: var(--hb-white); overflow: hidden; }
.hb-hero__media { position: absolute; inset: 0; z-index: -2; }
.hb-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.55) 55%, rgba(10, 10, 15, 0.2) 100%); }
.hb-hero__inner { padding-block: 28px; }
.hb-hero__body { max-width: 640px; }
.hb-hero__eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--hb-blue-bright); }
.hb-hero__title { margin: 0 0 6px; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1; }
.hb-hero__sub { margin: 0 0 16px; color: var(--hb-gray-300); font-size: 1.05rem; }

/* Rails */
.hb-rail { position: relative; }
.hb-rail__track { display: flex; gap: var(--hb-gap); margin: 0; padding: 0 0 10px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-x: contain; scrollbar-width: thin; }
.hb-rail__item { flex: 0 0 clamp(136px, 38vw, 176px); scroll-snap-align: start; min-width: 0; }
.hb-rail__btn { display: none; }
@media (hover: hover) and (min-width: 900px) {
	.hb-rail__btn { display: grid; place-items: center; position: absolute; top: 38%; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--hb-black); color: var(--hb-white); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
	.hb-rail__btn[hidden] { display: none; }
	.hb-rail__btn--prev { left: -12px; }
	.hb-rail__btn--next { right: -12px; }
	.hb-rail__btn:hover { background: var(--hb-blue); }
}

/* Tiles */
.hb-tile { min-width: 0; }
.hb-tile__media { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--hb-radius); background: var(--hb-gray-100); }
.hb-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.hb-tile:hover .hb-tile__media img { transform: scale(1.04); }
.hb-tile__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--hb-black), var(--hb-blue)); color: var(--hb-white); font-size: 2.4rem; }
.hb-tile__title { margin: 10px 0 0; font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.hb-tile__title a { color: var(--hb-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-tile__title a:hover { color: var(--hb-blue); text-decoration: underline; }
.hb-tile__sub { margin: 2px 0 0; font-size: 0.85rem; color: var(--hb-gray-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-tile__sub a { color: inherit; }
.hb-tile--artist .hb-tile__media { border-radius: 50%; }
.hb-tile--artist .hb-tile__title { text-align: center; }
.hb-grid .hb-tile--artist { text-align: center; }

/* Genre pills */
.hb-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.hb-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--hb-gray-100); color: var(--hb-ink); text-decoration: none; font-weight: 600; }
.hb-pills a:hover { background: var(--hb-blue); color: var(--hb-white); }

/* Chart preview cards */
.hb-chartcards { display: grid; grid-template-columns: 1fr; gap: var(--hb-gap); }
@media (min-width: 700px) { .hb-chartcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hb-chartcards { grid-template-columns: repeat(3, 1fr); } }
.hb-chartcard { padding: 16px; border-radius: var(--hb-radius); background: var(--hb-gray-100); }
.hb-chartcard__title { margin: 0; font-size: 1.1rem; }
.hb-chartcard__title a { color: var(--hb-ink); text-decoration: none; }
.hb-chartcard__title a:hover { color: var(--hb-blue); }
.hb-chartcard__meta { margin: 2px 0 10px; font-size: 0.85rem; color: var(--hb-gray-600); }
.hb-chartcard__list { list-style: none; margin: 0 0 10px; padding: 0; }
.hb-chartcard__list li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--hb-gray-200); }
.hb-chartcard__rank { min-width: 1.4em; font-weight: 800; color: var(--hb-blue); }
.hb-chartcard__song { display: flex; flex-direction: column; min-width: 0; }
.hb-chartcard__song a { font-weight: 600; color: var(--hb-ink); text-decoration: none; }
.hb-chartcard__song a:hover { color: var(--hb-blue); }
.hb-chartcard__song small { color: var(--hb-gray-600); }
.hb-chartcard__more { font-weight: 600; }

/* Song, album and artist pages */
.hb-song__header { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
@media (min-width: 760px) { .hb-song__header { grid-template-columns: 300px 1fr; align-items: start; } }
.hb-song__cover { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--hb-radius); background: var(--hb-gray-100); max-width: 360px; }
.hb-song__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-song__artist { margin: 0 0 12px; font-size: 1.15rem; font-weight: 600; }
.hb-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 20px; margin: 0 0 16px; }
.hb-facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hb-gray-600); }
.hb-facts dd { margin: 0; font-weight: 600; }
.hb-lyrics { margin: 24px 0; padding: 12px 16px; border: 1px solid var(--hb-gray-200); border-radius: var(--hb-radius); }
.hb-lyrics summary { cursor: pointer; font-weight: 700; }
.hb-lyrics div { margin-top: 12px; line-height: 1.8; }
.hb-links { margin-block: 24px; }
.hb-artist__header { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 20px; }
.hb-artist__photo { width: 160px; height: 160px; flex: none; overflow: hidden; border-radius: 50%; background: var(--hb-gray-100); }
.hb-artist__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-tracklist { list-style: none; margin: 0 0 24px; padding: 0; max-width: 720px; }
.hb-tracklist li { display: flex; gap: 14px; padding: 10px 4px; border-bottom: 1px solid var(--hb-gray-200); }
.hb-tracklist__num { min-width: 1.8em; color: var(--hb-gray-600); font-variant-numeric: tabular-nums; }
.hb-tracklist a { font-weight: 600; color: var(--hb-ink); text-decoration: none; }
.hb-tracklist a:hover { color: var(--hb-blue); text-decoration: underline; }

/* ===== 0.3.0: header, category bar, community, search ===== */
.hb-icon { display: block; flex: none; }
.hb-header { background: linear-gradient(180deg, #0a0a0f 0%, #0d1220 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.hb-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 12px; }
.hb-brand { order: 1; }
.hb-header__tools { order: 2; margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hb-header .hb-search { order: 3; flex: 1 1 100%; margin: 0; position: relative; gap: 0; }
.hb-nav { order: 4; flex-basis: 100%; }
.hb-nav-toggle { min-height: 40px; padding: 6px 16px; background: #151a29; border-color: #2a3350; }

/* Search: always visible, icon button inside the field */
.hb-header .hb-search__field { width: 100%; padding-right: 52px; background: #151a29; border-color: #2a3350; color: var(--hb-white); }
.hb-header .hb-search__field::placeholder { color: #9ca3af; }
.hb-header .hb-search__field:focus { border-color: var(--hb-blue-bright); outline: 0; box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.35); }
.hb-search__submit svg { margin-right: 8px; }
.hb-header .hb-search__submit { position: absolute; top: 4px; right: 4px; width: 36px; min-height: 36px; padding: 0; }
.hb-header .hb-search__submit svg { margin: 0; }
.hb-header .hb-search__label { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Community icons (Telegram, X, Facebook) */
.hb-community { display: flex; align-items: center; gap: 10px; }
.hb-community__label { display: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-gray-300); }
.hb-community__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hb-community__link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #151a29; border: 1px solid #2a3350; color: var(--hb-white); transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.hb-community__link:hover { color: var(--hb-white); transform: translateY(-2px); }
.hb-community__link--telegram:hover { background: #26a5e4; border-color: #26a5e4; }
.hb-community__link--x:hover { background: #000; border-color: #fff; }
.hb-community__link--facebook:hover { background: #1877f2; border-color: #1877f2; }

/* Category bar */
.hb-catbar { background: #080b14; border-top: 1px solid #1c2233; }
.hb-catbar__list { display: flex; gap: 8px; max-width: var(--hb-max); margin: 0 auto; padding: 10px var(--hb-gap); list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.hb-catbar__list::-webkit-scrollbar { display: none; }
.hb-catbar__link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid #232a3f; border-radius: 999px; background: #131827; color: #e5e7eb; font-size: 0.9rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease; }
.hb-catbar__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(76, 141, 255, 0.18); color: var(--hb-blue-bright); }
.hb-catbar__link:hover, .hb-catbar__link.is-current { background: var(--hb-blue); border-color: var(--hb-blue); color: var(--hb-white); }
.hb-catbar__link:hover .hb-catbar__icon, .hb-catbar__link.is-current .hb-catbar__icon { background: rgba(255, 255, 255, 0.2); color: var(--hb-white); }

@media (min-width: 900px) {
	.hb-header__inner { flex-wrap: nowrap; gap: 16px; }
	.hb-brand { order: 1; }
	.hb-nav, .js .hb-nav, .js .hb-nav.is-open { order: 2; flex: 1 1 auto; flex-basis: auto; justify-content: flex-start; }
	.hb-header .hb-search { order: 3; flex: 0 0 260px; }
	.hb-header__tools { order: 4; margin-left: 0; }
}
@media (min-width: 1100px) {
	.hb-community__label { display: inline; }
}

/* Nested containers inside a page container (rails below content) must not double the gutters */
.hb-content .hb-container { padding-inline: 0; }

/* ===== 0.3.0: stylish cards ===== */
.hb-tile, .hb-card { position: relative; background: var(--hb-white); border: 1px solid var(--hb-gray-200); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 6px 16px rgba(16, 24, 40, 0.06); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.hb-tile:hover, .hb-card:hover, .hb-tile:focus-within, .hb-card:focus-within { transform: translateY(-4px); border-color: rgba(29, 78, 216, 0.35); box-shadow: 0 14px 30px rgba(29, 78, 216, 0.18); }
.hb-tile__media, .hb-card__media { border-radius: 0; }
.hb-tile__media::after, .hb-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 15, 0) 50%, rgba(10, 10, 15, 0.6) 100%); opacity: 0; transition: opacity 0.22s ease; pointer-events: none; }
.hb-tile:hover .hb-tile__media::after, .hb-card:hover .hb-card__media::after { opacity: 1; }
.hb-tile__title { margin: 0; padding: 12px 12px 0; font-size: 0.95rem; }
.hb-tile__sub { margin: 0; padding: 2px 12px 12px; }
.hb-card__body { padding: 12px; }
.hb-card__title { margin: 0 0 4px; }
.hb-card__meta { font-size: 0.8rem; }
.hb-tile__go { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--hb-blue); color: var(--hb-white); box-shadow: 0 6px 14px rgba(29, 78, 216, 0.45); opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity 0.22s ease, transform 0.22s ease; pointer-events: none; }
.hb-tile:hover .hb-tile__go, .hb-card:hover .hb-tile__go, .hb-tile:focus-within .hb-tile__go, .hb-card:focus-within .hb-tile__go { opacity: 1; transform: none; }
@media (hover: none) { .hb-tile__go { opacity: 1; transform: none; width: 32px; height: 32px; } }
.hb-badge { position: absolute; left: 10px; top: 10px; z-index: 1; max-width: calc(100% - 20px); padding: 3px 10px; border-radius: 999px; background: rgba(10, 10, 15, 0.72); color: var(--hb-white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); }
.hb-tile--artist .hb-tile__media { width: calc(100% - 28px); margin: 14px 14px 0; border-radius: 50%; }
.hb-tile--artist .hb-tile__media::after { border-radius: 50%; }
.hb-tile--artist .hb-tile__go { display: none; }
.hb-tile--artist .hb-tile__title { padding-bottom: 14px; }
.hb-rail__track { padding: 8px 6px 20px; margin-inline: -6px; }
.hb-rail__btn--prev { left: -18px; }
.hb-rail__btn--next { right: -18px; }

/* Section headings and chips */
.hb-section__title { position: relative; padding-left: 14px; }
.hb-section__title::before { content: ""; position: absolute; left: 0; top: 0.12em; bottom: 0.12em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--hb-blue-bright), var(--hb-blue)); }
.hb-section__more { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; background: var(--hb-gray-100); color: var(--hb-blue); text-decoration: none; font-size: 0.9rem; }
.hb-section__more:hover { background: var(--hb-blue); color: var(--hb-white); }
.hb-hero__eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(76, 141, 255, 0.2); border: 1px solid rgba(76, 141, 255, 0.45); }
.hb-pills a, .hb-chips a { border: 1px solid var(--hb-gray-200); transition: background-color 0.2s ease, color 0.2s ease; }
.hb-chartcard { border: 1px solid var(--hb-gray-200); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 6px 16px rgba(16, 24, 40, 0.06); background: var(--hb-white); }

/* ===== 0.3.0: single entries ===== */
.hb-entry .hb-page-title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.15; }
.hb-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hb-entry__media img { box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); width: 100%; }
.entry-content { font-size: 1.05rem; line-height: 1.75; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content a { text-decoration-thickness: 2px; }
.entry-content blockquote { margin-inline: 0; padding: 12px 20px; border-left: 4px solid var(--hb-blue); background: var(--hb-gray-100); border-radius: 0 var(--hb-radius) var(--hb-radius) 0; }

/* Share */
.hb-share { margin-top: 32px; padding: 20px; border: 1px solid var(--hb-gray-200); border-radius: 16px; background: var(--hb-gray-100); }
.hb-share__title, .hb-tags__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 800; font-size: 1rem; }
.hb-share__list, .hb-tags__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hb-share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; color: var(--hb-white); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: transform 0.2s ease, filter 0.2s ease; }
.hb-share__btn:hover { color: var(--hb-white); transform: translateY(-2px); filter: brightness(1.1); }
.hb-share__btn--whatsapp { background: #25d366; }
.hb-share__btn--facebook { background: #1877f2; }
.hb-share__btn--x { background: #000; }
.hb-share__btn--telegram { background: #26a5e4; }
.hb-share__btn--linkedin { background: #0a66c2; }
.hb-share__btn--mail { background: var(--hb-gray-600); }

/* Tags */
.hb-tags { margin-top: 24px; }
.hb-tags__list a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--hb-gray-300); background: var(--hb-white); color: var(--hb-ink); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.hb-tags__list a::before { content: "#"; margin-right: 2px; color: var(--hb-blue); font-weight: 800; }
.hb-tags__list a:hover { background: var(--hb-blue); border-color: var(--hb-blue); color: var(--hb-white); }
.hb-tags__list a:hover::before { color: var(--hb-white); }

/* Author box */
.hb-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, #0a0a0f 0%, #11224f 100%); color: var(--hb-gray-300); box-shadow: 0 10px 30px rgba(10, 10, 15, 0.25); }
.hb-author__avatar { flex: none; display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 3px solid var(--hb-blue-bright); }
.hb-author__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-author__body { min-width: 0; }
.hb-author p { margin: 0; }
.hb-author__eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 800; color: var(--hb-blue-bright); }
.hb-author__name { font-size: 1.15rem; font-weight: 800; }
.hb-author__name a { color: var(--hb-white); text-decoration: none; }
.hb-author__name a:hover { color: var(--hb-blue-bright); text-decoration: underline; }
.hb-author__bio { margin-top: 6px; font-size: 0.95rem; }
.hb-author__dates { margin-top: 8px; font-size: 0.8rem; color: #9ca3af; }

@media (max-width: 480px) {
	.hb-author { flex-direction: column; }
	.hb-share__btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

/* ===== 0.4.0: entry meta line ===== */
.hb-meta { align-items: center; gap: 6px 16px; }
.hb-meta__item { display: inline-flex; align-items: center; gap: 6px; color: var(--hb-gray-600); }
.hb-meta__item .hb-icon { color: var(--hb-blue); flex: none; }
.hb-meta__item a, a.hb-meta__item { color: inherit; text-decoration: none; font-weight: 600; }
.hb-meta__item a:hover, a.hb-meta__item:hover { color: var(--hb-blue); }
.hb-entry__header .hb-chips { margin-bottom: 8px; }
.hb-song__main .hb-chips { margin-bottom: 4px; }
.hb-chips a { font-weight: 700; color: var(--hb-blue); background: rgba(29, 78, 216, 0.08); border-color: rgba(29, 78, 216, 0.18); }

/* ===== 0.4.0: download & streaming buttons ===== */
.hb-platforms { margin: 20px 0 8px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #0a0a0f 0%, #10204a 100%); color: var(--hb-white); box-shadow: 0 14px 34px rgba(10, 10, 15, 0.22); }
.hb-platforms--content { margin-top: 28px; }
.hb-platforms__title { margin: 0 0 14px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hb-blue-bright); }
.hb-platforms__download { margin-bottom: 14px; }
.hb-dl { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px 24px; border-radius: 14px; background: linear-gradient(135deg, var(--hb-blue-bright) 0%, var(--hb-blue) 55%, var(--hb-blue-dark) 100%); color: var(--hb-white); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; box-shadow: 0 10px 24px rgba(29, 78, 216, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.hb-dl:hover, .hb-dl:focus-visible { color: var(--hb-white); transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 30px rgba(29, 78, 216, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.hb-dl .hb-icon { flex: none; animation: hb-bob 1.8s ease-in-out infinite; }
@keyframes hb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .hb-dl .hb-icon { animation: none; } .hb-dl, .hb-stream, .hb-channel { transition: none; } }
.hb-dl__note { margin: 8px 0 0; text-align: center; font-size: 0.8rem; color: #9fb2d8; }
.hb-platforms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.hb-stream { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(76, 141, 255, 0.28); color: var(--hb-white); text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.hb-stream:hover, .hb-stream:focus-visible { color: var(--hb-white); background: var(--hb-blue); border-color: var(--hb-blue-bright); transform: translateY(-2px); }
.hb-stream__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--hb-blue); color: var(--hb-white); box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4); }
.hb-stream:hover .hb-stream__icon { background: var(--hb-white); color: var(--hb-blue); }
.hb-stream__text { display: flex; flex-direction: column; min-width: 0; font-weight: 800; font-size: 0.95rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-stream__text small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb2d8; }
.hb-stream:hover .hb-stream__text small { color: rgba(255, 255, 255, 0.8); }
@media (min-width: 560px) { .hb-platforms__list { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
/* Artist profile links: same buttons, on a light background */
.hb-platforms__list--compact { margin: 8px 0 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hb-platforms__list--compact .hb-stream { background: var(--hb-black); border-color: #232a3f; min-height: 46px; }
.hb-platforms__list--compact .hb-stream__icon { width: 30px; height: 30px; }

/* Track list download shortcut */
.hb-tracklist li { align-items: center; }
.hb-tracklist__dl { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(29, 78, 216, 0.1); color: var(--hb-blue); }
.hb-tracklist__dl:hover { background: var(--hb-blue); color: var(--hb-white); }
.hb-tracks { margin-top: 8px; }

/* ===== 0.4.0: Join Our Channels ===== */
.hb-channels { display: grid; gap: 14px; margin-top: 24px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, var(--hb-blue-dark) 0%, var(--hb-blue) 50%, #2f6bff 100%); color: var(--hb-white); box-shadow: 0 14px 32px rgba(29, 78, 216, 0.3); position: relative; overflow: hidden; }
.hb-channels::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); pointer-events: none; }
.hb-channels p { margin: 0; }
.hb-channels__title { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.01em; }
.hb-channels__text { margin-top: 2px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.hb-channels__list { display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.hb-channel { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--hb-black); color: var(--hb-white); font-weight: 800; text-decoration: none; box-shadow: 0 6px 16px rgba(10, 10, 15, 0.3); transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.hb-channel:hover, .hb-channel:focus-visible { color: var(--hb-blue); background: var(--hb-white); transform: translateY(-2px); }
@media (min-width: 640px) {
	.hb-channels { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 22px 24px; }
	.hb-channels__list { grid-template-columns: repeat(3, auto); }
}

/* ===== 0.4.0: end of entry, previous / next ===== */
.hb-content:not(.hb-content--narrow) > .hb-entry-footer,
.hb-content:not(.hb-content--narrow) > .hb-comments,
.hb-content:not(.hb-content--narrow) > .hb-postnav { max-width: 860px; }
.hb-postnav { margin-top: 32px; }
.hb-postnav .nav-links { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hb-postnav a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--hb-gray-200); border-radius: 14px; background: var(--hb-white); color: var(--hb-ink); text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.hb-postnav a:hover { border-color: var(--hb-blue); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.15); }
.hb-postnav .nav-next a { text-align: right; }
.hb-postnav__label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hb-blue); }
.hb-postnav__title { font-weight: 700; }
@media (min-width: 640px) { .hb-postnav .nav-links { grid-template-columns: 1fr 1fr; } .hb-postnav .nav-next:only-child { grid-column: 2; } }
.hb-comments__title { font-size: 1.3rem; }
/* Narrow phones: platform names never clip */
.hb-stream__text { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 420px) {
	.hb-platforms { padding: 14px; }
	.hb-stream { gap: 8px; padding: 6px 8px 6px 6px; }
	.hb-stream__icon { width: 32px; height: 32px; }
	.hb-stream__text { font-size: 0.86rem; }
	.hb-stream__text small { font-size: 0.6rem; letter-spacing: 0.04em; }
}
@media (max-width: 340px) { .hb-platforms__list { grid-template-columns: 1fr; } }
/* Buttons at the end of song and album content: same readable width as the text */
.hb-song .hb-platforms--content { max-width: 860px; }

/* ===== 0.4.4: songs and albums use the post layout ===== */
.hb-entry__media { margin: 0 0 20px; }
.hb-entry__media img { display: block; width: 100%; height: auto; border-radius: var(--hb-radius); }
.hb-entry .hb-song__artist { margin: -4px 0 10px; }
.hb-facts--entry { padding: 16px 18px; border: 1px solid var(--hb-gray-200); border-radius: 14px; background: var(--hb-gray-100); }
.hb-album .hb-tracks { margin-top: 24px; }
