/*
 * 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); } }
/* ---- 2026-09-23: "My" tabs as pills (Battles hidden from the UI; the page still exists) ---- */
#my-topmenu { border: 0; padding: 0; margin: 0 0 16px; }
#my-topmenu .nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; border: 0; }
#my-topmenu .nav a {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin: 0; box-sizing: border-box; float: none;
	border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #333; font-size: 13px; font-weight: bold; text-decoration: none;
}
#my-topmenu .nav a:hover { background: #f1f3f6; }
#my-topmenu .nav a.selected { background: #1a73e8; border-color: #1a73e8; color: #fff; }
#my-topmenu .nav + .nav a { height: 30px; padding: 0 12px; font-size: 12px; }
#my-topmenu .nav + .nav a.selected { background: #222; border-color: #222; }
#my-topmenu .nav a.mybattles { display: none; }

/* ---- My Shake Cash: balance card and history cards ---- */
.my-shakecash .cash-balance {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
	margin: 0 0 16px; padding: 20px 22px; border-radius: 16px; color: #fff;
	background: linear-gradient(135deg, #1a73e8 0%, #6a3de8 100%); box-shadow: 0 6px 18px rgba(26, 115, 232, .25);
}
.my-shakecash .cash-balance-label { font-size: 13px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; opacity: .85; }
.my-shakecash .cash-balance-amount { font-size: 34px; font-weight: bold; line-height: 1.15; margin: 4px 0 2px; }
.my-shakecash .cash-balance-amount span { font-size: 15px; font-weight: normal; opacity: .9; }
.my-shakecash .cash-balance-usd { font-size: 13px; opacity: .85; }
.my-shakecash .cash-buy {
	display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: #fff; color: #1a73e8;
	font-weight: bold; font-size: 14px; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.my-shakecash .cash-buy:hover { background: #f1f5fd; }
.my-shakecash .cash-section {
	margin: 0 0 14px; padding: 6px 16px 8px; background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.my-shakecash .cash-section-head { display: flex; align-items: center; gap: 8px; padding: 10px 0 8px; font-size: 16px; font-weight: bold; color: #222; }
.my-shakecash .cash-count { padding: 2px 8px; border-radius: 999px; background: #f1f3f6; color: #555; font-size: 12px; }
.my-shakecash .cash-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f1f4; }
.my-shakecash .cash-row-main { min-width: 0; }
.my-shakecash .cash-row-title { font-size: 14px; color: #222; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.my-shakecash .cash-row-date { font-size: 12px; color: #888; margin-top: 2px; }
.my-shakecash .cash-row-amount { flex: 0 0 auto; font-size: 15px; font-weight: bold; white-space: nowrap; }
.my-shakecash .cash-row-amount.plus { color: #188038; }
.my-shakecash .cash-row-amount.minus { color: #d93025; }
.my-shakecash .cash-row.cancelled .cash-row-amount { color: #999; text-decoration: line-through; }
.my-shakecash .cash-badge { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: bold; }
.my-shakecash .cash-badge.pending { background: #fff4e0; color: #b06000; }
.my-shakecash .cash-badge.refunded { background: #fde7e9; color: #c5221f; }
.my-shakecash .cash-empty { padding: 12px 0 10px; border-top: 1px solid #f0f1f4; color: #888; font-size: 13px; }
@media (max-width: 760px) {
	.my-shakecash .cash-balance { padding: 16px; }
	.my-shakecash .cash-balance-amount { font-size: 28px; }
	.my-shakecash .cash-buy { width: 100%; justify-content: center; }
}
/* ---- 2026-09-23: My Subscriptions — status card and history card ---- */
.my-subs .subs-status {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
	margin: 0 0 16px; padding: 20px 22px; border-radius: 16px;
}
.my-subs .subs-status.active { color: #fff; background: linear-gradient(135deg, #188038 0%, #1a73e8 100%); box-shadow: 0 6px 18px rgba(24, 128, 56, .22); }
.my-subs .subs-status.none { color: #222; background: #fff; border: 1px solid #e6e8ec; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.my-subs .subs-status-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; opacity: .9; }
.my-subs .subs-status-main { font-size: 22px; font-weight: bold; line-height: 1.25; margin: 6px 0 4px; }
.my-subs .subs-status-sub { font-size: 13px; opacity: .85; }
.my-subs .subs-status.none .subs-status-sub, .my-subs .subs-status.none .subs-status-label { color: #6b7280; opacity: 1; }
.my-subs .subs-button {
	display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; font-weight: bold; font-size: 14px;
	text-decoration: none; background: #fff; color: #188038; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.my-subs .subs-status.none .subs-button { background: #1a73e8; color: #fff; box-shadow: 0 2px 8px rgba(26, 115, 232, .3); }
.my-subs .subs-button:hover { filter: brightness(.96); }
.my-subs .subs-status.active .subs-chip.active { background: rgba(255, 255, 255, .22); color: #fff; }
.my-subs .subs-history { padding: 6px 16px 8px; background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.my-subs .subs-history-head { display: flex; align-items: center; gap: 8px; padding: 10px 0 8px; font-size: 16px; font-weight: bold; color: #222; }
.my-subs .subs-count { padding: 2px 8px; border-radius: 999px; background: #f1f3f6; color: #555; font-size: 12px; }
.my-subs .subs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #f0f1f4; }
.my-subs .subs-row-main { min-width: 0; }
.my-subs .subs-row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: bold; color: #222; }
.my-subs .subs-row-period { font-size: 13px; color: #444; margin-top: 3px; }
.my-subs .subs-row-note { font-size: 12px; color: #888; margin-top: 2px; }
.my-subs .subs-row-created { flex: 0 0 auto; font-size: 12px; color: #999; white-space: nowrap; }
.my-subs .subs-row.refunded .subs-row-period { text-decoration: line-through; color: #999; }
.my-subs .subs-chip { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: bold; text-transform: none; letter-spacing: 0; }
.my-subs .subs-chip.active { background: #e6f4ea; color: #188038; }
.my-subs .subs-chip.upcoming { background: #e8f0fe; color: #1a73e8; }
.my-subs .subs-chip.ended { background: #f1f3f6; color: #6b7280; }
.my-subs .subs-chip.refunded { background: #fde7e9; color: #c5221f; }
.my-subs .subs-empty { padding: 12px 0 10px; border-top: 1px solid #f0f1f4; color: #888; font-size: 13px; }
@media (max-width: 760px) {
	.my-subs .subs-status { padding: 16px; }
	.my-subs .subs-status-main { font-size: 19px; }
	.my-subs .subs-button { width: 100%; justify-content: center; }
	.my-subs .subs-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
/* ---- 2026-09-23: My Songs — filter card, fluid tile grid, frosted hover/tap menu ---- */
#my-topmenu-song.song-filters {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin: 0 0 14px; padding: 14px 16px;
	background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); position: static;
}
#my-topmenu-song .song-filter { display: flex; flex-direction: column; gap: 5px; margin: 0; position: static; }
#my-topmenu-song .song-filter .label { font-size: 12px; font-weight: bold; color: #4a4f57; }
#my-topmenu-song select, #my-topmenu-song-search input[type=text] {
	height: 40px; box-sizing: border-box; border: 1px solid #d3d7de; border-radius: 10px; background-color: #fff; color: #222;
	font: 14px Arial, Helvetica, sans-serif; margin: 0;
}
#my-topmenu-song select {
	min-width: 140px; padding: 0 30px 0 10px; -webkit-appearance: none; appearance: none; 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 6px center / 18px;
}
#my-topmenu-song .song-filter.search { flex: 1 1 200px; position: static; top: auto; right: auto; }
#my-topmenu-song-search input[type=text] { width: 100%; padding: 0 12px; }
#my-topmenu-song select:focus, #my-topmenu-song-search input[type=text]:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
#my-topmenu-song .song-filter-or { align-self: center; padding-top: 18px; color: #999; font-size: 12px; font-weight: bold; text-transform: uppercase; }
#my-topmenu-song-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
#my-topmenu-song-summary:empty { display: none; }
#my-topmenu-song-summary a { padding: 4px 12px; border-radius: 999px; background: #f1f3f6; color: #1a73e8; font-size: 12px; font-weight: bold; text-decoration: none; }

#my-songs .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
#my-songs .list .item2 { float: none; width: auto; height: auto; margin: 0; }
#my-songs .list .sitem {
	width: 100%; height: auto; aspect-ratio: 1 / 1; border: 0; border-radius: 12px; overflow: hidden; background: #f1f3f6;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
#my-songs .list .sitem:hover { border: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
#my-songs .list .sitem img.b { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
#my-songs .list .item2 .title { margin-top: 8px; font-size: 13px; font-weight: bold; line-height: 1.35; }
#my-songs .list .item2 .title .length { color: #888; font-weight: normal; }
#my-songs .list .smenu {
	inset: 0; width: auto; height: auto; padding: 12px; box-sizing: border-box; border-radius: 12px; color: #fff; font-size: 12px;
	background: rgba(18, 20, 24, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	flex-direction: column; gap: 8px;
}
#my-songs .list .smenu .image { display: none; }
#my-songs .list .smenu .smenu-top { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding-right: 30px; }
#my-songs .list .smenu .smenu-top .abtn, #my-songs .list .smenu .smenu-top .abtn.r1, #my-songs .list .smenu .smenu-top .abtn.r2 {
	position: static; float: none; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 0; border-radius: 999px;
	background: #fff; color: #1a73e8; font-size: 12px; font-weight: bold; text-decoration: none; cursor: pointer; box-shadow: none;
}
#my-songs .list .smenu .smenu-top .abtn:hover { background: #e8f0fe; }
#my-songs .list .smenu .xbtn {
	position: absolute; top: 10px; right: 10px; left: auto; width: 26px; height: 26px; margin: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' 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") no-repeat center / 16px;
}
#my-songs .list .smenu .xbtn:hover { background-color: rgba(217, 48, 37, .9); }
#my-songs .list .smenu .bold { font-weight: bold; color: #fff; line-height: 1.35; }
#my-songs .list .smenu .label { color: rgba(255, 255, 255, .75); }
#my-songs .list .smenu .smenu-bottom { left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; }
#my-songs .list .smenu .smenu-bottom a { float: none; margin: 0; }
#my-songs .list .smenu .smenu-bottom a.player-button {
	width: 32px; height: 32px; padding: 0; box-sizing: border-box; position: relative; border-radius: 0; background: rgba(255, 255, 255, .16);
}
#my-songs .list .smenu .smenu-bottom a.player-button.add { border-radius: 8px 0 0 8px; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .22); }
#my-songs .list .smenu .smenu-bottom a.player-button.play { border-radius: 0 8px 8px 0; margin-left: -6px; }
#my-songs .list .smenu .smenu-bottom a.player-button:hover { background: rgba(255, 255, 255, .3); }
#my-songs .list .smenu a.player-button .icon { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; background: 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") no-repeat center / 16px; }
#my-songs .list .smenu a.player-button.add .icon { background: 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") no-repeat center / 14px; }
#my-songs .list .smenu .smenu-bottom a.launchbtn {
	margin-left: auto; height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px;
	background: #fff; color: #222; font-size: 12px; font-weight: bold; line-height: 1;
}
#my-songs .list .smenu .smenu-bottom a.launchbtn:hover { background: #e8f0fe; }
#my-songs > .label { padding: 14px 0; color: #888; }
@media (max-width: 760px) {
	#my-topmenu-song select { min-width: 0; width: 100%; }
	#my-topmenu-song .song-filter:not(.search) { flex: 1 1 calc(33% - 12px); min-width: 96px; }
	#my-topmenu-song .song-filter-or { flex: 0 0 100%; padding: 0; text-align: center; }
	#my-songs .list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
#my-topmenu-song .song-filter { padding: 0; }
/* ---- 2026-09-23: confirm box (rounded, centred; red confirm for destructive actions) ---- */
#confirm {
	left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: min(380px, calc(100vw - 32px)); padding: 0; border: 0;
	border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 16px 48px rgba(0, 0, 0, .35); z-index: 1001;
}
#confirm .title { padding: 15px 20px; background: #16181d; color: #fff; font-size: 17px; font-weight: bold; }
#confirm .content { padding: 18px 20px 16px; }
#confirm .content p { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #333; }
#confirm .buttons { display: flex; justify-content: flex-end; gap: 8px; }
#confirm .buttons button {
	height: 38px; padding: 0 18px; border-radius: 999px; font: bold 14px Arial, Helvetica, sans-serif; cursor: pointer; margin: 0;
	border: 1px solid #d3d7de; background: #fff; color: #333;
}
#confirm .buttons button:first-child { order: 2; border: 0; background: #1a73e8; color: #fff; }
#confirm.danger .buttons button:first-child { background: #d93025; }
#confirm .buttons button:hover { filter: brightness(.95); }

/* ---- Edit song info / Post song dialog (#song-dialog, built by __songedit.js) ---- */
#song-dialog .content { padding: 20px; }
#song-dialog .label, #song-dialog .label.big { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #4a4f57; }
#song-dialog input[name=title] {
	width: 100%; height: 42px; box-sizing: border-box; padding: 0 12px; margin: 0; border: 1px solid #d3d7de; border-radius: 10px;
	font: 15px Arial, Helvetica, sans-serif; color: #222; background: #fff; outline: none;
}
#song-dialog .content > .block { margin: 0 0 14px; }
#song-dialog .block.br { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; }
#song-dialog .block.br > .label:first-child { display: none; }
#song-dialog .block.br > .clear { display: none; }
#song-dialog .floatl.needspace { float: none; margin: 0; flex: 1 1 150px; }
#song-dialog select {
	width: 100%; height: 42px; box-sizing: border-box; padding: 0 30px 0 10px; margin: 0; border: 1px solid #d3d7de; border-radius: 10px;
	-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; font: 14px Arial, Helvetica, sans-serif; color: #222; cursor: pointer;
}
#song-dialog .content > div:has(> .block.floatr) { display: flex; gap: 16px; align-items: stretch; }
#song-dialog .block.floatl:has(> .album-box) { float: none; margin: 0; flex: 0 0 180px; }
#song-dialog .block.floatr { float: none; margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; }
#song-dialog .album-box { width: 180px; height: 180px; border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
#song-dialog .album-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
#song-dialog .album-box > .tooltip { top: auto; right: 0; bottom: 0; left: 0; padding: 8px; text-align: center; font-size: 12px; font-weight: bold; opacity: .75; }
#song-dialog textarea {
	width: 100%; max-width: none; min-width: 0; height: auto; min-height: 180px; flex: 1; box-sizing: border-box; padding: 10px 12px; resize: vertical;
	border: 1px solid #d3d7de; border-radius: 10px; font: 14px/1.5 Arial, Helvetica, sans-serif; color: #222; outline: none;
}
#song-dialog input[name=title]:focus, #song-dialog select:focus, #song-dialog textarea:focus { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
#song-dialog .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
#song-dialog .buttons label { float: none; margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #333; cursor: pointer; }
#song-dialog .buttons input[type=checkbox] { width: 16px; height: 16px; accent-color: #1a73e8; margin: 0; }
#song-dialog .buttons input[type=submit] {
	margin-left: auto; height: 40px; padding: 0 26px; border: 0; border-radius: 999px; background: #1a73e8; color: #fff;
	font: bold 15px Arial, Helvetica, sans-serif; cursor: pointer; box-shadow: 0 2px 8px rgba(26, 115, 232, .3);
}
#song-dialog .buttons input[type=submit]:hover { background: #1765cc; }
@media (max-width: 760px) {
	#song-dialog .content > div:has(> .block.floatr) { flex-direction: column; }
	#song-dialog .block.floatl:has(> .album-box) { flex-basis: auto; }
	#song-dialog .album-box { width: 140px; height: 140px; }
	#song-dialog textarea { min-height: 120px; }
	#song-dialog .buttons input[type=submit] { width: 100%; margin-left: 0; }
}
/* ---- 2026-09-23: My People — section cards, tile grids, round unfan × ---- */
.my-people .people-card {
	margin: 0 0 16px; padding: 6px 16px 16px; background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.my-people .people-card > .header.title { display: flex; align-items: center; gap: 8px; padding: 10px 0 12px; margin: 0; font-size: 16px; font-weight: bold; color: #222; }
.my-people .people-card > .header.title span { padding: 2px 8px; border-radius: 999px; background: #f1f3f6; color: #555; font-size: 12px; font-weight: bold; }
.my-people .people-card > .block.mini { margin: 0; }
.my-people .mini .item { position: relative; }
.my-people .mini .item .label a { color: #888; font-size: 12px; }
.my-people .people-empty { padding: 4px 0 2px; color: #888; font-size: 13px; line-height: 1.5; }
.my-people .people-find { display: inline-block; margin-left: 6px; padding: 4px 12px; border-radius: 999px; background: #1a73e8; color: #fff; font-weight: bold; font-size: 12px; text-decoration: none; }
.my-people .people-find:hover { background: #1765cc; }
#my-people-iamfanof .item .xbtn {
	position: absolute; top: 6px; right: 6px; left: auto; width: 26px; height: 26px; margin: 0; border-radius: 50%; cursor: pointer; z-index: 2;
	background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' 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") no-repeat center / 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
#my-people-iamfanof .item .xbtn:hover { background-color: rgba(217, 48, 37, .92); }
/* ---- 2026-09-23: My Banned Users (shares the My People card styles) ---- */
.my-people .people-note { margin: -4px 0 14px; color: #6b7280; font-size: 13px; line-height: 1.5; }
#my-banned .item .xbtn {
	position: absolute; top: 6px; right: 6px; left: auto; width: 26px; height: 26px; margin: 0; border-radius: 50%; cursor: pointer; z-index: 2;
	background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' 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") no-repeat center / 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
#my-banned .item .xbtn:hover { background-color: rgba(26, 115, 232, .92); }
/* ---- 2026-09-23: My Notifications — one card, avatar + type badge, time, new dot ---- */
.my-notifs .notif-card { background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); overflow: hidden; }
.my-notifs .notif-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid #f0f1f4; }
.my-notifs .notif-row:first-child { border-top: 0; }
.my-notifs .notif-row.new { background: #f3f8ff; }
.my-notifs .notif-avatar { position: relative; flex: 0 0 48px; width: 48px; height: 48px; }
.my-notifs .notif-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.my-notifs .notif-badge {
	position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box;
	background: #1a73e8 no-repeat center / 12px;
}
.my-notifs .notif-badge.comment { background-color: #1a73e8; 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='M4 4h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.my-notifs .notif-badge.heart { background-color: #e0245e; 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='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 5 6.4 5c2 0 3.6 1.1 4.6 2.6h2C14 6.1 15.6 5 17.6 5 21 5 23.1 8.4 21.6 11.8 19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.my-notifs .notif-badge.star { background-color: #f29900; 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='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E"); }
.my-notifs .notif-badge.battle { background-color: #7c4dff; 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='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); }
.my-notifs .notif-badge.trophy { background-color: #f29900; 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='M7 3h10v2h3v3a4 4 0 0 1-4 4h-.4A5 5 0 0 1 13 14.9V18h3v3H8v-3h3v-3.1A5 5 0 0 1 8.4 12H8a4 4 0 0 1-4-4V5h3zm-1 4v1a2 2 0 0 0 1.2 1.8L7 7zm12 0h-1l-.2 2.8A2 2 0 0 0 18 8z'/%3E%3C/svg%3E"); }
.my-notifs .notif-badge.chart { background-color: #188038; 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='M5 20V11h3v9zm5.5 0V5h3v15zM16 20v-6h3v6z'/%3E%3C/svg%3E"); }
.my-notifs .notif-badge.cash { background-color: #0b8043; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='12' y='17.5' font-size='16' text-anchor='middle' fill='%23fff' font-family='Arial' font-weight='bold'%3E$%3C/text%3E%3C/svg%3E"); background-size: 14px; }
.my-notifs .notif-body { flex: 1; min-width: 0; }
.my-notifs .notif-msg { font-size: 14px; line-height: 1.45; color: #333; overflow-wrap: anywhere; }
.my-notifs .notif-msg a:first-child { font-weight: bold; }
.my-notifs .notif-time { margin-top: 3px; font-size: 12px; color: #888; }
.my-notifs .notif-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #1a73e8; }
.my-notifs .notif-empty { padding: 20px 16px; color: #888; font-size: 14px; }

/* page numbers (Util::paginator) everywhere: rounded pills */
.paginator { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0; }
.paginator a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; box-sizing: border-box;
	border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #333; font-size: 13px; font-weight: bold; text-decoration: none;
}
.paginator a:hover { background: #f1f3f6; }
.paginator a.selected, .paginator a.on, .paginator a.current { background: #1a73e8; border-color: #1a73e8; color: #fff; }
/* ---- 2026-09-23: Edit Profile — Profile / Email / Password cards ---- */
#edit_profile.ep { padding: 0; }
.ep .ep-card { margin: 0 0 16px; padding: 18px 20px 20px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); position: relative; }
.ep .ep-head { margin: 0 0 14px; font-size: 18px; font-weight: bold; color: #222; }
.ep .ep-label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: #4a4f57; }
.ep .ep-input, .ep .ep-textarea {
	width: 100%; box-sizing: border-box; border: 1px solid #d3d7de; border-radius: 10px; background: #fff; color: #222; font: 15px/1.45 Arial, Helvetica, sans-serif; outline: none;
}
.ep .ep-input { height: 42px; padding: 0 12px; }
.ep .ep-textarea { padding: 10px 12px; resize: vertical; }
.ep .ep-textarea.tall { min-height: 120px; height: auto; }
.ep .ep-textarea.medium { min-height: 70px; height: auto; }
.ep .ep-input:focus, .ep .ep-textarea:focus { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
.ep .ep-picture { display: flex; align-items: center; gap: 18px; cursor: pointer; }
.ep .ep-picture .userimg.large { flex: 0 0 120px; width: 120px; height: 120px; margin: 0; float: none; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.ep .ep-picture .userimg.large img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep .ep-picture:hover .userimg.large { box-shadow: 0 0 0 3px rgba(26, 115, 232, .35); }
.ep .ep-hint { margin: 8px 0 0; color: #6b7280; font-size: 13px; line-height: 1.45; }
.ep .ep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ep .ep-chip { position: relative; display: inline-flex; align-items: center; margin: 0; padding: 0; cursor: pointer; }
.ep .ep-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ep .ep-chip span {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid #d3d7de; border-radius: 999px;
	background: #fff; color: #333; font-size: 13px; font-weight: bold; transition: background-color .12s, border-color .12s;
}
.ep .ep-chip:hover span { background: #f1f3f6; }
.ep .ep-chip input:checked + span { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.ep .ep-chip input:checked + span::before { content: "\2713"; margin-right: 6px; }
.ep .ep-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26, 115, 232, .3); }
.ep .ep-current { color: #555; font-size: 14px; }
.ep .ep-current b { color: #222; margin-left: 6px; }
.ep .ep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ep .message { margin-top: 10px; font-size: 13px; }
.ep .message:empty { display: none; }
.ep .ep-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.ep .ep-button {
	height: 40px; padding: 0 22px; 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);
}
.ep .ep-button:hover { background: #1765cc; }
.ep .ep-button.secondary { background: #fff; color: #1a73e8; border: 1.5px solid #1a73e8; box-shadow: none; }
.ep .ep-button.secondary:hover { background: #f1f5fd; }
@media (max-width: 760px) {
	.ep .ep-card { padding: 16px 14px; }
	.ep .ep-grid { grid-template-columns: 1fr; }
	.ep .ep-picture { gap: 14px; }
	.ep .ep-picture .userimg.large { flex-basis: 96px; width: 96px; height: 96px; }
	.ep .ep-button { width: 100%; }
	.ep .ep-picture .ep-button { width: auto; }
	.ep .ep-input, .ep .ep-textarea { font-size: 16px; }
}
.ep label.ep-label { padding: 0; }
#edit_profile .ep-input, #edit_profile input[type="text"].ep-input, #edit_profile input[type="password"].ep-input { width: 100%; max-width: none; }
#edit_profile-picture .userimg { float: none; }
/* ---- 2026-09-23: Settings — switches in cards, "Saved" toast ---- */
.st .st-card { margin: 0 0 16px; padding: 18px 20px 10px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.st .st-head { font-size: 18px; font-weight: bold; color: #222; }
.st .st-sub { margin: 4px 0 6px; color: #6b7280; font-size: 13px; }
.st .st-group { margin: 16px 0 2px; font-size: 12px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; color: #888; }
.st label.st-row {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0;
	border-top: 1px solid #f0f1f4; cursor: pointer; position: relative;
}
.st .st-group + label.st-row { border-top: 0; }
.st .st-text { font-size: 14px; color: #222; }
.st .st-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.st .st-switch { flex: 0 0 44px; width: 44px; height: 26px; border-radius: 999px; background: #d3d7de; position: relative; transition: background-color .15s; }
.st .st-switch::after {
	content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s;
}
.st .st-row input:checked + .st-switch { background: #1a73e8; }
.st .st-row input:checked + .st-switch::after { transform: translateX(18px); }
.st .st-row input:focus-visible + .st-switch { box-shadow: 0 0 0 3px rgba(26, 115, 232, .3); }
.st .st-toast {
	position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px); padding: 10px 18px; border-radius: 999px; z-index: 1002;
	background: #222; color: #fff; font-size: 14px; font-weight: bold; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.st .st-toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ---- 2026-09-23: user songs — header card ---- */
.user-head {
	display: flex; align-items: center; gap: 16px; margin: 0 0 14px; padding: 14px 16px; background: #fff; border: 1px solid #e6e8ec;
	border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.user-head .user-head-img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: block; }
.user-head .user-head-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-head .user-head-main { flex: 1; min-width: 0; }
.user-head .user-head-name { font-size: 20px; font-weight: bold; color: #222; text-decoration: none; overflow-wrap: anywhere; }
.user-head .user-head-sub { margin-top: 2px; color: #6b7280; font-size: 13px; }
.user-head .user-head-button {
	flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #1a73e8;
	color: #1a73e8; background: #fff; font-size: 13px; font-weight: bold; text-decoration: none;
}
.user-head .user-head-button:hover { background: #f1f5fd; }
@media (max-width: 760px) {
	.user-head { gap: 12px; padding: 12px; }
	.user-head .user-head-img { flex-basis: 52px; width: 52px; height: 52px; }
	.user-head .user-head-name { font-size: 17px; }
	.user-head .user-head-button { padding: 0 12px; }
}
/* ---- 2026-09-23: comments (song and profile pages; built by comment.js) ---- */
.comment-list { margin-top: 14px; padding: 4px 16px; background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.comment-list:empty { display: none; }
.comment-list .comment-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid #f0f1f4; margin: 0; }
.comment-list .comment-item:first-child { border-top: 0; }
.comment-list .comment-item > a:first-child { grid-row: 1 / span 2; width: 40px; height: 40px; display: block; }
.comment-list .comment-item > a:first-child img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.comment-list .comment-item .content { grid-column: 2; min-width: 0; margin: 0; padding: 0; float: none; width: auto; }
.comment-list .comment-item .content .title { font-size: 14px; font-weight: bold; color: #222; }
.comment-list .comment-item .content .title a { color: #222; }
.comment-list .datetime { font-weight: normal; color: #999; font-size: 12px; }
.comment-list .comment-item p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #333; overflow-wrap: anywhere; }
.comment-list p.flagged_deleted { color: #999; font-style: italic; }
.comment-list .replies { grid-column: 2; margin: 10px 0 0; padding: 0 0 0 12px; border-left: 2px solid #e6e8ec; }
.comment-list .reply_item { padding: 8px 0; border: 0; margin: 0; }
.comment-list .reply_item + .reply_item { border-top: 1px solid #f4f5f7; }
.comment-list .reply_item .reply_icon { display: none; }
.comment-list .reply_item > div:first-of-type { font-size: 13px; font-weight: bold; }
.comment-list .reply_item > div:first-of-type a { color: #222; }
.comment-list .reply_item p { font-size: 13px; }
/* actions: Reply / Delete / Ban user / Flag */
.comment-list .buttons { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; float: none; text-align: left; }
.comment-list .buttons a.button {
	display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin: 0; border: 1px solid #e1e4e8; border-radius: 999px;
	background: #fff; color: #555; font-size: 12px; font-weight: bold; text-decoration: none; cursor: pointer; float: none;
}
.comment-list .buttons a.button .icon { display: none; }
.comment-list .buttons a.button:hover { background: #f1f3f6; color: #222; }
.comment-list .buttons a.button.reply { color: #1a73e8; border-color: #c9d8f5; }
.comment-list .buttons a.button.delete:hover, .comment-list .buttons a.button.ban:hover, .comment-list .buttons a.button.flag:hover { color: #d93025; border-color: #f3b8b3; background: #fdecea; }
/* inline reply form */
.comment-list .reply_form { margin: 10px 0 0; }
.comment-list .reply_form textarea {
	width: 100%; min-height: 70px; box-sizing: border-box; padding: 8px 10px; border: 1px solid #d3d7de; border-radius: 10px;
	font: 14px/1.45 Arial, Helvetica, sans-serif; resize: vertical; outline: none;
}
.comment-list .reply_form textarea:focus { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
.comment-list .reply_form .reply_button { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #888; }
.comment-list .reply_form .reply_button a { color: #555; cursor: pointer; }
.comment-list .reply_form .reply_button button {
	height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: #1a73e8; color: #fff; font: bold 13px Arial, Helvetica, sans-serif; cursor: pointer;
}
/* comment box: login prompt when logged out */
.block.addcomment { position: relative; }
.block.addcomment .mask {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px;
	background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); width: auto; height: auto; top: 0; left: 0;
}
.block.addcomment .mask p {
	margin: 0; padding: 10px 18px; border-radius: 999px; background: #1a73e8; color: #fff; font-size: 14px; font-weight: bold;
	box-shadow: 0 2px 8px rgba(26, 115, 232, .3); position: static; width: auto;
}
.block.addcomment .mask p .icon { display: none; }
.block.addcomment .mask p a { color: #fff; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) {
	.comment-list { padding: 2px 12px; }
	.comment-list .comment-item { grid-template-columns: 34px 1fr; column-gap: 10px; }
	.comment-list .comment-item > a:first-child, .comment-list .comment-item > a:first-child img { width: 34px; height: 34px; }
}
.comment-list .comment-item { min-height: 0; }
.comment-list .comment-item .buttons { position: static; top: auto; right: auto; }
.comment-list .comment-item img { float: none; max-width: none; max-height: none; }
#comment-form .mask { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .82); border-radius: 14px; }
#comment-form .mask p {
	position: static; right: auto; top: auto; padding: 10px 18px; border-radius: 999px; background: #1a73e8; color: #fff; font-size: 14px; font-weight: bold;
	box-shadow: 0 2px 8px rgba(26, 115, 232, .3);
}
#comment-form .mask .icon { display: none; }
/* ---- 2026-09-23: song page Chart listings — summary, latest 12 + Show all, legend ---- */
.chart-history > .header { display: flex; align-items: center; gap: 8px; }
.chart-history .chart-count { padding: 2px 8px; border-radius: 999px; background: #f1f3f6; color: #555; font-size: 12px; font-weight: bold; }
.chart-history > .chart-summary, .chart-history > .chart-more, .chart-history > .chart-legend { grid-column: 1 / -1; }
.chart-history .chart-summary { margin: -2px 0 4px; font-size: 13px; color: #555; }
.chart-history .chart-summary b { color: #222; }
.chart-history:not(.open) .item.extra { display: none; }
.chart-history .chart-more {
	margin: 6px 0 0; height: 34px; border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #1a73e8;
	font: bold 13px Arial, Helvetica, sans-serif; cursor: pointer;
}
.chart-history .chart-more:hover { background: #f1f5fd; }
.chart-history.open .chart-more { display: none; }
.chart-history .chart-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; font-size: 11px; color: #666; }
.chart-history .chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-history .chart-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.chart-history .chart-legend .red::before { background: #B5211E; }
.chart-history .chart-legend .yellow::before { background: #F6A535; }
.chart-history .chart-legend .green::before { background: #6F9B35; }
/* ---- 2026-09-23: payment flow pages (views/payment; body.pay-body) ---- */
.pay-body #content { width: auto; max-width: 560px; margin: 0 auto; padding: 24px 16px 0; float: none; box-sizing: border-box; }
.pay .pay-card { margin: 0 0 16px; padding: 22px 22px 20px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.pay .pay-kicker { font-size: 12px; font-weight: bold; letter-spacing: .4px; text-transform: uppercase; color: #1a73e8; }
.pay .pay-item { margin: 4px 0 6px; font-size: 22px; font-weight: bold; color: #222; }
.pay .pay-desc { color: #555; font-size: 14px; line-height: 1.5; }
.pay .pay-price { margin: 14px 0 4px; font-size: 34px; font-weight: bold; color: #111; }
.pay .pay-price span { font-size: 14px; font-weight: normal; color: #777; }
.pay .pay-change { font-size: 13px; font-weight: bold; color: #1a73e8; text-decoration: none; }
.pay .pay-head { margin: 0 0 14px; font-size: 18px; font-weight: bold; color: #222; }
.pay .pay-paypal {
	display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; background: #ffc439;
	color: #111; font-size: 16px; font-weight: bold; text-decoration: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); transition: filter .12s;
}
.pay .pay-paypal:hover { filter: brightness(.96); }
.pay .pay-paypal img { height: 22px; width: auto; display: block; }
.pay .pay-note { margin: 12px 0 0; color: #6b7280; font-size: 13px; line-height: 1.5; text-align: center; }
.pay .pay-rows { margin: 4px 0 0; }
.pay .pay-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid #f0f1f4; font-size: 14px; }
.pay .pay-row:first-child { border-top: 0; }
.pay .pay-row span { color: #6b7280; }
.pay .pay-row b { color: #222; text-align: right; }
.pay .pay-row.total { border-top: 2px solid #e6e8ec; font-size: 17px; }
.pay .pay-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.pay .pay-actions.center { justify-content: center; }
.pay .pay-primary, .pay .pay-secondary {
	display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 999px; box-sizing: border-box;
	font: bold 15px Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; margin: 0;
}
.pay .pay-primary { border: 0; background: #1a73e8; color: #fff; box-shadow: 0 2px 8px rgba(26, 115, 232, .3); }
.pay .pay-primary:hover { background: #1765cc; }
.pay .pay-primary[disabled] { opacity: .6; cursor: default; }
.pay .pay-secondary { border: 1.5px solid #1a73e8; background: #fff; color: #1a73e8; }
.pay .pay-secondary:hover { background: #f1f5fd; }
.pay .pay-cancel { color: #555; font-size: 14px; font-weight: bold; text-decoration: none; padding: 0 8px; }
.pay .pay-done, .pay .pay-error { text-align: center; }
.pay .pay-done .pay-rows, .pay .pay-error .pay-rows { text-align: left; margin-top: 14px; }
.pay .pay-icon { width: 56px; height: 56px; margin: 4px auto 12px; border-radius: 50%; background: #188038 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 32px; }
.pay .pay-done.pending .pay-icon { background: #f29900 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zm-1 2v6l5 3 1-1.6-4-2.4V7z'/%3E%3C/svg%3E") no-repeat center / 30px; }
.pay .pay-error .pay-icon { background: #d93025 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 5h2v9h-2zm0 11h2v2h-2z'/%3E%3C/svg%3E") no-repeat center / 30px; }
.pay .pay-title { font-size: 22px; font-weight: bold; color: #222; }
.pay .pay-status { color: #188038; }
.pay .pay-done.pending .pay-status { color: #b06000; }
.pay .pay-help { margin: 16px 0 0; font-size: 13px; color: #888; }
.pay-body #footer { max-width: 560px; margin: 8px auto 24px; padding: 0 16px; box-sizing: border-box; display: flex; gap: 14px; justify-content: center; font-size: 12px; color: #999; border: 0; }
@media (max-width: 760px) {
	.pay .pay-card { padding: 18px 16px; }
	.pay .pay-item { font-size: 20px; }
	.pay .pay-actions { justify-content: stretch; }
	.pay .pay-primary, .pay .pay-secondary { flex: 1 1 100%; }
	.pay .pay-cancel { flex: 1 1 100%; text-align: center; order: 2; }
}
/* payment.min.css has #content/#footer {width:600px !important} and id-level #payment-method rules */
.pay-body #content { width: auto !important; max-width: 560px; margin: 0 auto; padding: 64px 16px 0; }
.pay-body #footer { width: auto !important; max-width: 560px; margin: 8px auto 24px; padding: 0 16px; border-top: 0; }
#payment-method.pay-card { margin: 0 0 16px; padding: 22px 22px 20px; }
#payment-method a.pay-paypal {
	display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin: 0; padding: 0; border: 0; border-radius: 999px;
	background: #ffc439; background-image: none; color: #111; font-size: 16px; font-weight: bold; line-height: 1; text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
#payment-method a.pay-paypal:hover { background: #f5b82e; background-image: none; }
#payment-method a.pay-paypal img { position: static; height: 22px; width: auto; }
/* ---- 2026-09-23: Log in / Sign up — centred card ---- */
.auth { max-width: 420px; margin: 24px auto 32px; padding: 0 4px; float: none; width: auto; }
.auth .auth-card { padding: 26px 24px 22px; background: #fff; border: 1px solid #e6e8ec; border-radius: 18px; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.auth .auth-title { margin: 0; font-size: 24px; font-weight: bold; color: #222; }
.auth .auth-sub { margin: 4px 0 18px; color: #6b7280; font-size: 14px; }
.auth .auth-message { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff4e0; color: #7a4a00; font-size: 13px; }
.auth .auth-label { display: block; margin: 14px 0 6px; padding: 0; font-size: 13px; font-weight: 600; color: #4a4f57; }
.auth .auth-row { display: flex; align-items: baseline; justify-content: space-between; }
.auth .auth-row .auth-label { margin-bottom: 6px; }
.auth input.auth-input, #login input.auth-input, #signup input.auth-input {
	width: 100%; height: 44px; box-sizing: border-box; padding: 0 12px; margin: 0; border: 1px solid #d3d7de; border-radius: 10px;
	background: #fff; color: #222; font: 16px Arial, Helvetica, sans-serif; outline: none;
}
.auth input.auth-input:focus { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
.auth .auth-help { margin: 6px 0 0; color: #888; font-size: 12px; line-height: 1.4; }
.auth .error { margin: 4px 0 0; font-size: 12px; color: #d93025; }
.auth .error:empty { display: none; }
.auth .auth-check { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0; font-size: 13px; color: #444; cursor: pointer; }
.auth .auth-check input { width: 16px; height: 16px; margin: 0; accent-color: #1a73e8; }
.auth input.auth-button {
	display: block; width: 100%; height: 46px; margin: 18px 0 0; border: 0; border-radius: 999px; background: #1a73e8; color: #fff;
	font: bold 16px Arial, Helvetica, sans-serif; cursor: pointer; box-shadow: 0 2px 8px rgba(26, 115, 232, .3);
}
.auth input.auth-button:hover { background: #1765cc; }
.auth input.auth-button[disabled] { background: #a8c4f0; box-shadow: none; cursor: default; }
.auth .auth-terms { margin: 16px 0 0; color: #6b7280; font-size: 12px; line-height: 1.5; }
.auth .auth-link { color: #1a73e8; font-weight: bold; text-decoration: none; }
.auth .auth-link.small { font-size: 12px; }
.auth .auth-foot { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid #f0f1f4; text-align: center; font-size: 14px; color: #555; }
#login-signup.auth-foot { float: none; width: auto; position: static; background: none; }
@media (max-width: 760px) {
	.auth { margin-top: 12px; }
	.auth .auth-card { padding: 22px 16px 18px; }
}
.auth .auth-check input { position: static; left: auto; top: auto; }
/* forgot password: result card */
.auth .auth-center { text-align: center; }
.auth .auth-msg p { margin: 0 0 8px; }
.auth .auth-msg a { color: #1a73e8; font-weight: bold; }
.auth a.auth-button-link {
	display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 26px; margin-top: 10px; border-radius: 999px;
	background: #1a73e8; color: #fff; font-weight: bold; font-size: 15px; text-decoration: none; box-shadow: 0 2px 8px rgba(26, 115, 232, .3);
}
.auth a.auth-button-link:hover { background: #1765cc; }
/* ---- 2026-09-23: email verification (auth cards) ---- */
.auth .auth-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #1a73e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M3 6h18v12H3zm2 2v.5l7 4.5 7-4.5V8l-7 4.5z'/%3E%3C/svg%3E") no-repeat center / 28px; }
.auth .auth-card:not(.auth-center) .auth-icon { margin-left: 0; }
.auth .auth-icon.ok { background: #188038 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 32px; }
.auth .auth-icon.fail { background: #d93025 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 5h2v9h-2zm0 11h2v2h-2z'/%3E%3C/svg%3E") no-repeat center / 30px; }
.auth .auth-facts { margin: 14px 0 4px; padding: 10px 14px; background: #f7f8fa; border-radius: 12px; text-align: left; }
.auth .auth-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.auth .auth-facts span { color: #6b7280; }
.auth .auth-facts b { color: #222; overflow-wrap: anywhere; text-align: right; }
.auth .auth-inline { display: flex; gap: 8px; }
.auth .auth-inline .auth-input { flex: 1; min-width: 0; }
.auth .auth-small-button {
	flex: 0 0 auto; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #1a73e8; color: #fff; margin: 0;
	font: bold 14px Arial, Helvetica, sans-serif; cursor: pointer;
}
.auth .auth-small-button:hover { background: #1765cc; }
.auth .auth-small-button.secondary { background: #fff; color: #1a73e8; border: 1.5px solid #1a73e8; }
.auth .auth-small-button.secondary:hover { background: #f1f5fd; }
.auth .auth-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: #999; font-size: 12px; font-weight: bold; }
.auth .auth-divider::before, .auth .auth-divider::after { content: ""; flex: 1; height: 1px; background: #e6e8ec; }
/* ---- 2026-09-23: About page ---- */
.about { max-width: 900px; margin: 0 auto 24px; }
.about-hero {
	margin: 0 0 18px; padding: 44px 28px; border-radius: 20px; text-align: center; color: #fff;
	background: radial-gradient(ellipse at 50% 120%, rgba(26, 115, 232, .55), transparent 60%), linear-gradient(135deg, #0f1115 0%, #1b1f2a 100%);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.about-hero h1 { margin: 0 0 12px; font-size: 34px; font-weight: bold; color: #fff; }
.about-hero p { max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 18px; }
.about-feature { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.about-feature b { font-size: 17px; color: #222; }
.about-feature span { font-size: 13px; line-height: 1.5; color: #555; }
.about-ic { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 4px; background: #1a73e8 no-repeat center / 22px; }
.about-feature.create .about-ic { background-color: #1a73e8; 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='M9 17.5a3 3 0 1 1-2-2.8V5l12-2v11.5a3 3 0 1 1-2-2.8V6.3l-8 1.3z'/%3E%3C/svg%3E"); }
.about-feature.listen .about-ic { background-color: #7c4dff; 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='M12 4a8 8 0 0 0-8 8v6a2 2 0 0 0 2 2h2v-7H6v-1a6 6 0 0 1 12 0v1h-2v7h2a2 2 0 0 0 2-2v-6a8 8 0 0 0-8-8z'/%3E%3C/svg%3E"); }
.about-feature.discover .about-ic { background-color: #188038; 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 4a6 6 0 1 1 0 12 6 6 0 0 1 0-12zm0 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm4.6 9.2 5 5-1.4 1.4-5-5z'/%3E%3C/svg%3E"); }
.about-feature.share .about-ic { background-color: #e0245e; 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='M18 16a3 3 0 0 0-2.2 1l-7-3.5a3 3 0 0 0 0-1l7-3.5A3 3 0 1 0 15 7l-7 3.5a3 3 0 1 0 0 3L15 17a3 3 0 1 0 3-1z'/%3E%3C/svg%3E"); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 18px; }
.about-facts div { padding: 16px; text-align: center; background: #f7f8fa; border-radius: 16px; }
.about-facts b { display: block; font-size: 28px; color: #111; }
.about-facts span { font-size: 13px; color: #6b7280; }
.about-text { padding: 20px 22px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; }
.about-text h2 { margin: 0 0 8px; font-size: 18px; color: #222; }
.about-text p { margin: 0; font-size: 15px; line-height: 1.6; color: #444; }
.about-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 8px; }
.about-primary, .about-secondary { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: bold; text-decoration: none; }
.about-primary { background: #1a73e8; color: #fff; box-shadow: 0 2px 8px rgba(26, 115, 232, .3); }
.about-primary:hover { background: #1765cc; color: #fff; }
.about-secondary { border: 1.5px solid #1a73e8; color: #1a73e8; background: #fff; }
.about-secondary:hover { background: #f1f5fd; }
@media (max-width: 760px) {
	.about-hero { padding: 32px 18px; }
	.about-hero h1 { font-size: 26px; }
	.about-hero p { font-size: 15px; }
	.about-features { grid-template-columns: 1fr 1fr; gap: 10px; }
	.about-feature { padding: 14px; }
	.about-facts { gap: 8px; }
	.about-facts b { font-size: 22px; }
	.about-facts span { font-size: 11px; }
	.about-primary, .about-secondary { flex: 1 1 100%; justify-content: center; }
}
/* ---- 2026-09-23: FAQ — search, jump chips, section cards, collapsible questions ---- */
.faq-page { max-width: 860px; margin: 0 auto 24px; }
.faq-page h1 { margin: 0 0 14px; }
.faq-search input {
	width: 100%; height: 46px; box-sizing: border-box; padding: 0 14px 0 42px; border: 1px solid #d3d7de; border-radius: 999px; outline: none;
	font: 16px Arial, Helvetica, sans-serif; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23888' d='M10 4a6 6 0 1 1 0 12 6 6 0 0 1 0-12zm0 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm4.6 9.2 5 5-1.4 1.4-5-5z'/%3E%3C/svg%3E") no-repeat 14px center / 20px;
}
.faq-search input:focus { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.faq-chips a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #333; font-size: 13px; font-weight: bold; text-decoration: none; }
.faq-chips a:hover { background: #f1f3f6; }
.faq-section { margin: 0 0 16px; padding: 6px 18px 10px; background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.faq-section h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 8px; font-size: 18px; color: #222; }
.faq-count { padding: 2px 8px; border-radius: 999px; background: #f1f3f6; color: #555; font-size: 12px; }
.faq-tag { padding: 2px 8px; border-radius: 999px; background: #fff4e0; color: #b06000; font-size: 11px; font-weight: bold; }
details.faq-q { border-top: 1px solid #f0f1f4; }
details.faq-q summary {
	list-style: none; cursor: pointer; padding: 13px 34px 13px 0; font-size: 15px; font-weight: bold; color: #222; line-height: 1.4;
	background: 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 4px center / 20px; transition: color .12s;
}
details.faq-q summary::-webkit-details-marker { display: none; }
details.faq-q summary:hover { color: #1a73e8; }
details.faq-q[open] summary { color: #1a73e8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a73e8' d='M7 14l5-5 5 5z'/%3E%3C/svg%3E"); }
.faq-a { padding: 0 0 14px; font-size: 14px; line-height: 1.6; color: #444; }
.faq-a p { margin: 0 0 10px; }
.faq-a ul, .faq-a ol { margin: 0 0 10px 20px; }
.faq-a table { width: auto; max-width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 13px; }
.faq-a td, .faq-a th { padding: 6px 10px; border: 1px solid #e6e8ec; }
.faq-a img { max-width: 100%; height: auto; }
.faq-lead { padding-top: 4px; }
.faq-more { text-align: center; color: #555; font-size: 14px; }
.faq-more a { color: #1a73e8; font-weight: bold; }
@media (max-width: 760px) {
	.faq-section { padding: 4px 14px 8px; }
	.faq-a { overflow-x: auto; }
}
/* ---- 2026-09-23: legal pages (Privacy; reusable for Terms) — readable card, clickable contents ---- */
.legal { max-width: 820px; margin: 0 auto 24px; }
.legal h1 { margin: 0 0 14px; }
.legal-card { padding: 26px 30px 24px; background: #fff; border: 1px solid #e6e8ec; border-radius: 18px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.legal-card p, .legal-card li { font-size: 15px; line-height: 1.7; color: #333; }
.legal-card p { margin: 0 0 14px; }
.legal-card h3 { margin: 28px 0 10px; padding-top: 20px; border-top: 1px solid #f0f1f4; font-size: 18px; line-height: 1.4; color: #222; white-space: normal; scroll-margin-top: 60px; }
.legal-card ul, .legal-card ol { margin: 0 0 14px 20px; }
.legal-card ul.legal-toc { list-style: none; margin: 0 0 18px; padding: 12px 16px; background: #f7f8fa; border-radius: 12px; }
.legal-card .legal-toc li { margin: 0; padding: 3px 0; font-size: 14px; }
.legal-card .legal-toc a { color: #1a73e8; text-decoration: none; font-weight: bold; }
.legal-card .legal-toc a:hover { text-decoration: underline; }
.legal-card address { margin: 10px 0 0; padding: 12px 16px; background: #f7f8fa; border-radius: 12px; font-style: normal; font-size: 14px; line-height: 1.6; color: #444; }
.legal-card a { color: #1a73e8; }
@media (max-width: 760px) {
	.legal-card { padding: 18px 16px; }
	.legal-card p, .legal-card li { font-size: 15px; }
	.legal-card h3 { font-size: 17px; }
}
.legal-card .legal-toc li { list-style: none; }
.legal-card .legal-toc-wrap { margin: 18px 0 8px; }
.legal-card .legal-toc-title { margin: 0 0 6px; font-size: 13px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; color: #888; }
