/*
 * UI fixes on top of musicshake.min.css (2026-09-23). Not minified on purpose (no build tools on the
 * server). Loaded after the main bundle by head-includes.phtml as /css/ui.<mtime>.min.css.
 */

/* Songs / People: the submenu now opens on tap (js/ui.min.js), not on hover */
#header-nav li.m > a.t { cursor: pointer; }
#header-nav li.m > a.t::after { content: " \25BE"; font-size: 0.8em; }
#header-nav li.m.open > a.t::after { content: " \25B4"; }

/* action buttons (MP3 Download / Favorite) fully visible, not only on hover */
.item .actions { opacity: 1; }

/* play / add buttons on covers are always shown (js/ui.min.js adds them on load) */
.cdimg .play, .cdimg .add { display: block; }

/* chart rows: only the rank is left on the left side */
.item.chart .weeks, .item.chart .diff { display: none; }

/* header: always as wide as the window, so the notification / user menu on the right stays on
   screen in narrow windows (the old min-width:1000px pushed it out of a fixed header) */
#header { min-width: 0; }
#header-login {
	z-index: 3;
	background: #2a2a2a;
	padding-left: 12px;
	box-shadow: -12px 0 12px -6px #2a2a2a;
	white-space: nowrap;
}

/* chart rows: the rank fills the whole left square (the weeks/diff space is gone) */
#charts div.block.w .rank {
	height: 100px;
	line-height: 100px;
	font-size: 44px;
	font-weight: bold;
	letter-spacing: -1px;
}
#charts div.block.w .rank .icon { display: none; }

/* chart week picker (js/ui.min.js charts_nav): one button, panel opens on tap */
#charts-nav.cw { position: relative; border: none; padding: 0 0 10px; }
#charts-nav .cw-button {
	display: inline-flex; align-items: center; gap: 8px;
	background: #444; color: #fff; border: 0; border-radius: 4px;
	font: bold 15px/1 Arial, Helvetica, sans-serif; padding: 10px 14px; cursor: pointer;
}
#charts-nav .cw-button:hover { background: #555; }
#charts-nav .cw-button .cw-caret { font-size: 11px; opacity: .8; }
#charts-nav .cw-panel {
	display: none; position: absolute; left: 0; top: 46px; z-index: 50;
	background: #fff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
	padding: 12px; gap: 10px; align-items: flex-end; flex-wrap: wrap;
}
#charts-nav.open .cw-panel { display: flex; }
#charts-nav .cw-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #666; }
#charts-nav .cw-panel select { font-size: 15px; padding: 6px 8px; min-width: 90px; }
#charts-nav .cw-panel select.cw-week { min-width: 200px; }

/* Recent Songs search box (2026-09-23) */
#recent-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
#recent-search input[type=search] {
	flex: 1 1 220px; min-width: 0; font-size: 15px; padding: 8px 10px;
	border: 1px solid #bbb; border-radius: 4px;
}
#recent-search select { font-size: 15px; padding: 7px 8px; border: 1px solid #bbb; border-radius: 4px; background: #fff; }
#recent-search button {
	font: bold 15px Arial, Helvetica, sans-serif; padding: 8px 16px; border: 0; border-radius: 4px;
	background: #444; color: #fff; cursor: pointer;
}
#recent-search button:hover { background: #555; }
#recent-search .clear { font-size: 13px; }

/* list pages without the old right column (banner/ads removed): use the full content width */
#content .left.full { width: auto; float: none; }

/* ---- phones / narrow windows (2026-09-23) ------------------------------------------------------
   layout.phtml now has a viewport tag, so phones render at device width instead of zooming the
   whole ~1000px page out (which made the 12px menu text unreadably small). The page container is
   fluid up to 940px, and the menu keeps its size: it never wraps or shrinks — it scrolls sideways. */
.fixcenter { width: auto; max-width: 940px; padding: 0 10px; box-sizing: border-box; }
#content img { max-width: 100%; height: auto; }

#header { display: flex; align-items: center; height: 35px; }
#header .logo { position: static; flex: none; padding: 0 10px; line-height: 0; }
#header .logo img { height: 18px; width: auto; }
#header-nav {
	margin-left: 0; flex: 1 1 auto; min-width: 0;
	overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
#header-nav::-webkit-scrollbar { display: none; }
#header-nav ul { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; }
#header-nav li { float: none; flex: none; }
#header-nav li a { font-size: 12px; white-space: nowrap; }
#header-login { position: static; flex: none; height: 35px; line-height: 35px; padding: 0 12px; }

/* song detail: chart listings sit right under the cover (2026-09-23) */
#song .song-media { width: 200px; }
#song .song-media .cdimg.large { float: none; }
#song .song-media .collage { margin: 12px 0 0; }

/* store: price buttons spread over the full width (2026-09-23) */
#store table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 10px 8px; margin: 0 -10px; }
#store td { padding: 0; }
#store button.x, #store button.plain { width: 100%; }

/* header, top right (2026-09-23): save space in the menu bar
   - logged out: only "Login" (the login page has the Facebook login and a Sign up button)
   - logged in: a bell icon instead of the "Notifications:" label (text kept for screen readers) */
#header-login-fb, #header-login > a[href="/signup"] { display: none !important; }
#header-login a.notification .label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
#header-login a.notification::before {
	content: ""; display: inline-block; width: 17px; height: 17px; margin-right: 3px; vertical-align: -4px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23efefef' d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/%3E%3C/svg%3E");
}
#header-login a.notification:hover::before { opacity: .8; }
#login-signup { margin-top: 20px; padding-top: 16px; }
#login-signup .button { display: inline-block; }

/* logo: the Musicshake wordmark on wide screens, the cup icon (from the iOS app icon) when the window is
   narrow or on phones, so all five menu items fit (2026-09-23) */
#header .logo .logo-icon { display: none; }
@media (max-width: 700px) {
	#header .logo .logo-full { display: none; }
	#header .logo .logo-icon { display: block; width: 28px; height: 28px; }
	#header .logo { padding: 0 6px 0 8px; }
}



/* home: small, fixed gap under the banner; sections with no data leave no empty space (2026-09-23) */
#index > .left.full { margin-top: 16px; }
#index .mini:empty { display: none; }
#index-best > .header { margin-bottom: 10px; }

/* home: animated hero banner (2026-09-23) — replaces the image slideshow.
   Shifting gradient, equalizer bars and rising notes; real text; motion off for "reduce motion". */
#index-hero {
	position: relative; overflow: hidden; border-radius: 8px;
	height: clamp(220px, 34vw, 320px); display: flex; align-items: center; justify-content: center;
	/* no aspect-ratio + min-height: that pair derives a ~675px min-width and overflowed phones */
	background: linear-gradient(120deg, #1a0f33, #4a1270, #0f2f55, #2b0b46, #1a0f33);
	background-size: 300% 300%; animation: hero-shift 18s ease-in-out infinite;
	color: #fff; text-align: center;
}
@keyframes hero-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
#index-hero .hero-bg { position: absolute; inset: 0; pointer-events: none; }
#index-hero .hero-eq {
	position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
	display: flex; align-items: flex-end; gap: 4px; padding: 0 8px; opacity: .35;
}
#index-hero .hero-eq i {
	flex: 1; height: 100%; border-radius: 3px 3px 0 0; transform-origin: bottom;
	background: linear-gradient(to top, #ff3d7f, #ffb300 60%, #ffe066);
	animation: hero-eq 0.8s ease-in-out infinite alternate;
	animation-delay: calc(var(--i) * -97ms);   /* bars out of step */
}
#index-hero .hero-eq i:nth-child(3n)   { animation-duration: 0.9s; }
#index-hero .hero-eq i:nth-child(4n+1) { animation-duration: 1.2s; }
#index-hero .hero-eq i:nth-child(5n+2) { animation-duration: 0.7s; }
@keyframes hero-eq { 0% { transform: scaleY(.12); } 40% { transform: scaleY(.55); } 100% { transform: scaleY(.9); } }
#index-hero .hero-notes b {
	position: absolute; bottom: -40px; left: var(--x); font-size: 28px; font-weight: normal; color: rgba(255,255,255,.55);
	animation: hero-note var(--t) linear var(--d) infinite; opacity: 0;
}
@keyframes hero-note {
	0% { transform: translateY(0) rotate(0); opacity: 0; }
	10% { opacity: .9; }
	100% { transform: translateY(-360px) rotate(25deg); opacity: 0; }
}
#index-hero .hero-text { position: relative; padding: 24px 20px; max-width: 100%; box-sizing: border-box; }
#index-hero h2 {
	margin: 0 0 12px; font: bold clamp(22px, 5vw, 46px)/1.15 Arial, Helvetica, sans-serif; white-space: normal; overflow-wrap: break-word;
	color: #ffd600; text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
#index-hero p { white-space: normal; margin: 0; font-size: clamp(15px, 2.6vw, 24px); line-height: 1.45; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) {
	#index-hero, #index-hero .hero-eq i, #index-hero .hero-notes b { animation: none; }
	#index-hero .hero-eq i { transform: scaleY(.4); }
}


/* home "Best Musicshake Songs" (2026-09-23): a grid of square tiles at every width — as many >=100px
   columns as fit, sharing the width. (Floats left gaps with uneven title heights; a fluid width with the
   fixed 100px cover height stretched covers into rectangles below ~700px.) */
#index-best { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px 16px; align-items: start; }
#index-best > .header { grid-column: 1 / -1; margin-bottom: 0; }
#index-best > .clear { display: none; }
#index-best > .item { float: none; width: auto; margin: 0; }
#index-best .cdimg { width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden; }
#index-best .cdimg img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }

/* hero design switch: .hero-v1 = equalizer + notes, .hero-v2 = sound waves + rings (default).
   Preview either with ?hero=1 / ?hero=2 (js/ui.min.js). */
#index-hero.hero-v1 .hero-waves, #index-hero.hero-v1 .hero-rings { display: none; }
#index-hero:not(.hero-v3) .hero-grid, #index-hero:not(.hero-v3) .hero-glow, #index-hero:not(.hero-v3) .hero-spectrum { display: none; }
#index-hero.hero-v3 .hero-eq, #index-hero.hero-v3 .hero-notes, #index-hero.hero-v3 .hero-waves, #index-hero.hero-v3 .hero-rings { display: none; }
#index-hero.hero-v2 .hero-eq, #index-hero.hero-v2 .hero-notes { display: none; }
#index-hero.hero-v2 {
	background: linear-gradient(120deg, #06283d, #1b1464, #0b3d5c, #2a0f5c, #06283d);
	background-size: 300% 300%;
}
#index-hero .hero-waves { position: absolute; inset: 0; }
#index-hero .hero-wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: hero-wave 14s linear infinite; }
#index-hero .hero-wave.w1 { fill: rgba(0, 229, 255, .22); animation-duration: 11s; }
#index-hero .hero-wave.w2 { fill: rgba(124, 77, 255, .28); animation-duration: 16s; animation-direction: reverse; }
#index-hero .hero-wave.w3 { fill: rgba(255, 64, 129, .22); animation-duration: 22s; }
@keyframes hero-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#index-hero .hero-rings { position: absolute; left: 50%; top: 45%; width: 0; height: 0; }
#index-hero .hero-rings span {
	position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%;
	border: 2px solid rgba(0, 229, 255, .45); opacity: 0; animation: hero-ring 6s ease-out infinite;
}
#index-hero .hero-rings span:nth-child(2) { animation-delay: 2s; border-color: rgba(124, 77, 255, .45); }
#index-hero .hero-rings span:nth-child(3) { animation-delay: 4s; border-color: rgba(255, 64, 129, .40); }
@keyframes hero-ring { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	#index-hero .hero-wave, #index-hero .hero-rings span { animation: none; }
	#index-hero .hero-rings span:first-child { opacity: .5; transform: scale(1); }
}

/* hero design #3 — dark studio (2026-09-23): near-black, faint grid, two slow soft lights, a thin mirrored
   waveform; white title with a gold rule, grey body. */
#index-hero.hero-v3 { background: #0b0d12; animation: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
#index-hero .hero-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
	                  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
	        mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
#index-hero .hero-glow span {
	position: absolute; width: 60%; height: 140%; top: -20%; border-radius: 50%; filter: blur(40px); opacity: .35;
	background: radial-gradient(circle, rgba(64, 120, 255, .55), transparent 65%);
	animation: hero-glow 16s ease-in-out infinite alternate;
}
#index-hero .hero-glow span:nth-child(2) {
	background: radial-gradient(circle, rgba(212, 175, 55, .35), transparent 65%);
	animation-duration: 22s; animation-direction: alternate-reverse; left: 40%;
}
@keyframes hero-glow { 0% { transform: translateX(-30%); } 100% { transform: translateX(60%); } }
#index-hero .hero-spectrum {
	position: absolute; left: 6%; right: 6%; top: 50%; height: 64%; transform: translateY(-50%);
	display: flex; align-items: center; gap: 3px; opacity: .22;
}
#index-hero .hero-spectrum i {
	flex: 1; height: calc(var(--h) * 100%); border-radius: 2px;
	background: linear-gradient(to bottom, transparent, #cfd8ff 30%, #ffffff 50%, #cfd8ff 70%, transparent);
	animation: hero-breathe 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -71ms);
}
@keyframes hero-breathe { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
#index-hero.hero-v3 h2 { color: #ffffff; letter-spacing: .3px; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
#index-hero h2, #index-hero p { text-wrap: balance; }   /* even line breaks on phones */
#index-hero.hero-v3 h2::after {
	content: ""; display: block; width: 64px; height: 2px; margin: 16px auto 0; background: #d4af37; border-radius: 2px;
}
#index-hero.hero-v3 p { color: #aab2c0; text-shadow: none; }
@media (prefers-reduced-motion: reduce) {
	#index-hero .hero-glow span, #index-hero .hero-spectrum i { animation: none; }
}

/* menu bar: everything centred on the bar's vertical middle (2026-09-23). Links were placed with
   line-height (text sat a little high) and the login area used 11px text with its own offsets (a little low). */
#header-nav li a { display: flex; align-items: center; height: 35px; line-height: 1; }
#header-login { display: flex; align-items: center; gap: 12px; line-height: 1; }
#header-login > a { display: inline-flex; align-items: center; height: 35px; margin-left: 0; font-size: 12px; line-height: 1; }
#header-login a.notification::before { vertical-align: middle; }
#header .logo { display: flex; align-items: center; height: 35px; }
/* optical alignment: the wordmark's letter bodies sat 2px below the menu text's (measured on a 2x
   screenshot: dense-band centre 39 vs 35 device px) — lift it 2px */
#header .logo .logo-full { position: relative; top: -2px; }

/* ---- phones: nothing may be wider than the screen (2026-09-23) --------------------------------------
   A page wider than the screen makes phone browsers zoom the whole page out, which also shrinks the menu
   bar ("squeezed" on Store, FAQ, song lists ...). Measured culprits: the fixed 728px ad slot and the
   MP3 / Favorite button rows that never wrapped. */
@media (max-width: 760px) {
	.ad.leaderboard, .ad.rectangle { display: none; }
	.item .actions { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; white-space: normal; }
	.item .actions a { margin: 0; }
	#content input, #content textarea, #content select, #content table, #content iframe, #content embed, #content object { max-width: 100%; }
	#content input[type=text], #content input[type=password], #content input[type=email], #content textarea { box-sizing: border-box; }
	#content p, #content li, #content td, #content a { overflow-wrap: anywhere; }
	/* more measured culprits: fixed-width boxes, one-line headings (base CSS: h1-h6 nowrap), page numbers */
	#content .left, #content .right { width: auto; float: none; }
	#content .item .desc { width: auto; }
	#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { white-space: normal; overflow-wrap: anywhere; }
	.paginator, #content .paginator { white-space: normal; display: flex; flex-wrap: wrap; gap: 4px; }
	#content .sp, #content [class*=info] { max-width: 100%; box-sizing: border-box; }
	/* the MP3 / Favorite row has a fixed 400px width in the base CSS */
	#content .actions { width: auto; max-width: 100%; }
	#charts div.block.w .block.item .desc, #charts div.block.m .block.item .desc { width: auto; }
	#content img { max-width: 100% !important; height: auto; }
	#content .sp { width: auto !important; left: 0 !important; }
	#download .left img { left: 0 !important; }   /* relative offsets pushed these past the screen edge */
	/* song page: cover + chart listings above the details instead of beside them */
	#song .song-media { float: none; width: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
	#song .song-media .collage { margin: 0; flex: 1 1 150px; }
	#song div.detail .content { margin-left: 0; min-height: 0; }
}
/* safety net: the page itself never scrolls sideways, so one wide element can't zoom the page out */
html, body { overflow-x: hidden; }

/* ---- phones: dialogs (feedback, cart, login prompts ... all built by __overlay with an inline 600px width)
   fit the screen; form text 16px so iPhones don't auto-zoom on focus (2026-09-23) */
@media (max-width: 760px) {
	.overlay {
		left: 8px !important; right: 8px !important; width: auto !important; margin-left: 0 !important;
		top: 44px; max-height: calc(100vh - 56px); overflow-y: auto; box-sizing: border-box;
	}
	.overlay .content { padding: 12px; }
	#feedback .block:has(> .email) { grid-template-columns: 1fr; }
	#feedback .buttons button { width: 100%; }
	input[type=text], input[type=password], input[type=email], input[type=search], select, textarea { font-size: 16px; }
}

/* ---- modern look (2026-09-23): rounded song tiles with round play/add buttons, pill action buttons,
   rounded dialogs and a clean feedback form ---- */
.cdimg { border-radius: 10px; overflow: hidden; }
.cdimg img { display: block; }
.cdimg.large { border-radius: 14px; }
.cdimg .play, .cdimg .add {
	width: 34px; height: 34px; bottom: 6px; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .58); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	transition: transform .12s ease, background-color .12s ease;
}
.cdimg .play { right: 6px; }
.cdimg .add { right: 46px; }
.cdimg .play:hover, .cdimg .add:hover { background: rgba(0, 0, 0, .82); transform: scale(1.08); }
.cdimg .play .bg, .cdimg .add .bg { display: none; }
.cdimg .play .icon, .cdimg .add .icon, .cdimg .play:hover .icon {
	position: absolute; left: 0; top: 0; right: auto; bottom: auto; width: 100%; height: 100%;
	background: center / 18px 18px no-repeat; font-size: 0;
}
.cdimg .play .icon, .cdimg .play:hover .icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E"); }
.cdimg .add .icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M10.8 4h2.4v6.8H20v2.4h-6.8V20h-2.4v-6.8H4v-2.4h6.8z'/%3E%3C/svg%3E"); background-size: 16px 16px; }
.cdimg .play:hover .icon:before { content: none; }

.actions a {
	display: inline-block; line-height: 1.2; padding: 7px 14px; margin: 0 6px 6px 0; border-radius: 999px;
	border: 1px solid #d3d7de; background: #fff; color: #333; font-weight: 600; font-size: 12px;
	transition: background-color .12s ease, border-color .12s ease;
}
.actions a:hover { background: #f1f3f6; border-color: #c2c7cf; color: #111; }
.actions a.personal { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.actions a.personal:hover { background: #1765cc; border-color: #1765cc; color: #fff; }

.overlay { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 16px 48px rgba(0, 0, 0, .35); }
.overlay .title {
	margin: 0; padding: 15px 48px 15px 20px; background: #16181d; font-size: 18px; letter-spacing: .2px;
	border-radius: 0; box-shadow: none;
}
.overlay .close { top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ccc' d='M18.3 5.7 12 12l6.3 6.3-1.4 1.4-6.3-6.3-6.3 6.3-1.4-1.4L10.6 12 4.3 5.7l1.4-1.4 6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.overlay .close:hover { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ccc' d='M18.3 5.7 12 12l6.3 6.3-1.4 1.4-6.3-6.3-6.3 6.3-1.4-1.4L10.6 12 4.3 5.7l1.4-1.4 6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E"); }
.overlay .content { padding: 20px; }

#feedback .block:has(> .email) { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
#feedback .block:has(> .email) > div { float: none; margin: 0; }
#feedback .label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #4a4f57; }
#feedback input[type=text], #feedback select, #feedback textarea {
	width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d3d7de; border-radius: 10px;
	background: #fff; font: 15px/1.4 Arial, Helvetica, sans-serif; color: #222; transition: border-color .12s, box-shadow .12s;
}
#feedback textarea { min-height: 170px; resize: vertical; }
#feedback input[type=text]:focus, #feedback select:focus, #feedback textarea:focus {
	outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18);
}
#feedback p { margin: 12px 0 8px; color: #6b7280; font-size: 13px; line-height: 1.45; }
#feedback .error { color: #d93025; font-size: 12px; }
#feedback .buttons { text-align: right; margin-top: 4px; }
#feedback .buttons button {
	background: #1a73e8; color: #fff; border: 0; border-radius: 999px; padding: 12px 30px;
	font: bold 15px Arial, Helvetica, sans-serif; cursor: pointer; box-shadow: 0 2px 8px rgba(26, 115, 232, .3);
}
#feedback .buttons button:hover { background: #1765cc; }
/* song rows (Chart, Listen) as rounded cards */
.list > .block.item, #charts .item.chart.w {
	background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; padding: 10px; margin: 0 0 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05); box-sizing: border-box;
}
#charts .item.chart.w > .block.item { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
#charts div.block.w .rank { border-radius: 10px; margin-right: 10px; }
#charts div.block.w .rank { top: 10px; left: 10px; margin: 0; }
/* action buttons flow under the song info instead of sitting on top of the last line */
.item .actions { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; white-space: normal; }
.item .actions a { margin: 0; }
@media (max-width: 760px) {
	#feedback .block:has(> .email) { grid-template-columns: 1fr; gap: 10px; }
}
#charts .item.chart.w > .block.item { margin: 0 0 0 110px; }
@media (max-width: 760px) {
	#charts div.block.w .rank { width: 44px; height: 100px; line-height: 100px; font-size: 24px; }
	#charts .item.chart.w > .block.item { margin-left: 54px; height: auto; min-height: 100px; display: flex; gap: 10px; align-items: flex-start; }
	#charts .item.chart.w > .block.item .cdimg { float: none; flex: 0 0 100px; }
	#charts div.block.w .block.item .desc { position: static; margin: 0; min-width: 0; flex: 1; min-height: 0; }
}
/* 2026-09-23: rounded-square cover buttons; chart rank sits inside the cover (top left) like those buttons */
.cdimg .play, .cdimg .add { border-radius: 8px; }
#charts .item.chart.w > .block.item { margin: 0; }
#charts div.block.w .rank {
	top: 16px; left: 16px; z-index: 2; width: auto; min-width: 34px; height: 34px; line-height: 34px; padding: 0 6px;
	box-sizing: border-box; border-radius: 8px; background: rgba(0, 0, 0, .58); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	font-size: 17px; font-weight: bold; letter-spacing: 0; pointer-events: none;
}
@media (max-width: 760px) {
	#charts .item.chart.w > .block.item { margin-left: 0; }
	#charts div.block.w .rank { width: auto; height: 34px; line-height: 34px; font-size: 17px; }
}
/* ---- 2026-09-23: one song row design for Listen, Chart and the other song lists ---- */
.song-row { display: flex; gap: 12px; align-items: flex-start; }
.song-row .cdimg { float: none; flex: 0 0 100px; }
.song-row .desc, #charts div.block.w .block.item.song-row .desc {
	position: static; left: auto; top: auto; margin: 0; min-height: 0; min-width: 0; flex: 1; width: auto;
}
#charts div.block.w .block.item.song-row { height: auto; margin: 0; display: flex; }
.list .item.chart.w .song-row:hover, .list .item.chart.w:hover { background: none; }
.song-row .title.line { padding: 2px 0 6px; line-height: 1.35; }
.song-row .title .comment-count { color: #888; }
.song-row .stats { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #444; padding-bottom: 0; }
.song-row .stats .label { color: #888; font-weight: bold; }
.song-row .fav-count { display: inline-flex; align-items: center; gap: 4px; }
.song-row .fav-count svg { fill: #e0245e; }
/* favorite = heart icon button, same height as the other pills */
.actions a.favorite { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 44px; height: 30px; box-sizing: border-box; vertical-align: top; }
.actions a.favorite svg { fill: none; stroke: #e0245e; stroke-width: 2.2; }
.actions a.favorite:hover { background: #fff0f4; border-color: #f3b5c8; }
.actions a.favorite:hover svg { fill: #e0245e; }
.actions a { height: 30px; box-sizing: border-box; display: inline-flex; align-items: center; }
/* chart: title and the week picker on one line */
#charts .page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
#charts .page-head h1 { margin: 0; }
#charts .page-head #charts-nav.cw { padding: 0; margin: 0; }
/* listen: search box, "search by" box and button share one look and height */
#recent-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#recent-search input[type=search], #recent-search select, #recent-search button {
	height: 42px; box-sizing: border-box; border-radius: 10px; font: 15px Arial, Helvetica, sans-serif; margin: 0;
}
#recent-search input[type=search], #recent-search select {
	border: 1px solid #d3d7de; background-color: #fff; color: #222; padding: 0 12px;
	transition: border-color .12s, box-shadow .12s;
}
#recent-search input[type=search] { flex: 1 1 220px; min-width: 0; }
#recent-search select {
	-webkit-appearance: none; appearance: none; padding-right: 34px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
}
#recent-search input[type=search]:focus, #recent-search select:focus {
	outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18);
}
#recent-search button { border: 0; background: #1a73e8; color: #fff; font-weight: bold; padding: 0 20px; cursor: pointer; }
#recent-search button:hover { background: #1765cc; }
/* people: full-width grid of rounded picture tiles */
#people-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px 16px; align-items: start; }
#people-list > .header, #people-list > .pagination, #people-list > .more { grid-column: 1 / -1; }
#people-list > .clear { display: none; }
#people-list > .item { float: none; width: auto; margin: 0; }
#people-list .userimg { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; }
#people-list .userimg img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
.userimg { border-radius: 10px; overflow: hidden; }
/* ---- 2026-09-23: search icon button on one line, People filters and chart week picker in the same rounded style ---- */
#recent-search input[type=search] { flex: 1 1 0; min-width: 60px; }
#recent-search select { flex: 0 0 auto; }
#recent-search button { flex: 0 0 42px; width: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
#recent-search .clear { flex: 0 0 100%; }
@media (max-width: 760px) {
	#recent-search { flex-wrap: wrap; }
	#recent-search input[type=search], #recent-search select { font-size: 16px; }
	#recent-search select { padding-left: 10px; padding-right: 30px; background-position: right 6px center; }
}

#people-nav .line2 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
#people-nav .line2 > div { float: none; margin: 0; position: relative; }
#people-nav .label { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #4a4f57; }
#people-nav div.b > a {
	display: flex; align-items: center; height: 42px; box-sizing: border-box; padding: 0 34px 0 12px; min-width: 110px;
	border: 1px solid #d3d7de; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
	font: 15px Arial, Helvetica, sans-serif; color: #222; cursor: pointer; text-decoration: none;
}
#people-nav div.b > a span { display: none; }
#people-nav div.b.hover > a { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
#people-nav .slist-holder { position: absolute; left: 0; top: 100%; z-index: 50; padding-top: 6px; border: 0; background: none; box-shadow: none; }
#people-nav .slist {
	display: flex; flex-direction: column; min-width: 160px; padding: 6px; border: 1px solid #e1e4e8; border-radius: 12px;
	background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
#people-nav .slist a { display: block; padding: 9px 12px; border-radius: 8px; color: #222; font-size: 15px; white-space: nowrap; text-decoration: none; }
#people-nav .slist a:hover { background: #f1f3f6; }
#people-nav .search-simple form { display: flex; align-items: center; position: relative; }
#people-nav .search-simple input[type=text] {
	width: 220px; max-width: 100%; height: 42px; box-sizing: border-box; padding: 0 12px; margin: 0;
	border: 1px solid #d3d7de; border-radius: 10px; background: #fff; font: 15px Arial, Helvetica, sans-serif; color: #222;
}
#people-nav .search-simple input[type=text]:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
@media (max-width: 760px) { #people-nav .search-simple input[type=text] { font-size: 16px; } }

#charts-nav .cw-button {
	height: 42px; box-sizing: border-box; padding: 0 34px 0 14px; border: 1px solid #d3d7de; border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; color: #222; font: bold 15px/1 Arial, Helvetica, sans-serif;
}
#charts-nav .cw-button:hover { background-color: #f6f7f9; }
#charts-nav .cw-button .cw-caret { display: none; }
#charts-nav.open .cw-button { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
#charts-nav .cw-panel { top: 50px; border: 1px solid #e1e4e8; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); padding: 14px; }
#charts-nav .cw-panel label { font-weight: 600; color: #4a4f57; font-size: 13px; }
#charts-nav .cw-panel select {
	height: 42px; box-sizing: border-box; padding: 0 30px 0 10px; border: 1px solid #d3d7de; border-radius: 10px; font-size: 15px;
	-webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 6px center / 18px; color: #222;
}
#charts-nav .cw-panel button {
	height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: #1a73e8; color: #fff; font: bold 15px Arial, Helvetica, sans-serif; cursor: pointer;
}
#people-nav .line2 { height: auto; line-height: normal; padding-bottom: 12px; }
#people-nav .label { line-height: 1.2; }
@media (max-width: 760px) {
	#charts-nav .cw-panel { left: auto; right: 0; max-width: calc(100vw - 20px); box-sizing: border-box; }
	#charts-nav .cw-panel select.cw-week { min-width: 0; max-width: 100%; }
	#charts-nav .cw-panel label { min-width: 0; max-width: 100%; }
	#people-nav .search-simple input[type=text] { width: 100%; }
	#people-nav .line2 > .search-simple { flex: 1 1 100%; }
}
#people-nav .line2 { align-items: flex-start; }
/* ---- 2026-09-23: song page info card, tags and buttons in the same rounded style ---- */
#song .detail > .content {
	background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; padding: 16px 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05); box-sizing: border-box; overflow: hidden;
}
#song .detail > .content > .block { margin: 0 0 12px; padding: 0; }
#song .song-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: #222; }
#song .song-stats .label { color: #888; font-weight: bold; margin-right: 3px; }
#song .song-stats .fav-count { display: inline-flex; align-items: center; gap: 5px; }
#song .song-stats .fav-count svg { fill: #e0245e; }
#song .song-stats .rate-block { display: inline-flex; align-items: center; margin: 0; float: none; }
#song .song-tags { display: flex; flex-wrap: wrap; gap: 8px; }
#song .song-tags .tag {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: #f1f3f6; color: #222; font-size: 13px; line-height: 1.2;
}
#song .song-tags .tag .label { color: #6b7280; font-weight: bold; }
#song .detail > .content > p { margin: 4px 0 14px; padding: 12px 14px; background: #f7f8fa; border-radius: 10px; font-size: 14px; line-height: 1.55; color: #333; }
#song-instruments:not(:has(.instrument)) { display: none; }
#song .detail > .content .actions { margin-top: 4px; }
#song .detail > .content .actions a { height: 36px; padding: 0 18px; font-size: 14px; }
#song .detail > .content .actions a.favorite { width: 50px; padding: 0; }
#song .detail > .content .actions a.favorite svg { width: 18px; height: 18px; }
/* "see all" links next to section titles */
#song .header .small a.more, #user .header .small a.more {
	display: inline-block; padding: 3px 10px; margin-left: 6px; border-radius: 999px; background: #f1f3f6;
	color: #1a73e8; font-size: 12px; font-weight: bold; text-decoration: none; vertical-align: middle;
}
#song .header .small a.more:hover, #user .header .small a.more:hover { background: #e3ebf8; }
/* favorited-by thumbnails and comment pictures: softly rounded */
#song .collage img, #song .comment img, #song .comments img, #user .collage img { border-radius: 6px; }
/* comment box */
.block.addcomment { background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.block.addcomment .label, .block.addcomment .header { font-size: 13px; font-weight: 600; color: #4a4f57; margin-bottom: 8px; }
.block.addcomment textarea {
	width: 100%; box-sizing: border-box; min-height: 80px; padding: 10px 12px; border: 1px solid #d3d7de; border-radius: 10px;
	font: 15px/1.4 Arial, Helvetica, sans-serif; color: #222; resize: vertical; background: #fff;
}
.block.addcomment textarea:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
.block.addcomment .buttons button {
	margin-top: 10px; height: 38px; padding: 0 22px; border: 0; border-radius: 999px; background: #1a73e8; color: #fff;
	font: bold 14px Arial, Helvetica, sans-serif; cursor: pointer;
}
.block.addcomment .buttons button:hover { background: #1765cc; }
@media (max-width: 760px) {
	#song .detail > .content { padding: 14px; }
	#song .detail > .content .actions a { padding: 0 14px; }
}
.comment-list .comment-item img { border-radius: 10px; }
@media (max-width: 760px) {
	/* phone: cover, then the song info card, then the (long) chart listings */
	#song .detail { display: flex; flex-direction: column; gap: 14px; }
	#song .detail > .song-media { display: contents; }
	#song .detail .cdimg.large { order: 1; float: none; margin: 0; }
	#song .detail > .content { order: 2; margin: 0; width: auto; }
	#song .detail > .song-media > .collage { order: 3; float: none; margin: 0; }
	#song .detail > .clear { display: none; }
}
/* ---- 2026-09-23: every tile list (.mini: other songs by, profile songs/favorites/fans, search, contests...) uses the
   Best Musicshake Songs grid — fluid columns, square covers — and auto-loaded pages join the same grid ---- */
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px 16px; align-items: start; }
.mini > :not(.item):not(.page_block) { grid-column: 1 / -1; }
.mini > .header { margin-bottom: 0; }
.mini .clear, .mini script { display: none; }
.mini > .page_block { display: contents; }
.mini .item { float: none; width: auto; margin: 0; min-width: 0; }
.mini .item .cdimg, .mini .item .userimg { width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; }
.mini .item .cdimg img, .mini .item .userimg img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
.mini .item .title { margin-top: 6px; overflow-wrap: anywhere; }
/* ---- 2026-09-23: Chart listings as rounded tiles; song cards a little closer together ---- */
.collage.calendar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.collage.calendar > .header { grid-column: 1 / -1; margin-bottom: 4px; }
.collage.calendar > .clear { display: none; }
.collage.calendar .item {
	float: none; width: auto; height: auto; aspect-ratio: 1 / 1; margin: 0; padding: 0; box-sizing: border-box;
	border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	transition: transform .12s ease, filter .12s ease;
}
.collage.calendar .item:hover { transform: scale(1.05); filter: brightness(1.08); }
.collage.calendar .item.red:hover { background-color: #B5211E; color: #fff; }
.collage.calendar .item.yellow:hover { background-color: #F6A535; color: #fff; }
.collage.calendar .item.green:hover { background-color: #6F9B35; color: #fff; }
.collage.calendar .date { font-size: 10px; opacity: .9; }
.collage.calendar .rank { font-size: 19px; line-height: 1; }
@media (max-width: 760px) {
	#song .collage.calendar { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
}
.list > .block.item, #charts .item.chart.w { margin-bottom: 6px; }
/* ---- 2026-09-23: Store as rounded price cards ---- */
#store.store-modern { padding-top: 6px; }
#store .store-section { margin: 0 0 22px; padding: 20px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
#store .store-section h2 { margin: 0 0 6px; font-size: 22px; color: #222; }
#store .store-lead { margin: 0 0 16px; color: #555; font-size: 14px; line-height: 1.5; }
#store .store-lead b { color: #222; }
#store .store-grid { display: grid; gap: 12px; }
#store .store-grid.plans { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
#store .store-grid.cash { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
#store .store-card {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; box-sizing: border-box;
	padding: 18px 14px 14px; border: 1px solid #e1e4e8; border-radius: 14px; background: #fafbfc; text-align: center;
	font: 14px Arial, Helvetica, sans-serif; color: #222; margin: 0; width: auto; height: auto;
	transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
#store .store-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-color: #c9d6ea; }
#store .store-card.featured { border: 2px solid #1a73e8; background: #f5f9ff; }
#store .store-badge {
	position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px;
	background: #1a73e8; color: #fff; font-size: 11px; font-weight: bold; white-space: nowrap;
}
#store .store-name { font-size: 16px; font-weight: bold; color: #333; }
#store .store-name small { display: block; font-size: 12px; font-weight: normal; color: #777; margin-top: 2px; }
#store .store-price { font-size: 26px; font-weight: bold; color: #111; }
#store .store-price span { font-size: 13px; font-weight: normal; color: #777; }
#store .store-buy {
	width: 100%; height: 40px; margin-top: 6px; border: 0; border-radius: 999px; background: #1a73e8; color: #fff;
	font: bold 15px Arial, Helvetica, sans-serif; cursor: pointer;
}
#store .store-buy:hover { background: #1765cc; }
#store .store-alt {
	width: 100%; height: 36px; border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #1a73e8;
	font: bold 13px Arial, Helvetica, sans-serif; cursor: pointer;
}
#store .store-alt:hover { background: #f1f5fd; }
#store button.cash-card { cursor: pointer; }
#store button.cash-card .store-price { font-size: 20px; color: #1a73e8; }
#store #store-logos { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; opacity: .85; }
#store #store-logos img { max-height: 24px; width: auto; }
@media (max-width: 760px) {
	#store .store-section { padding: 16px 14px; }
	#store .store-grid.cash { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	#store .store-price { font-size: 22px; }
}

@media (min-width: 761px) { #store .store-grid.cash { grid-template-columns: repeat(4, 1fr); } }
/* 2026-09-23: song rows — the lines inside a song (title, plays, buttons) sit closer together */
.song-row .title.line { padding: 0 0 2px; line-height: 1.3; }
.song-row .stats { line-height: 1.2; }
.song-row .stats svg { display: block; }
.song-row .actions { margin-top: 5px; }
/* store: clearly visible outlines */
#store .store-card { border: 1px solid #b9c0ca; background: #fff; }
#store .store-card:hover { border-color: #1a73e8; }
#store .store-card.featured { border: 2px solid #1a73e8; }
#store .store-alt { border: 1.5px solid #1a73e8; }
/* 2026-09-23: songs closer together — 2px between cards, 6px above/below inside (cover to cover 28px -> 16px) */
.list > .block.item, #charts .item.chart.w { padding-top: 6px; padding-bottom: 6px; margin-bottom: 2px; }
#charts div.block.w .rank { top: 12px; }
/* ---- 2026-09-23: cover controls as one joined pill (+ | ▶) and a matching rank pill: 28px, 5px from the edge, frosted glass ---- */
.cdimg .play, .cdimg .add {
	width: 28px; height: 28px; bottom: 5px; border-radius: 0; box-shadow: none;
	background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background-color .12s ease;
}
.cdimg .play { right: 5px; border-radius: 0 8px 8px 0; }
.cdimg .add { right: 33px; border-radius: 8px 0 0 8px; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .22); }
.cdimg .play:hover, .cdimg .add:hover { background: rgba(0, 0, 0, .8); transform: none; }
.cdimg .play .icon, .cdimg .play:hover .icon { background-size: 16px 16px; }
.cdimg .add .icon { background-size: 14px 14px; }
/* song page big cover: same pill, a little larger */
.cdimg.large .play, .cdimg.large .add { width: 36px; height: 36px; bottom: 8px; }
.cdimg.large .play { right: 8px; }
.cdimg.large .add { right: 44px; }
.cdimg.large .play .icon, .cdimg.large .play:hover .icon { background-size: 20px 20px; }
.cdimg.large .add .icon { background-size: 17px 17px; }
/* chart rank: matching pill in the top-left corner of the cover */
#charts div.block.w .rank {
	top: 12px; left: 16px; min-width: 28px; height: 28px; line-height: 28px; padding: 0 7px; font-size: 14px;
	border-radius: 8px; box-shadow: none; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 760px) {
	#charts div.block.w .rank { width: auto; height: 28px; line-height: 28px; font-size: 14px; }
}
#charts div.block.w .rank { top: 11px; left: 15px; }
/* ---- 2026-09-23: profile page — name with a pill fan button, rounded profile card with genre tags, rounded thumbnail grids ---- */
#user > h1.button-h, #user > h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
#user-fan-btn {
	height: 34px; padding: 0 18px; border: 0; border-radius: 999px; background: #1a73e8; color: #fff;
	font: bold 14px Arial, Helvetica, sans-serif; cursor: pointer; box-shadow: 0 2px 8px rgba(26, 115, 232, .25); margin: 0;
}
#user-fan-btn:hover { background: #1765cc; }
#user .detail {
	display: flex; gap: 18px; align-items: flex-start; padding: 16px; margin: 0 0 18px; box-sizing: border-box;
	background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
#user .detail .userimg.large { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 14px; overflow: hidden; float: none; margin: 0; }
#user .detail .userimg.large img { width: 100%; height: 100%; object-fit: cover; display: block; }
#user .detail > .content { flex: 1; min-width: 0; margin: 0; padding: 0; }
#user .detail > .content .label { margin: 0 0 6px; font-size: 12px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; color: #888; }
#user .detail > .content p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #333; }
#user .detail .profile-intro { padding: 10px 12px; background: #f7f8fa; border-radius: 10px; }
#user .profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
#user .profile-tags .tag { padding: 5px 11px; border-radius: 999px; background: #f1f3f6; color: #222; font-size: 13px; }
#user .collage { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 4px; margin: 0 0 18px; }
#user .collage > .header { grid-column: 1 / -1; margin-bottom: 6px; }
#user .collage > .clear, #user .collage > script { display: none; }
#user .collage .item { float: none; width: auto; height: auto; margin: 0; padding: 0; }
#user .collage .item img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 760px) {
	#user .detail { gap: 14px; padding: 12px; }
	#user .detail .userimg.large { flex-basis: 110px; width: 110px; height: 110px; }
	#user .collage { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
}
#user .detail > .content { min-height: 0; }
#user .detail > .content > :last-child { margin-bottom: 0; }
#user .collage.chart, #user .collage.youtube { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
@media (min-width: 761px) { #user .collage.chart, #user .collage.youtube { grid-template-columns: repeat(auto-fill, 72px); } }
