/* -------------------------------------------------------
   Listings module styles
   ------------------------------------------------------- */

/* Browse page */
.lst-browse-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.lst-browse-header h2 { margin: 0; flex: 1; }

.lst-filter-form { margin-bottom: 1.5rem; }
.lst-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1rem;
	padding: .75rem;
	background: rgba(0,0,0,.00);
	align-items: flex-end;
}
.lst-filter-row .form-group { flex: 1 1 10rem; min-width: 8rem; margin-bottom: 0; }
.lst-filter-submit {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-shrink: 0;
}

.lst-list { display: flex; flex-direction: column; gap: 1rem; }
.lst-empty { color: var(--text-muted); font-style: italic; margin-top: 2rem; }

/* Listing card */
.lst-card {
	position: relative;
	background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 50%, var(--surface-light) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .3s ease, border-color .15s;
	box-shadow: 0 2px 8px rgba(44,24,16,.12), 0 8px 24px rgba(44,24,16,.08), inset 0 1px 0 rgba(255,255,255,.3);
	opacity: 0;
	transform: translateY(10px);
	animation: lstCardReveal .45s ease forwards;
}
@keyframes lstCardReveal { to { opacity: 1; transform: translateY(0); } }
.lst-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(44,24,16,.18), 0 16px 40px rgba(44,24,16,.2), inset 0 1px 0 rgba(255,255,255,.3);
	border-color: var(--gold);
}

.lst-card .corner {
	position: absolute;
	width: 20px;
	height: 20px;
	z-index: 2;
	opacity: .4;
	pointer-events: none;
}
.lst-card .corner svg { width: 100%; height: 100%; }
.lst-card .corner.tl { top: 4px; left: 4px; }
.lst-card .corner.tr { top: 4px; right: 4px; transform: scaleX(-1); }
.lst-card .corner.bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.lst-card .corner.br { bottom: 4px; right: 4px; transform: scale(-1); }

.lst-card-accent-bar {
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--gold), var(--gold-dark), var(--gold), transparent);
}

.lst-card-body {
	position: relative;
	z-index: 1;
	padding: 18px 20px 16px;
}

.lst-card-top-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: .75rem;
	margin-bottom: .65rem;
}
.lst-card-top-row h3 {
	margin: 0;
	font-size: 1.15rem;
	font-family: var(--font-heading);
	color: var(--text-heading);
	line-height: 1.2;
}
.lst-card-top-row h3 a { color: inherit; text-decoration: none; }
.lst-card-top-row h3 a:hover { text-decoration: underline; }

.lst-excerpt {
	font-size: .875rem;
	margin: 0 0 .8rem;
	color: var(--text-muted);
	font-style: italic;
	line-height: 1.5;
}

.lst-card-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
	margin-bottom: .75rem;
	opacity: .6;
}

.lst-card-details {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .9rem;
	margin-bottom: .75rem;
}
.lst-detail-item {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-size: .8rem;
	color: var(--text-faint);
}
.lst-detail-item svg { width: 14px; height: 14px; opacity: .65; flex-shrink: 0; }
.lst-detail-item strong { font-weight: 500; color: var(--text-muted); }

.lst-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: .6rem;
	border-top: 1px solid rgba(160,128,80,.2);
}

/* Stretched link — title ::after covers the whole card; host links sit above it */
.lst-card-top-row h3 a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
}
.lst-host-avatar-link,
.lst-author { position: relative; z-index: 1; }
.lst-host-avatar-link { display: inline-flex; flex-shrink: 0; border-radius: 50%; }
.lst-host-avatar-link:link, .lst-host-avatar-link:visited { text-decoration: none; }

.lst-host-info { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.lst-host-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--gold-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-caps);
	font-size: .75rem;
	font-weight: 700;
	color: var(--surface-light);
	border: 1px solid var(--gold-dark);
	flex-shrink: 0;
}
.lst-host-avatar-img { object-fit: cover; background: none; }
.lst-host-text {
	font-size: .72rem;
	color: var(--text-faint);
	line-height: 1.35;
	font-family: var(--font-ui);
	min-width: 0;
}
.lst-author { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.lst-author:hover { text-decoration: underline; }

.lst-seats-badge {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-family: var(--font-caps);
	font-size: .7rem;
	font-weight: 600;
	color: #8b2020;
	letter-spacing: .03em;
	background: rgba(139,32,32,.06);
	border: 1px solid rgba(139,32,32,.15);
	padding: .3rem .55rem;
	border-radius: var(--radius);
	flex-shrink: 0;
	white-space: nowrap;
}
.lst-seats-badge svg { width: 13px; height: 13px; }

@media (max-width: 480px) {
	.lst-card-body { padding: 14px 14px 12px; }
	.lst-card-top-row h3 { font-size: 1rem; }
	.lst-card-details { gap: .3rem .65rem; }
	.lst-format, .lst-payment { font-size: .62rem; padding: .15rem .35rem; }
}

/* Format + payment badges */
.lst-card-badges { display: flex; gap: .3rem; flex-wrap: wrap; flex-shrink: 0; }
.lst-format,
.lst-payment {
	font-family: var(--font-caps);
	font-size: .7rem;
	letter-spacing: .06em;
	padding: .2rem .5rem;
	border-radius: var(--radius);
	border: 1px solid;
	line-height: 1;
	white-space: nowrap;
}
.lst-format-online    { color: var(--tag-online); border-color: var(--tag-online-border); background: var(--tag-online-bg); }
.lst-format-in-person { color: var(--tag-inperson); border-color: var(--tag-inperson-border); background: var(--tag-inperson-bg); }
.lst-format-hybrid    { color: #6a1a6e; border-color: #8a3a8e; background: rgba(106,26,110,.06); }
.lst-payment-free { color: var(--tag-free); border-color: var(--tag-free-border); background: var(--tag-free-bg); }
.lst-payment-paid { color: var(--tag-paid); border-color: var(--tag-paid-border); background: var(--tag-paid-bg); }

/* Status badges */
.lst-status {
	font-family: var(--font-caps);
	font-size: .7rem;
	letter-spacing: .06em;
	padding: .2rem .5rem;
	border-radius: var(--radius);
	border: 1px solid;
	line-height: 1;
	white-space: nowrap;
}
.lst-status-active { color: var(--tag-inperson); border-color: var(--tag-inperson-border); background: var(--tag-inperson-bg); }
.lst-status-closed { color: var(--text-muted); border-color: var(--border); background: transparent; }

/* Single listing view */
.lst-view {
	position: relative;
	background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 50%, var(--surface-light) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow:
		inset 0 0 0 3px var(--surface-light),
		inset 0 0 0 4px var(--border-light),
		var(--shadow-sm);
	overflow: hidden;
	padding: 0;
}
.lst-view-bar {
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--gold), var(--gold-dark), var(--gold), transparent);
}
.lst-view-corner {
	position: absolute;
	width: 22px;
	height: 22px;
	opacity: 0.3;
	z-index: 2;
	pointer-events: none;
}
.lst-view-corner::before, .lst-view-corner::after {
	content: '';
	position: absolute;
	background: var(--gold);
}
.lst-view-corner::before { width: 100%; height: 2px; top: 0; left: 0; }
.lst-view-corner::after  { width: 2px; height: 100%; top: 0; left: 0; }
.lst-view-corner--tl { top: 10px; left: 10px; }
.lst-view-corner--tr { top: 10px; right: 10px; transform: scaleX(-1); }
.lst-view-corner--bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.lst-view-corner--br { bottom: 10px; right: 10px; transform: scale(-1); }
.lst-view-inner { padding: 28px 32px 24px; }
.lst-view-header {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin-bottom: 1.25rem;
}
.lst-view-header h2 { margin: 0; flex: 1 1 auto; font-size: 1.6rem; line-height: 1.2; }
.lst-view-badges { display: flex; gap: .35rem; flex-wrap: wrap; flex-shrink: 0; margin-top: 4px; }
.lst-view-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-ornate), transparent);
	opacity: 0.5;
	margin: 0 0 1.25rem;
}
.lst-view-meta {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: .45rem 1rem;
	margin-bottom: 1.5rem;
	font-size: .9rem;
}
.lst-view-meta dt {
	color: var(--text-faint);
	font-family: var(--font-caps);
	font-size: .78rem;
	letter-spacing: .04em;
	display: flex;
	align-items: center;
	gap: .4rem;
}
.lst-view-meta dt svg { width: 15px; height: 15px; opacity: 0.55; flex-shrink: 0; }
.lst-view-meta dd { margin: 0; color: var(--text); display: flex; align-items: center; gap: .4rem; }
.lst-view-meta dd a { color: var(--text-heading); text-decoration: none; font-weight: 500; }
.lst-view-meta dd a:hover { text-decoration: underline; }
.lst-view-description {
	margin-bottom: 1.5rem;
	line-height: 1.75;
	font-size: 1rem;
	color: var(--text);
	padding: 1rem 1.25rem;
	background: var(--bg-warm);
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--radius) var(--radius) 0;
	position: relative;
}
.lst-view-description::before, .lst-view-description::after {
	content: '';
	position: absolute;
	width: 6px;
	height: 6px;
	background: var(--gold);
	border-radius: 50%;
	left: -4.5px;
}
.lst-view-description::before { top: -2px; }
.lst-view-description::after  { bottom: -2px; }
.lst-view-description p { margin: 0 0 .5rem; }
.lst-view-description p:last-child { margin-bottom: 0; }

/* Map */
.lst-map-wrap {
	margin-bottom: 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	isolation: isolate;
}
.lst-map { height: 320px; border: none; }
.lst-map-picker { height: 380px; }

/* Actions */
.lst-view-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin-bottom: 1.25rem;
	align-items: center;
}
.lst-back { margin-top: .75rem; font-size: .88rem; font-family: var(--font-ui); }
.lst-back a { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.lst-back a:hover { color: var(--text-heading); }
@media (max-width: 700px) {
	.lst-view-inner { padding: 20px 18px 18px; }
	.lst-view-header h2 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
	.lst-view-inner { padding: 16px 14px 14px; }
	.lst-view-header { gap: .35rem .6rem; }
	.lst-view-meta { gap: .3rem .6rem; font-size: .85rem; }
	.lst-view-description { padding: .75rem 1rem; }
}

/* Add form */
.lst-add h2 { margin-bottom: 1.25rem; }

.lst-form-errors {
	background: #fff0f0;
	border: 1px solid #e57373;
	padding: .75rem 1rem;
	margin-bottom: 1rem;
}
.lst-errors { margin: 0; padding-left: 1.25rem; }
.lst-errors li { color: #c62828; font-size: .9rem; }

.lst-form-group {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	margin-bottom: 1rem;
}
.lst-form-group label { font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.lst-form-hint { font-size: .8rem; color: var(--text-muted); margin: .15rem 0 0; }

.lst-location-wrap { margin-bottom: 1rem; }

.lst-form-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
}
.lst-form-actions a { color: var(--text-muted); font-size: .9rem; text-decoration: none; }
.lst-form-actions a:hover { text-decoration: underline; }


/* Admin quick-links on browse page */
.lst-admin-bar {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: .75rem;
	border-top: 1px solid var(--border);
	font-size: .8rem;
	overflow-x: auto;
	scrollbar-width: none;
}
.lst-admin-bar::-webkit-scrollbar { display: none; }
.lst-admin-bar a { color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.lst-admin-bar a:hover { color: var(--heading); text-decoration: underline; }
.lst-admin-bar a::before { content: "⚙ "; }

/* Tag admin form — align top so multi-line lang-inputs don't misalign neighbours */
.lst-admin-tag-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; margin-bottom: 0; }

/* Admin sys-row input sizing */
.lst-admin-input-order { width: 3.5rem; }
.lst-admin-input-key   { width: 8rem; }
.lst-admin-input-label { width: 14rem; }
.lst-admin-status { font-size: .75rem; color: var(--text-muted); }

/* Admin tools */
.lst-admin-nav { display: flex; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.lst-admin-nav::-webkit-scrollbar { display: none; }
.lst-admin-nav a { font-size: .9rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.lst-admin-nav a:hover { text-decoration: underline; }

.lst-admin-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .875rem; }
.lst-admin-table th { text-align: left; padding: .4rem .6rem; border-bottom: 2px solid var(--border); color: var(--text-muted); font-weight: 600; }
.lst-admin-table td { padding: .4rem .6rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.lst-admin-table tr.lst-inactive td { opacity: .5; }

.lst-admin-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
.lst-admin-form input[type="text"],
.lst-admin-form input[type="number"],
.lst-admin-form select { font-size: .875rem; }

.btn-xs { font-size: .75rem; padding: .15rem .5rem; }
.lst-btn-danger { background: var(--tag-paid); color: var(--tag-paid-text); border-color: var(--gold-glow); }
.lst-btn-danger:link, .lst-btn-danger:visited { color: var(--tag-paid-text); text-decoration: none; }
.lst-btn-danger:hover { background: var(--tag-paid-border); color: var(--tag-paid-text); }

/* My Games browse-header with both buttons */
.lst-browse-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }

/* Normalize <button class="btn"> height/centering to match <a class="btn"> */
button.btn, button.btn-accent, button.btn-danger {
	font-family: var(--font-caps);
	font-size: .78rem;
	line-height: inherit;
	box-sizing: border-box;
	vertical-align: middle;
}
button.btn-join {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	margin: 0;
	font-family: var(--font-caps);
	font-size: .82rem;
	line-height: 1;
	padding: .48rem 1.1rem;
	justify-content: center;
}

/* btn-danger variant */
.btn-danger {
	font-family: var(--font-caps);
	font-size: .78rem;
	padding: .3rem .85rem;
        border: 1px solid var(--gold-glow);
        border-radius: var(--radius);
	background: var(--tag-paid);
	color: var(--tag-paid-text);
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
        box-shadow: var(--shadow-sm);
        transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-danger:link, .btn-danger:visited { color: var(--tag-paid-text); text-decoration: none; }
.btn-danger:hover { 
       background: var(--tag-paid-border);
       box-shadow: 1px 4px 14px rgba(0,0,0,.30);
       color: var(--tag-paid-text);
       text-decoration: none;
}

/* Listing view action buttons */
.btn-join, .btn-host-action, .btn-secondary {
	font-family: var(--font-caps);
	font-size: .82rem;
	letter-spacing: .04em;
	padding: .48rem 1.1rem;
	border-radius: var(--radius);
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	transition: background .15s, transform .15s, box-shadow .15s;
	line-height: 1;
	white-space: nowrap;
}
.btn-join {
	background: var(--btn-play);
	color: var(--btn-play-text);
	border: 1px solid var(--btn-play);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.btn-join:link, .btn-join:visited { color: var(--btn-play-text); text-decoration: none; }
.btn-join:hover {
	background: var(--btn-play-hover);
	border-color: var(--btn-play-hover);
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,.15);
	color: var(--surface-light);
}
.btn-join svg { width: 1em; height: 1em; flex-shrink: 0; }

.btn-host-action {
	background: var(--btn-host);
	color: var(--btn-host-text);
	border: 1px solid var(--btn-host);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.btn-host-action:link, .btn-host-action:visited { color: var(--btn-host-text); text-decoration: none; }
.btn-host-action:hover {
	background: var(--btn-host-hover);
	border-color: var(--btn-host-hover);
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,.15);
	color: var(--surface-light);
}

.btn-secondary { /* ── button for rejection and cancel, red theme ── */
	background: var(--tag-paid);
	color: var(--tag-paid-text);
	border: 1px solid var(--gold-glow);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.btn-secondary:link, .btn-secondary :visited { color: var(--tag-paid-text); text-decoration: none; }
.btn-secondary:hover {
        background: var(--tag-paid-border);
        box-shadow: var(--shadow);
        transform: translateY(-1px);
        color: var(--tag-paid-text);
        text-decoration: none;
}


/* Guest notice */
.lst-guest-notice { font-size: .9rem; color: var(--text-muted); margin: 0 0 1rem; }
.lst-guest-notice a { color: var(--accent); }

/* Join / leave / status */
.lst-join-form { display: contents; }
.lst-my-status {
	font-size: .875rem;
	color: var(--text-muted);
	margin: 0 0 1rem;
	padding: .5rem .75rem;
	border-left: 3px solid var(--border);
}

/* Join suggestion modal */
.lst-join-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.lst-join-modal-inner {
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 1.5rem;
	max-width: 400px;
	width: 90%;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.lst-join-modal-inner p { margin: 0; }
.lst-join-modal-inner .btn { width: 100%; text-align: center; box-sizing: border-box; }

/* Member lists */
.lst-members { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-light); }
.lst-member-section { margin-bottom: 1.25rem; }
.lst-member-section h4 {
	font-family: var(--font-caps);
	font-size: .82rem;
	color: var(--text-faint);
	letter-spacing: .04em;
	margin: 0 0 .6rem;
	padding-bottom: .3rem;
	border-bottom: 1px solid var(--border-light);
	font-weight: normal;
}
.lst-member-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.lst-member-row {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .4rem .6rem;
	border-radius: var(--radius);
	transition: background .15s;
}
.lst-member-row:hover { background: rgba(0,0,0,.03); }
.lst-member-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--gold-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-caps);
	font-size: .7rem;
	font-weight: 700;
	color: var(--surface-light);
	border: 1px solid var(--gold-dark);
	flex-shrink: 0;
}
.lst-member-avatar-img { object-fit: cover; background: none; }
.lst-member-name { flex: 1; font-size: .9rem; color: var(--text); }
.lst-member-name a { color: var(--text-heading); text-decoration: none; }
.lst-member-name a:hover { text-decoration: underline; }

/* My Games page */
.lst-mine-section { margin-bottom: 2rem; }
.lst-mine-section h3 { font-size: 1rem; color: var(--text-muted); font-weight: 600; margin: 0 0 .75rem; padding-bottom: .3rem; border-bottom: 1px solid var(--border); }
.lst-mine-list { display: flex; flex-direction: column; gap: .6rem; }
.lst-mine-item {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: .6rem .9rem;
	border: 1px solid var(--border);
	background: var(--bg);
}
.lst-mine-item:hover { border-color: var(--accent); } /* ??? */
.lst-mine-item-header {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	flex-wrap: wrap;
}
.lst-mine-item-header h3 { margin: 0; font-size: 1rem; flex: 1; }
.lst-mine-item-header h3 a { color: var(--heading); text-decoration: none; }
.lst-mine-item-header h3 a:hover { text-decoration: underline; }
.lst-mine-item-meta { font-size: .8rem; color: var(--text-muted); }
.lst-mine-role {
	font-family: var(--font-caps);
	font-size: .7rem;
	letter-spacing: .06em;
	padding: .2rem .5rem;
	border-radius: var(--radius);
	border: 1px solid;
	line-height: 1;
	white-space: nowrap;
}
.lst-mine-gm           { color: #1a4a7a; border-color: #3a6a9a; background: rgba(26,74,122,.08); } /* ??? */
.lst-mine-mem-pending  { color: var(--text-muted); border-color: var(--border); background: transparent; }
.lst-mine-mem-approved { color: var(--accent); border-color: var(--accent); background: rgba(84,125,106,.08); }
.lst-mine-mem-rejected { color: #8b2020; border-color: #a83232; background: rgba(139,32,32,.06); }

/* Item-level color strip to distinguish GM-owned vs player-joined */
.lst-mine-item-gm     { border-left: 4px solid var(--btn-host); }
.lst-mine-item-player { border-left: 4px solid var(--btn-play); }

/* Rate button */
.lst-btn-rate { background: var(--btn-play); color: var(--gold-bright); border-color: var(--gold);}
.lst-btn-rate:link, .lst-btn-rate:visited { color: var(--gold-bright); text-decoration: none; }
.lst-btn-rate:hover { background: var(--btn-play-hover); color: var(--gold-bright); }





.lst-btn-danger { background: var(--tag-paid); color: var(--tag-paid-text); border-color: var(--gold-glow); }
.lst-btn-danger:link, .lst-btn-danger:visited { color: var(--tag-paid-text); text-decoration: none; }
.lst-btn-danger:hover { background: var(--tag-paid-border); color: var(--tag-paid-text); }





/* Rating form */
.lst-rate h2 { margin-bottom: 1.25rem; }
.lst-rate-form { margin-bottom: 1.5rem; }
.lst-rate-group { margin-bottom: 1.25rem; }
.lst-rate-group h4 { font-size: .85rem; color: var(--text-muted); margin: 0 0 .5rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lst-rate-tags { display: flex; flex-wrap: wrap; gap: .4rem .75rem; }
.lst-rate-tag-label { display: flex; align-items: center; gap: .35rem; font-size: .9rem; cursor: pointer; }
.lst-rate-tag-label input[type="checkbox"] { accent-color: var(--accent); width: 1em; height: 1em; }
.lst-rate-tag-label:has(input:disabled) { opacity: .45; cursor: default; }
.lst-rate-positive h4 { color: #2e7d32; }
.lst-rate-negative h4 { color: #c62828; }
.lst-rate-neutral  h4 { color: var(--text-muted); }
.lst-rate-hint { font-size: .8rem; color: var(--text-muted); margin: .75rem 0; }
.lst-rate-done { color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }
.lst-rate-readonly { margin-bottom: 1rem; }

/* Profile reputation tags */
.lst-profile-ratings { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.lst-profile-ratings h3 { font-size: 1rem; margin: 0 0 .75rem; }
.lst-profile-rating-group { margin-bottom: 1rem; }
.lst-profile-rating-group h4 { font-size: .78rem; color: var(--text-muted); margin: 0 0 .4rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lst-profile-rating-positive h4 { color: #2e7d32; }
.lst-profile-rating-negative h4 { color: #c62828; }
.lst-profile-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.lst-profile-tag {
	font-size: .8rem;
	padding: .15rem .5rem;
	border: 1px solid currentColor;
	border-radius: 2px;
	white-space: nowrap;
}
.lst-profile-tag-positive { color: #2e7d32; }
.lst-profile-tag-negative { color: #c62828; }
.lst-profile-tag-neutral  { color: var(--text-muted); border-color: var(--border); }
.lst-profile-tag-count { font-size: .72em; opacity: .75; }
