@font-face{
	font-family: "changeling neo";
	src: url("font/CHANGELING NEO REGULAR.OTF") format("opentype");
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family: "changeling neo";
	src: url("font/CHANGELING NEO BOLD.OTF") format("opentype");
	font-weight: bold;
	font-style: normal;
}
@font-face{
	font-family: "changeling neo";
	src: url("font/CHANGELING NEO LIGHT.OTF") format("opentype");
	font-weight: light;
	font-style: normal;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-REGULAR.TTF") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-BOLD.TTF") format("truetype");
	font-weight: bold;
	font-style: normal;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-BOLDITALIC.TTF") format("truetype");
	font-weight: bold;
	font-style: italic;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-EXTRABOLD.TTF") format("truetype");
	font-weight: bolder;
	font-style: normal;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-EXTRABOLDITALIC.TTF") format("truetype");
	font-weight: bolder;
	font-style: italic;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-LIGHT.TTF") format("truetype");
	font-weight: light;
	font-style: normal;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-LIGHTITALIC.TTF") format("truetype");
	font-weight: light;
	font-style: italic;
}
@font-face{
	font-family: "opensans";
	src: url("font/OPENSANS-ITALIC.TTF") format("truetype");
	font-weight: normal;
	font-style: italic;
}
body{
	font-family: "opensans";
	font-weight: normal;
	font-size: 1rem;
}
.anniverseryBox{
	background-color: #d5171b;
	width: 100%;
	height: 32px;
	color: #ffffff;
	text-align: center;
	font-weight: bold;
	font-size: 1rem;
	line-height: 32px;
	font-family: 'changeling neo', sans-serif;
	letter-spacing: 0.05em;
}
.site-free{
	padding: 8px;
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-family: 'changeling neo';
	font-size: 2rem;
	text-transform: uppercase;
	line-height: 1;
	color: #ffffff;
	background: #1a1a1a;
	letter-spacing: 0.08em;
}
.site-free span{
	font-size: 2rem;
	font-weight: bold;
	color: #d5171b;
}
.joinus,.register-request{
	padding: 5px;
	width: 100%;
	text-align: center;
	font-family: 'changeling neo';
	font-size: 1.5rem;
	text-transform: uppercase;
	line-height: 1;
}
.register-request a{
	text-decoration: underline;
	transition: all .2s;
	color: white;
	background: #d5171b;
	padding: 4px 14px;
	border-radius: 4px;
	font-weight: bold;
	text-decoration: none;
}
.register-request a:hover{
	color: white;
	background: #a32020;
}
.container-fluid{
	padding: 0;
}

/* Main content wrapper — constrains everything to a sensible max width */
section > .container-fluid {
	max-width: 1600px;
	margin: 0 auto;
}

.center{
	display: flex;
	margin: 0;
	width: 100%;
	max-width: unset;
	justify-content: center;
	align-items: center;
	margin-top: 1rem;
}
.index-artists-posts{
	margin: 2rem 0;
	align-items: flex-start;
	justify-content: center;
}
.square-main-buttons{
	width: 20%;
	height: 150px;
	border: 1px solid #d4252c;
	display: flex;
	flex-direction: column;
	margin-right: 10px;
	position: relative;
}
.square-name{
	height: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d5171b;
	font-family: "changeling neo";
	font-weight: bold;
	font-size: 1.1rem;
}
.square-desc{
	opacity: 0;
	visibility: hidden;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	background: #4f0b0cb8;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	transition: all .2s;
}
.square-main-buttons:hover .square-desc{
	opacity: 1;
	visibility: visible;
}
.square-image{
	width: 100%;
	height: 100%;
	position: relative;
}
.square-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Artists & recent posts */
.index-artists-posts{
	margin: 2rem 0;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	width: 100%;
}
.random-index, .recent-index{
	display: flex;
	flex-direction: column;
	width: 50%;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 0 0.5rem;
	box-sizing: border-box;
}
.title-random, .title-recent{
	width: 100%;
	font-weight: bold;
	background-color: #d5171b;
	color: white;
	font-family: 'changeling neo', sans-serif;
	font-size: 1.1rem;
	padding: 8px 12px;
	margin-bottom: 0.75rem;
	box-sizing: border-box;
	text-decoration: none;
	display: block;
}
.title-random a, .title-recent a{
	color: white;
	text-decoration: none;
}
.title-random:hover, .title-recent:hover{
	background-color: #b01015;
}
.artists-random, .posts-recent{
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 3px;
	width: 100%;
}
.artist-cont, .post-cont{
	display: flex;
	background-color: transparent;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 110px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.artist-cont a, .post-cont a{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}
.artist-cont a img, .post-cont a img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}
.artist-cont:hover a img, .post-cont:hover a img{
	transform: scale(1.05);
}
.artists-random .artist-name{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: auto;
	font-size: 0.7rem;
	color: white;
	background-color: rgba(213, 23, 27, 0.9);
	text-align: center;
	font-weight: bold;
	padding: 2px 4px;
	box-sizing: border-box;
	transition: background-color 0.2s;
}
.artists-random .artist-cont:hover .artist-name{
	background-color: rgba(176, 16, 21, 0.95);
}
.post-cont .post-overlay{
	position: absolute;
	bottom: 0;
	width: 100%;
	background: rgba(0,0,0,0.6);
	color: #fff;
	font-size: 0.65rem;
	padding: 3px 5px;
	opacity: 0;
	transition: opacity 0.2s;
	text-align: center;
	box-sizing: border-box;
}
.post-cont:hover .post-overlay{
	opacity: 1;
}

.subscribestar-index{
	display: flex;
	justify-content: center;
	align-items: center;
	height: auto;
	width: 100%;
	padding: 0.75rem 2rem;
	margin: 0;
	background-color: #2a2a2a;
}
.subscribestar-text{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: white;
	width: 50%;
}
.subscribestar-logo{
	width: 40%;
	display: flex;
}
.subscribestar-logo img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.free-color{
	color: #d5171b;
	font-size: 1.5rem;
}
.sitenews{
	width: 100%;
	margin: 0;
	max-width: unset;
}
.index-bottom{
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 100%;
}
.news-container{
	display: flex;
	flex-direction: column;
	width: 50%;
}
.newsposts{
	width: 100%;
	display: inline-block;
	padding: 10px;
	background-color: #4d494a;
	text-align: left;
	color: white;
	height: calc(350px - 1rem);
	overflow: auto;
}
.partners-container, .twitter-container{
	width: 20%;
}
.title{
	width: 100%;
	height: 50px;
	background-color: #d5171b;
	color: white;
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	font-family: 'changeling neo';
	font-size: 1.3rem;
	padding: 5px;
}
.site-news-title, .partners-title{
	width: 100%;
	height: 50px;
	background-color: #d5171b;
	color: white;
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	font-family: 'changeling neo';
	font-size: 1.3rem;
	padding: 5px;
}
.partners-title{
	width: 100%;
	justify-content: center;
	text-align: center;
}
.partners-container{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.partners-sites{
	display: flex;
	flex-direction: column;
	height: calc(350px - 1rem);
	background-color: #4d494a;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}
.twitter-container{
	max-height: calc(400px + 1rem);
}
.footer{
	width: 100%;
	background: black;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	font-size: 0.8rem;
	padding: 0;
	margin: 0;
	margin-top: 2rem;
}
.show{
	opacity: 1;
	visibility: visible;
}
.admin-container, .manage-gallery-container{
	flex-direction: column;
}
.admin-container .center, .manage-gallery-container .center{
	margin-bottom: 1rem;
}
.modal-content{
	background-color: #2e0909;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle{
	color: #fff;
	background-color: #db0000;
	border-color: #db0000;
}
.btn-primary, .page-item.active .page-link{
	background-color: #8b0000;
	border-color: #8b0000;
}
.page-link{
	color: #8b0000;
}
.page-link:hover{
	color: #8b0000;
}
.btn-primary:hover{
	background-color: #950000;
	border-color: #950000;
}
input,textarea, .form-control, .note-editor.note-frame .note-editing-area .note-editable{
	background-color: #c8c7c7;
}
.bg-light{
	background-color: #c8c7c7!important;
}
input[type=checkbox], input[type=radio]{
	width: unset;
}
.admin-container .table{
	color: white;
}
.admin-container .table-hover tbody tr:hover{
	color: #ff9396;
	cursor: pointer;
}
.slim .slim-area p{
	color: black;
}
.manage-center{
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.manage-center .row{
	width: 80vw;
}
.manage-center .textleft{
	justify-content: center;
}
.manage-center .list-group-item, .manage-center .card{
	background-color: #660b0e;
	border: 1px solid #660b0e;
}
.sortable-chosen.active{
	background-color: #d3171b;
	border: 1px solid #d3171b;
}
.manage-center #categorylist .mainlist .folderbadge{
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.badge-primary {
	background-color: #d3171b;
}
.like-button{
	border-radius: 15px;
	border: 1px solid #ff0101;
	padding: 15px;
	font-size: 2rem;
	background-color: unset;
	transition: all .5s;
	cursor: pointer;
	width: 80px;
	margin: auto;
}
.like-button:hover{
	background-color: #ff0101;
}
.slideshowbody{
	overflow: hidden !important;
}
.liked{
	background-color: #ff0101;
}
.liked:hover{
	background-color: unset;
}
.managegallery-right, .managegallery-left{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.managegallery-left{
	width: 30%;
}
.managegallery-right{
	width: 60%;
}
.editcategory, .deletecategory{
	cursor: pointer;
	transition: all .2s;
	color:white;
}
.editcategory:hover, .deletecategory:hover{
	color:#d3171b !important;
}
@media only screen and (max-width: 1150px) {
	.upper-text-sub h4{
		font-size: 1.2rem;
	}
}
@media only screen and (max-width: 1080px) {
	.like-button{
		top: 40%;
		font-size: 1.5rem;
	}
	.center{
		flex-wrap: wrap;
	}
	.square-main-buttons{
		width: 40%;
		margin-bottom: 2rem;
	}
	.index-artists-posts{
		flex-direction: column;
		align-items: center;
	}
	.random-index, .recent-index{
		width: 100%;
		align-items: center;
	}
	.artists-random, .posts-recent{
		grid-template-columns: repeat(auto-fill, 110px);
		width: 100%;
	}
	.recent-index{
		margin-top: 2rem;
	}
	.subscribestar-index{
		flex-direction: column;
		margin-top: 2rem;
		height: auto;
	}
	.index-bottom{
		flex-wrap: wrap;
	}
	.news-container{
		width: 90%;
	}
	.partners-container, .twitter-container {
		width: 40%;
		margin-top: 1rem;
	}
	.footer{
		height: auto;
		padding: 2rem 0;
	}
	.subscribestar-text{
		width: 100%;
	}
	.subscribestar-logo{
		width: 100%;
		max-width: 220px;
	}
	.square-name{
		font-size: 1rem;
	}
}
@media only screen and (max-width: 768px) {
	.admin-container .navbar, .manage-gallery-container .navbar{
		width: 90%;
	}
	.admin-container .navbar .navbar-nav, .manage-gallery-container .navbar .navbar-nav{
		flex-direction: row;
		align-items: center;
		justify-content: space-around;
		width: 100%;
	}
	.manage-gallery-container .manage-center .textleft>div{
		max-width: 100%;
		flex: 0 0 100%;
	}
	.manage-gallery-container .manage-center .textleft #postlist{
		padding: 0;
	}
}
@media only screen and (max-width: 500px) {
	.anniverseryBox{
		font-size: 1rem;
	}
	.partners-container, .twitter-container {
		width: 90%;
		margin-top: 1rem;
	}
	.title{
		padding: 1rem;
	}
}

/* Moderator header badge */
.mod-badge {
    display: inline-block;
    background: #d5171b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    border-radius: 10px;
    padding: 1px 6px;
    margin-left: 4px;
    vertical-align: middle;
    line-height: 1.4;
}

/* Notification bell badge */
.notif-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #d5171b;
    color: #fff;
    font-size: 0.6rem;
    font-weight: bold;
    border-radius: 10px;
    padding: 1px 5px;
    line-height: 1.4;
    pointer-events: none;
}

/* Notifications page */
.notif-page {
    max-width: 800px;
    padding: 2rem 1rem;
}
.notif-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d5171b;
    padding-bottom: 0.75rem;
}
.notif-title {
    font-family: 'Changeling Neo', sans-serif;
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}
.notif-title i { color: #d5171b; margin-right: 8px; }
.notif-btn-clear-all {
    background: transparent;
    border: 1px solid #888;
    color: #aaa;
    border-radius: 4px;
    padding: 4px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.notif-btn-clear-all:hover { border-color: #d5171b; color: #d5171b; }
.notif-list { display: flex; flex-direction: column; gap: 0; }
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.15s;
}
.notif-item:hover { background: #1f1f1f; }
.notif-unread { background: #1e1a1a; border-left: 3px solid #d5171b; }
.notif-read { border-left: 3px solid transparent; }
.notif-icon {
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.notif-comment .notif-icon { color: #aaa; }
.notif-like .notif-icon { color: #d5171b; }
.notif-upload .notif-icon { color: #6ab0f5; }
.notif-content { flex: 1; }
.notif-message {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}
a.notif-message:hover { color: #d5171b; }
.notif-time { color: #666; font-size: 0.8rem; margin-top: 3px; }
.notif-dismiss { flex-shrink: 0; }
.notif-btn-dismiss {
    background: transparent;
    border: none;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.2s;
}
.notif-btn-dismiss:hover { color: #d5171b; }
.notif-empty {
    text-align: center;
    color: #666;
    padding: 4rem 0;
    font-size: 1rem;
}
.notif-empty-icon {
    font-size: 3rem;
    color: #333;
    display: block;
    margin-bottom: 1rem;
}

/* Bell inline count */
.notif-bell-link { display: inline-flex; align-items: center; gap: 4px; }
.notif-inline-count {
    display: inline-block;
    background: #d5171b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 1.5;
    vertical-align: middle;
}

/* ===== Register / Join Free nav button ===== */
.nav-register-wrap { padding: 0 !important; display: flex; align-items: center; }
.nav-register-btn {
    display: inline-block;
    background: #d5171b;
    color: #fff !important;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 0.88rem;
    padding: 5px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.15s;
    white-space: nowrap;
}
.nav-register-btn:hover { background: #b01015; color: #fff !important; }
.nav-register-btn-bs {
    display: inline-block;
    background: #d5171b !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 4px 14px !important;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    transition: background 0.15s;
}
.nav-register-btn-bs:hover { background: #b01015 !important; color: #fff !important; }

/* ===== Index join bar ===== */
.index-join-bar {
    background: linear-gradient(135deg, #1a0a0a 0%, #2a0f0f 50%, #1a0a0a 100%);
    border-top: 3px solid #d5171b;
    border-bottom: 1px solid #3a1010;
    padding: 1.75rem 1.5rem;
    margin: 0;
}
.index-join-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.index-join-heading {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 4px;
}
.index-join-sub {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}
.index-join-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.index-join-btn-primary {
    display: inline-block;
    background: #d5171b;
    color: #fff !important;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.15s;
    white-space: nowrap;
}
.index-join-btn-primary:hover { background: #b01015; }
.index-join-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #aaa !important;
    font-size: 0.9rem;
    padding: 10px 18px;
    border: 1px solid #555;
    border-radius: 4px;
    text-decoration: none !important;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.index-join-btn-secondary:hover { border-color: #fff; color: #fff !important; }

/* ===== Post page guest CTA ===== */
.post-guest-cta {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #d5171b;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
    text-align: left;
}
.post-guest-heading {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 4px;
}
.post-guest-sub {
    color: #888;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}
.post-guest-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.post-guest-register {
    display: inline-block;
    background: #d5171b;
    color: #fff !important;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 7px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.15s;
}
.post-guest-register:hover { background: #b01015; }
.post-guest-login {
    display: inline-block;
    background: transparent;
    color: #aaa !important;
    font-size: 0.88rem;
    padding: 7px 16px;
    border: 1px solid #444;
    border-radius: 4px;
    text-decoration: none !important;
    transition: border-color 0.15s, color 0.15s;
}
.post-guest-login:hover { border-color: #888; color: #fff !important; }


/* =============================================
   Comment Replies
   ============================================= */
.post-comment-reply {
    margin-left: 2.5rem;
    border-left: 3px solid #2a2a2a;
    padding-left: 1rem;
    margin-top: 8px;
}

.post-comment-reply-arrow {
    color: #555;
    font-size: 0.8rem;
    margin-right: 4px;
}

.post-comment-reply-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 0.78rem;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 3px;
    margin-left: auto;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}
.post-comment-reply-btn:hover {
    color: #d5171b;
    background: rgba(213,23,27,0.08);
}

.post-comment-reply-context {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(213,23,27,0.08);
    border-left: 3px solid #d5171b;
    padding: 6px 12px;
    margin-bottom: 8px;
    border-radius: 0 3px 3px 0;
    font-size: 0.85rem;
    color: #ccc;
}

.post-comment-cancel-reply {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 6px;
    margin-left: auto;
    transition: color 0.15s;
}
.post-comment-cancel-reply:hover { color: #d5171b; }

/* =============================================
   Artist Journals — Manage Page
   ============================================= */
.journal-manage-wrap {
    max-width: 860px;
    padding: 2rem 1rem;
}

.journal-manage-header {
    margin-bottom: 1.5rem;
}

.journal-manage-title {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 0.25rem;
}

.journal-manage-sub {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.journal-create-card {
    background: #1a1a1a;
    border-top: 4px solid #d5171b;
    margin-bottom: 2rem;
}

.journal-card-head {
    background: #d5171b;
    color: #fff;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 7px 14px;
}

.journal-create-form {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.journal-title-input {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 3px;
    width: 100%;
    outline: none;
    transition: border-color 0.15s;
}
.journal-title-input:focus { border-color: #d5171b; }

.journal-body-input {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 12px;
    font-size: 0.92rem;
    border-radius: 3px;
    width: 100%;
    outline: none;
    resize: vertical;
    line-height: 1.6;
    transition: border-color 0.15s;
    font-family: inherit;
}
.journal-body-input:focus { border-color: #d5171b; }

.journal-create-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.journal-char-hint {
    font-size: 0.8rem;
    color: #666;
}

.journal-submit-btn {
    background: #d5171b;
    color: #fff;
    border: none;
    padding: 8px 22px;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s;
}
.journal-submit-btn:hover { background: #b01015; }

.journal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.journal-entry-card {
    background: #1a1a1a;
    border-left: 4px solid #d5171b;
    padding: 1rem 1.25rem;
}

.journal-entry-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.journal-entry-title {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.05rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    flex: 1;
    transition: color 0.15s;
}
.journal-entry-title:hover { color: #d5171b; }

.journal-entry-date {
    font-size: 0.8rem;
    color: #666;
    flex-shrink: 0;
}

.journal-entry-preview {
    font-size: 0.88rem;
    color: #999;
    line-height: 1.55;
    margin-bottom: 10px;
}

.journal-entry-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.journal-view-btn {
    font-size: 0.82rem;
    color: #ccc;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #333;
    border-radius: 3px;
    transition: border-color 0.15s, color 0.15s;
}
.journal-view-btn:hover { border-color: #d5171b; color: #d5171b; }

.journal-delete-form { margin: 0; }

.journal-delete-btn {
    background: none;
    border: 1px solid #3a1a1a;
    color: #884444;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.journal-delete-btn:hover { background: rgba(180,0,0,0.15); color: #d5171b; }

.journal-empty {
    text-align: center;
    color: #555;
    padding: 3rem 0;
    font-size: 0.95rem;
}

/* =============================================
   Artist Journals — View Page
   ============================================= */
.journal-notfound {
    text-align: center;
    color: #666;
    padding: 4rem 0;
    font-size: 1rem;
}

.journal-view-wrap {
    max-width: 800px;
    padding: 2rem 1rem;
}

.journal-view-card {
    background: #1a1a1a;
    border-top: 4px solid #d5171b;
    padding: 1.5rem 1.75rem;
}

.journal-view-author {
    margin-bottom: 1.25rem;
}

.journal-view-author-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.journal-view-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
    flex-shrink: 0;
}

.journal-view-username {
    display: block;
    font-family: 'changeling neo', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    transition: color 0.15s;
}
.journal-view-author-link:hover .journal-view-username { color: #d5171b; }

.journal-view-date {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.journal-view-title {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.journal-view-body {
    font-size: 0.97rem;
    color: #ccc;
    line-height: 1.75;
    word-break: break-word;
}

/* =============================================
   Profile Page — Journals Section
   ============================================= */
.profile-journals-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #111;
}

.profile-journal-item {
    border-bottom: 1px solid #222;
    padding: 0.75rem 1rem;
}
.profile-journal-item:last-child { border-bottom: none; }

.profile-journal-item-title {
    font-family: 'changeling neo', sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: color 0.15s;
    display: block;
    margin-bottom: 3px;
}
.profile-journal-item-title:hover { color: #d5171b; }

.profile-journal-item-meta {
    font-size: 0.75rem;
    color: #666;
}

/* Journal comments section */
.journal-comments-wrap {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a2a;
}

.journal-comments-title {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    padding: 8px 0 10px;
    border-bottom: 2px solid #d5171b;
    margin-bottom: 1rem;
}

.journal-comments-count {
    font-family: sans-serif;
    font-size: 0.85rem;
    font-weight: normal;
    color: #888;
}

.journal-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

/* =============================================
   Manage Gallery — Full Restyle
   ============================================= */

/* Page frame */
.mgal-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

/* Top bar */
.mgal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    border-bottom: 3px solid #d5171b;
    padding: 0 1.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 0;
}

.mgal-topbar-title {
    font-family: 'changeling neo', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    padding: 0.75rem 0;
}

.mgal-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.mgal-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0.85rem 1.4rem;
    color: #888;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color 0.15s, border-color 0.15s;
}
.mgal-tab:hover { color: #ccc; }
.mgal-tab-active { color: #fff; border-bottom-color: #d5171b; }

.mgal-error {
    background: rgba(213,23,27,0.15);
    border-left: 4px solid #d5171b;
    color: #f88;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    margin: 0.75rem 1rem;
    border-radius: 0 3px 3px 0;
}

/* Main two-column layout */
.mgal-layout {
    display: flex;
    flex: 1;
    align-items: stretch;
    min-height: 0;
}

/* Left sidebar: gallery tree */
.mgal-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #1a1a1a;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
}

.mgal-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #d5171b;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.mgal-new-gallery-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,0.25);
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 3px;
    transition: background 0.15s;
    font-family: sans-serif;
    font-weight: normal;
}
.mgal-new-gallery-btn:hover { background: rgba(0,0,0,0.45); color: #fff; }

.mgal-tree {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

/* Right content area */
.mgal-content {
    flex: 1;
    min-width: 0;
    background: #111;
    display: flex;
    flex-direction: column;
}

/* Action bar */
.mgal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border-bottom: 1px solid #222;
    flex-wrap: wrap;
}

.mgal-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(213,23,27,0.12);
    border: 1px solid #d5171b;
    color: #d5171b;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    text-decoration: none;
}
.mgal-action-btn:hover { background: rgba(213,23,27,0.25); color: #d5171b; }
.mgal-action-danger { border-color: #884; color: #cc8844; background: rgba(180,100,0,0.1); }
.mgal-action-danger:hover { background: rgba(180,60,0,0.2); color: #e09050; }

.mgal-select-hint {
    font-size: 0.78rem;
    color: #555;
    margin-left: auto;
}

/* Empty state */
.mgal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 4rem 2rem;
    color: #555;
    font-size: 1rem;
    flex: 1;
}
.mgal-empty i { font-size: 2.5rem; }
.mgal-empty p { margin: 0; }

/* Post grid — override legacy pink tiles */
.gallrpul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    list-style: none;
    padding: 1rem;
    margin: 0;
    gap: 8px;
}

.gallrpli {
    background: #1a1a1a !important;
    border: 2px solid transparent !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 140px !important;
    height: auto !important;
    font-size: 0.72rem;
    font-weight: normal;
    color: #aaa;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s;
}

.gallrpli table {
    width: 100%;
    height: auto;
    border-collapse: collapse;
}

.gallrpli img {
    width: 140px;
    height: 110px;
    max-width: 140px;
    max-height: 110px;
    object-fit: cover;
    display: block;
    border: none;
}

.gallrpli td {
    padding: 5px 6px;
    vertical-align: top;
}

.gallrpli td:first-child { padding: 0; }

.gallrpli b {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 128px;
    color: #ddd;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.gallrpli a { color: #d5171b; }
.gallrpli a:hover { color: #ff4444; }

.gallrpli.ui-selected,
.gallrpli.selected {
    border-color: #d5171b !important;
    background: rgba(213,23,27,0.12) !important;
}

/* imagemenu / imagemenusub — override show/hide logic */
.imagemenusub { display: none; }

/* Upload page */
.mgal-upload-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mgal-upload-card {
    background: #1a1a1a;
    border-top: 3px solid #d5171b;
}

.mgal-upload-card-head {
    background: #d5171b;
    color: #fff;
    font-family: 'changeling neo', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 7px 14px;
}

.mgal-upload-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 1rem;
}

.mgal-upload-hint {
    font-size: 0.8rem;
    color: #555;
    margin: 0.5rem 0 0;
    padding: 0 1rem 1rem;
    line-height: 1.6;
}

.mgal-notice {
    padding: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Shared modal + form styles */
.mgal-modal { background: #1a1a1a; border: 1px solid #2a2a2a; }
.mgal-modal-head { background: #d5171b; color: #fff; border-bottom: none; padding: 0.85rem 1.25rem; }
.mgal-modal-head .close { color: #fff; opacity: 0.8; }
.mgal-modal-head .close:hover { opacity: 1; }
.mgal-modal-foot { background: #111; border-top: 1px solid #222; padding: 0.75rem 1.25rem; }
.modal-body { background: #1a1a1a; }

.mgal-field {
    padding: 0.65rem 1.25rem 0;
}
.mgal-field label {
    display: block;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mgal-input, .mgal-select, .mgal-textarea {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 10px;
    font-size: 0.9rem;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}
.mgal-input:focus, .mgal-select:focus, .mgal-textarea:focus { border-color: #d5171b; }
.mgal-input::placeholder { color: #555; }
.mgal-textarea { resize: vertical; min-height: 80px; }
.mgal-select { cursor: pointer; }
.mgal-select option { background: #1a1a1a; }

.mgal-optional { font-weight: normal; color: #666; text-transform: none; letter-spacing: 0; font-size: 0.78rem; }
.mgal-link { color: #d5171b; }

.mgal-btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: #d5171b; color: #fff; border: none;
    padding: 8px 20px; font-weight: bold; font-size: 0.88rem;
    border-radius: 3px; cursor: pointer; transition: background 0.15s;
    font-family: 'changeling neo', sans-serif; text-decoration: none;
}
.mgal-btn-primary:hover { background: #b01015; color: #fff; }

.mgal-btn-secondary {
    display: inline-flex; align-items: center; gap: 6px;
    background: #222; color: #aaa; border: 1px solid #333;
    padding: 8px 20px; font-weight: bold; font-size: 0.88rem;
    border-radius: 3px; cursor: pointer; transition: background 0.15s;
    font-family: inherit;
}
.mgal-btn-secondary:hover { background: #2a2a2a; color: #fff; }

.mgal-btn-danger {
    display: inline-flex; align-items: center; gap: 6px;
    background: #3a1010; color: #cc4444; border: 1px solid #662222;
    padding: 8px 20px; font-weight: bold; font-size: 0.88rem;
    border-radius: 3px; cursor: pointer; transition: background 0.15s;
    font-family: inherit;
}
.mgal-btn-danger:hover { background: #501515; color: #ff6666; }

.mgal-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    padding: 0.25rem 0;
}
.mgal-check-label input[type="checkbox"] { margin-top: 3px; accent-color: #d5171b; flex-shrink: 0; }

/* Responsive */
@media (max-width: 800px) {
    .mgal-layout { flex-direction: column; }
    .mgal-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #222; }
    .mgal-tree { max-height: 220px; overflow-y: auto; }
    .mgal-topbar { padding: 0 0.75rem; }
    .mgal-tab { padding: 0.75rem 0.9rem; font-size: 0.82rem; }
}

/* === Manage Gallery Fixes === */

/* 1. Show action bar — theme.css hides .imagemenu globally */
.mgal-actions.imagemenu {
    display: flex !important;
}

/* 2. Override #categorylist min-width that blows out the sidebar */
#categorylist {
    min-width: unset !important;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* 3. Dark gallery tree — Bootstrap list-group defaults to white */
.mgal-tree .list-group-item {
    background-color: transparent !important;
    color: #bbb !important;
    border-color: #252525 !important;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    padding: 6px 10px !important;
}
.mgal-tree .list-group-item:hover {
    background-color: rgba(213,23,27,0.1) !important;
    color: #fff !important;
}
.mgal-tree .list-group-item.ui-selected,
.mgal-tree .list-group-item.active,
.mgal-tree .list-group-item.selectedcategory {
    background-color: rgba(213,23,27,0.18) !important;
    color: #fff !important;
    border-left: 3px solid #d5171b !important;
}
.mgal-tree .list-group-root {
    background: transparent !important;
}
.mgal-tree .badge-primary {
    background-color: #2a2a2a !important;
    color: #777 !important;
}
.mgal-tree .folderbadge {
    float: right;
}
.mgal-tree .folderbadge a {
    color: #555;
    font-size: 0.82rem;
    text-indent: 0;
}
.mgal-tree .folderbadge a:hover { color: #d5171b; }
.mgal-tree .handle { color: #444; margin-right: 6px; cursor: grab; }

/* Sub-gallery indent */
.mgal-tree .list-group.sub-item { background: transparent !important; }
.mgal-tree .list-group.list-group-root > .list-group > .list-group-item {
    padding-left: 28px !important;
    background-color: rgba(0,0,0,0.2) !important;
}

/* Override Sortable blue-background-class selection (post grid) */
.gallrpli.blue-background-class {
    background: rgba(213,23,27,0.15) !important;
    border-color: #d5171b !important;
}

/* Dropzone dark theme override */
.dz-message { color: #666; }

/* Gallery tree — dark overrides for Bootstrap list-group */
#categorylist .list-group-item {
    background-color: transparent !important;
    color: #bbb !important;
    border-color: #2a2a2a !important;
    font-size: 0.88rem;
    cursor: pointer;
}
#categorylist .list-group-item:hover {
    background-color: rgba(213,23,27,0.1) !important;
    color: #fff !important;
}
#categorylist .list-group-item.activeCategory {
    background-color: rgba(213,23,27,0.2) !important;
    color: #fff !important;
    border-left: 3px solid #d5171b !important;
}
#categorylist .badge-primary {
    background-color: #2a2a2a !important;
    color: #666 !important;
}
#categorylist .folderbadge a { color: #555; }
#categorylist .folderbadge a:hover { color: #d5171b; }
#categorylist { min-width: unset !important; }

/* Gallery tree — thumbnails + clearer controls */
.gal-tree-thumb {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
    vertical-align: middle;
    margin: 0 6px 0 2px;
    opacity: 0.85;
    flex-shrink: 0;
}
.gal-tree-thumb-sub { width: 22px; height: 22px; }
.gal-tree-nothumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #222;
    border-radius: 3px;
    color: #444;
    font-size: 0.75rem;
    vertical-align: middle;
    margin: 0 6px 0 2px;
    flex-shrink: 0;
}
.gal-tree-nothumb-sub { width: 22px; height: 22px; font-size: 0.65rem; }
.gal-tree-label {
    vertical-align: middle;
    font-size: 0.87rem;
    color: #bbb;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
    display: inline-block;
}
.gal-tree-count {
    display: inline-block;
    background: #2e2e2e;
    color: #aaa;
    font-size: 0.72rem;
    padding: 1px 6px;
    border-radius: 10px;
    margin-right: 4px;
    vertical-align: middle;
}
.gal-tree-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    font-size: 0.72rem;
    text-decoration: none;
    vertical-align: middle;
    transition: background 0.15s, color 0.15s;
    margin-left: 2px;
}
.gal-tree-btn-edit { color: #bbb; }
.gal-tree-btn-edit:hover { color: #fff; background: #3a3a3a; }
.gal-tree-btn-del { color: #c0504d; }
.gal-tree-btn-del:hover { color: #ff6666; background: rgba(200,0,0,0.2); }

/* Gallery tree — force badge right-aligned with flex */
#categorylist .folderbadge {
    float: right !important;
    display: flex;
    align-items: center;
    gap: 2px;
    text-indent: 0;
    margin-left: auto;
}

/* ── Post actions bar (Like + Bookmark) ───────────────────────────────── */
.post-actions-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0;
}

.bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
}
.bookmark-btn:hover {
    border-color: #d5171b;
    color: #d5171b;
}
.bookmark-btn.bookmarked {
    border-color: #d5171b;
    color: #d5171b;
    background: rgba(213,23,27,0.08);
}

/* ── Tag follow buttons ───────────────────────────────────────────────── */
.post-tag-wrap {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 2px 3px 2px 0;
}
.post-tag {
    display: inline-block;
    background: #222;
    color: #bbb;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.post-tag:hover {
    background: #d5171b;
    color: #fff;
    text-decoration: none;
}
.tag-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 3px;
    color: #555;
    font-size: 0.65rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.15s;
}
.tag-follow-btn:hover {
    border-color: #d5171b;
    color: #d5171b;
}
.tag-follow-btn.following {
    border-color: #d5171b;
    color: #d5171b;
    background: rgba(213,23,27,0.08);
}

/* ── Favorites grid ───────────────────────────────────────────────────── */
.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.fav-tile {
    display: block;
    background: #1e1e1e;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.fav-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    text-decoration: none;
}
.fav-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: #111;
}
.fav-tile-label {
    padding: 6px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fav-tile-name {
    color: #ddd;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fav-tile-artist {
    color: #666;
    font-size: 0.72rem;
}

/* ── Followed tags list ───────────────────────────────────────────────── */
.followed-tags-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.followed-tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #1e1e1e;
}
.followed-tag-name {
    color: #d5171b;
    font-size: 0.95rem;
    text-decoration: none;
    flex: 1;
}
.followed-tag-name:hover { color: #ff4a4e; text-decoration: none; }
.followed-tag-since {
    color: #444;
    font-size: 0.78rem;
    white-space: nowrap;
}
.followed-tag-unfollow-form { margin: 0; }
.followed-tag-unfollow-btn {
    background: transparent;
    border: 1px solid #333;
    color: #555;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.15s;
}
.followed-tag-unfollow-btn:hover {
    border-color: #d5171b;
    color: #d5171b;
}

.post-actions-bar .like-button {
    width: auto;
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* ── Upload page – redesigned to match settings card style ─────────────── */
.mgal-upload-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    border-top: none;
    padding: 18px 20px;
}
.mgal-upload-card-head {
    background: transparent;
    color: #fff;
    font-family: 'changeling neo', sans-serif;
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: 0.03em;
    padding: 0 0 12px 0;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mgal-card-icon {
    color: #d5171b;
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.mgal-upload-page .mgal-field {
    padding: 0 0 0.75rem;
}
.mgal-upload-hint {
    padding: 0;
    margin-top: 0.5rem;
}
.mgal-upload-actions {
    padding: 0;
}

/* ── Post alternates thumbnail strip ── */
.post-alt-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 6px;
    align-items: center;
}
.alt-thumb-btn {
    background: none;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s;
    flex-shrink: 0;
}
.alt-thumb-btn img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
}
.alt-thumb-btn:hover { border-color: #888; }
.alt-thumb-btn.active { border-color: #d5171b; }

/* ── Alternates mgal button ── */
.mgal-alt-add-btn {
    display: inline-flex;
    align-items: center;
    background: #252525;
    border: 1px solid #333;
    border-radius: 4px;
    color: #ccc;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.mgal-alt-add-btn:hover { background: #2e2e2e; color: #fff; }
