/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			bluerose (The Lodge)
	Based on style:		prosilver
	Original author:	Blue Rose Archive
    --------------------------------------------------------------
*/

@import url("../../prosilver/theme/stylesheet.css");
@import url("lodge.css");

/* ==================================================================
   Row polish (loads last — wins over prosilver + lodge)
   One full-row hover. No column stains. No fade lag.
   ================================================================== */

ul.forums,
ul.topics,
ul.topiclist.forums,
ul.topiclist.topics {
	background: transparent !important;
	background-image: none !important;
	filter: none !important;
}

.forabg,
.forumbg {
	background: #0c1814 !important;
	background-image: none !important;
}

/* Cells never paint their own hover — only the <li> does */
ul.topiclist li.row,
li.row {
	background: transparent !important;
	background-image: none !important;
	border-top: 1px solid rgba(245, 240, 227, 0.1) !important;
	border-bottom: 0 !important;
	transition: none !important;
	-webkit-transition: none !important;
}

ul.topiclist li.row dl,
ul.topiclist li.row dt,
ul.topiclist li.row dd,
li.row dl,
li.row dt,
li.row dd,
ul.topiclist li.row:hover dl,
ul.topiclist li.row:hover dt,
ul.topiclist li.row:hover dd,
ul.topiclist li.row.hover dl,
ul.topiclist li.row.hover dt,
ul.topiclist li.row.hover dd,
li.row:hover dl,
li.row:hover dt,
li.row:hover dd,
li.row.hover dl,
li.row.hover dt,
li.row.hover dd {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border-left-color: transparent !important;
	border-right-color: transparent !important;
	box-shadow: none !important;
	transition: none !important;
}

/* Single clean hover surface (also covers phpBB’s .hover JS class) */
ul.topiclist li.row:hover,
ul.topiclist li.row.hover,
li.row:hover,
li.row.hover {
	background: rgba(245, 240, 227, 0.045) !important;
	background-color: rgba(245, 240, 227, 0.045) !important;
	background-image: none !important;
	box-shadow: inset 3px 0 0 #e63946 !important;
	transition: none !important;
}

ul.topiclist li.row:hover a.forumtitle,
ul.topiclist li.row.hover a.forumtitle,
ul.topiclist li.row:hover a.topictitle,
ul.topiclist li.row.hover a.topictitle,
li.row:hover a.forumtitle,
li.row.hover a.forumtitle {
	color: #e63946 !important;
}

li.row strong {
	color: #e2d9c5 !important;
}

/* Forum icons: no frame, larger mark */
.forum-image,
img.forum-img,
.list-inner > img:first-child,
dt img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px !important;
	object-fit: contain !important;
	margin: 0 16px 0 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* Quiet Red Room header wash (if lodge.css cache is stale) */
.headerbar {
	position: relative !important;
	overflow: hidden !important;
	isolation: isolate;
	min-height: 148px !important;
}

.headerbar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: url("./images/lodge-header.png") center center / 100% 100% no-repeat;
	opacity: 0.22;
	filter: saturate(0.75) contrast(0.9) brightness(0.7);
	pointer-events: none;
}

.headerbar::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(90deg, rgba(6, 10, 8, 0.82) 0%, rgba(6, 10, 8, 0.45) 42%, rgba(6, 10, 8, 0.62) 100%),
		linear-gradient(180deg, rgba(6, 10, 8, 0.35) 0%, transparent 40%, rgba(6, 10, 8, 0.25) 100%);
	pointer-events: none;
}

.headerbar .inner {
	position: relative !important;
	z-index: 1 !important;
	padding: 22px 22px 16px !important;
}