/* Mystic Gaming Community - components */
.mystic-servers { margin: 8px 0 18px; }
.mystic-servers-title {
	font-size: 1.15em; text-transform: uppercase; letter-spacing: 1.5px;
	color: #dbe6f0; border-bottom: 1px solid rgba(79, 143, 208, 0.25);
	padding-bottom: 6px; margin: 0 0 12px; font-family: inherit;
}
.mystic-servers-title .icon { color: #4f8fd0; margin-right: 4px; }
.mystic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

.mystic-card {
	--srv: #4f8fd0;
	display: flex; flex-direction: column;
	background: rgba(13, 23, 33, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-top: 3px solid var(--srv);
	border-radius: 8px; overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mystic-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--srv); }
.mystic-card-banner {
	position: relative; height: 92px;
	background: radial-gradient(ellipse at 30% 0%, var(--srv), transparent 70%), linear-gradient(135deg, #16293b, #0b141d);
	background-size: cover; background-position: center;
}
.mystic-card-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(13, 23, 33, 0.95)); }
.mystic-game, .mystic-status {
	position: absolute; top: 8px; z-index: 1;
	font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
	padding: 3px 8px; border-radius: 20px;
	background: rgba(7, 12, 16, 0.75); color: #dbe6f0; border: 1px solid rgba(255, 255, 255, 0.1);
}
.mystic-game { left: 8px; }
.mystic-status { right: 8px; display: inline-flex; align-items: center; gap: 6px; text-transform: none; }
.mystic-status i { width: 8px; height: 8px; border-radius: 50%; background: #6b7c8c; display: inline-block; }
.mystic-status b { font-weight: 600; }
.mystic-status.is-online i { background: #2fb37b; box-shadow: 0 0 8px #2fb37b; }
.mystic-status.is-offline i { background: #e5484d; }

.mystic-card-body { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mystic-card-body h3 {
	margin: 0; padding: 0; border: 0; font-size: 1.25em; text-transform: none; font-family: inherit; color: #e3eef8;
}
.mystic-card-body h3 a { color: #e3eef8; }
.mystic-card-body h3 a:hover { color: var(--srv); text-decoration: none; }
.mystic-desc { margin: 0; color: #8aa0b4; font-size: 1.05em; line-height: 1.45; }

.mystic-copy {
	align-self: flex-start; cursor: pointer; font-family: Consolas, Menlo, monospace; font-size: 12px;
	color: #9cc8f2; background: rgba(7, 12, 16, 0.6); border: 1px dashed rgba(79, 143, 208, 0.45);
	border-radius: 5px; padding: 4px 8px;
}
.mystic-copy:hover { border-style: solid; color: #fff; }
.mystic-copy.is-copied { border-color: #2fb37b; color: #2fb37b; }

.mystic-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mystic-btn {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 6px 11px; border-radius: 5px; font-size: 12px; font-weight: 600;
	color: #dbe6f0 !important; background: #142333; border: 1px solid rgba(79, 143, 208, 0.3);
	text-decoration: none !important; transition: background .15s, border-color .15s;
}
.mystic-btn:hover { background: #1c3044; border-color: #74aee6; }
.mystic-btn-primary { background: var(--srv, #4f8fd0); border-color: transparent; color: #fff !important; }
.mystic-btn-primary:hover { background: var(--srv, #4f8fd0); filter: brightness(1.15); border-color: transparent; }
.mystic-btn-discord:hover { background: #5865f2; border-color: #5865f2; }

/* server banner in forum */
.mystic-banner {
	--srv: #4f8fd0; --img: none;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px;
	margin: 6px 0 14px; padding: 16px 18px; border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.06); border-left: 4px solid var(--srv);
	background: linear-gradient(90deg, rgba(13, 23, 33, 0.96) 35%, rgba(13, 23, 33, 0.6)), var(--img), radial-gradient(ellipse at 100% 0%, var(--srv), #0d1721 70%);
	background-size: cover; background-position: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.mystic-banner-info { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.mystic-banner-top { display: flex; gap: 8px; }
.mystic-banner .mystic-game, .mystic-banner .mystic-status { position: static; }

/* private forum hint */
.mystic-private-hint { font-size: 11px; color: #e8b04b; }

/* bbcodes */
.mystic-bb-btn {
	display: inline-flex; align-items: center; padding: 6px 12px; margin: 2px 0; border-radius: 5px;
	font-weight: 600; color: #fff !important; background: #4f8fd0; text-decoration: none !important;
}
.mystic-bb-btn:hover { filter: brightness(1.15); }
.mystic-bb-fivem { background: #f40552; }
.mystic-bb-discord { background: #5865f2; }
.mystic-bb-ts { background: #2580c3; }
.mystic-bb-steam { background: #1b2838; border: 1px solid #66c0f4; }
.mystic-bb-ip {
	cursor: pointer; font-family: Consolas, Menlo, monospace; padding: 2px 7px; border-radius: 4px;
	color: #9cc8f2; background: rgba(7, 12, 16, 0.6); border: 1px dashed rgba(79, 143, 208, 0.45);
}
.mystic-bb-ip.is-copied { border-color: #2fb37b; color: #2fb37b; }

@media (max-width: 700px) {
	.mystic-banner { flex-direction: column; align-items: flex-start; }
}
