/* Olympic community pages — shared Tibian UI */
.z-page {
	max-width: 980px;
	margin: 0 auto 28px;
	padding: 0 4px;
}
.z-card {
	background: linear-gradient(180deg, rgba(28, 24, 18, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 215, 0, 0.05);
	padding: 22px 20px;
	color: #e8dcc0;
}
.z-title {
	margin: 0 0 8px;
	color: #ffd700;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.z-subtitle {
	margin: 0 0 16px;
	color: #cbb892;
	font-size: 14px;
	line-height: 1.5;
}
.z-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 16px;
	padding: 14px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(201, 162, 39, 0.18);
}
.z-filters select,
.z-filters input[type="text"],
.z-filters input[type="submit"],
.z-field select,
.z-field input[type="text"],
.z-field input[type="submit"] {
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 39, 0.35);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 13px;
}
.z-filters input[type="submit"],
.z-btn {
	background: linear-gradient(180deg, #ffd86b 0%, #b8860b 100%);
	color: #1a1200;
	font-weight: 700;
	border-color: #c9a227;
	cursor: pointer;
	transition: filter 0.18s ease, transform 0.18s ease;
}
.z-filters input[type="submit"]:hover,
.z-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}
.z-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid rgba(201, 162, 39, 0.35);
	background: linear-gradient(180deg, rgba(28, 24, 18, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.04);
}
.z-page table,
.z-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: transparent;
}
.z-page table tr.yellow td,
.z-page table tr.yellow th,
.z-page table thead tr,
.z-table thead tr,
.z-table tr.yellow td,
.z-table tr.yellow th {
	background: rgba(0, 0, 0, 0.35) !important;
	color: #ffd700;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.6px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.18);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}
.z-page table tbody td,
.z-page table tbody th,
.z-table tbody td,
.z-table tbody th,
.z-page table tr:not(.yellow) td,
.z-page table tr:not(.yellow) th,
.z-table tr:not(.yellow) td,
.z-table tr:not(.yellow) th {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
	color: #f0e6cc;
	vertical-align: middle;
	background: #0c0c0c !important;
}
.z-page table tbody tr:nth-child(even),
.z-table tbody tr:nth-child(even),
.z-page table tr:nth-child(even):not(.yellow),
.z-table tr:nth-child(even):not(.yellow) {
	background: transparent;
}
.z-page table tbody tr:nth-child(even):not(.yellow) td,
.z-table tbody tr:nth-child(even):not(.yellow) td,
.z-page table tr:nth-child(even):not(.yellow) td,
.z-table tr:nth-child(even):not(.yellow) td {
	background: #10100a !important;
}
.z-page table tbody td,
.z-page table tr:not(.yellow) td,
.z-table tbody td,
.z-table tr:not(.yellow) td {
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.z-page table tbody tr:not(.yellow),
.z-table tbody tr:not(.yellow),
.z-page table tr:not(.yellow),
.z-table tr:not(.yellow) {
	transition: transform 0.18s ease, filter 0.18s ease;
}
.z-page table tbody tr:hover,
.z-table tbody tr:hover,
.z-page table tr:not(.yellow):hover,
.z-table tr:not(.yellow):hover,
.z-page table tr.special:hover,
.z-table tr.special:hover {
	background: transparent;
	transform: translateY(-2px);
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.z-page table tbody tr:hover td,
.z-table tbody tr:hover td,
.z-page table tr:not(.yellow):hover td,
.z-table tr:not(.yellow):hover td,
.z-page table tr.special:hover td,
.z-table tr.special:hover td {
	background: linear-gradient(180deg, rgba(28, 24, 18, 0.98) 0%, rgba(14, 12, 8, 0.99) 100%) !important;
	color: #fff8e7;
	box-shadow: inset 3px 0 0 #ffd700;
	border-bottom-color: rgba(255, 215, 0, 0.22);
}
.z-page table tr:not(.yellow):hover td:first-child,
.z-table tr:not(.yellow):hover td:first-child {
	border-left: 1px solid rgba(255, 215, 0, 0.4);
}
.z-page table tr:not(.yellow):hover td:last-child,
.z-table tr:not(.yellow):hover td:last-child {
	border-right: 1px solid rgba(255, 215, 0, 0.4);
}
.z-page table tr.special,
.z-table tr.special,
.z-page table tr:not(.yellow):has(a),
.z-table tr:not(.yellow):has(a) {
	cursor: pointer;
}
.z-page table a,
.z-table a,
.z-card a:not(.z-guild-card):not(.z-btn) {
	color: #ffd700;
	font-weight: 600;
}
.z-page table a:hover,
.z-table a:hover {
	color: #ffe08a;
}
tr.z-rank-1 td:first-child { color: #ffd700; font-weight: 800; }
tr.z-rank-2 td:first-child { color: #c0c0c0; font-weight: 800; }
tr.z-rank-3 td:first-child { color: #cd7f32; font-weight: 800; }
.z-empty {
	text-align: center;
	padding: 28px 16px;
	color: #cbb892;
	font-size: 15px;
}
.z-guild-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
	margin-top: 8px;
}
.z-guild-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(180deg, rgba(28, 24, 18, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.z-guild-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 215, 0, 0.55);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	color: inherit;
}
.z-guild-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.18);
	background: rgba(0, 0, 0, 0.25);
}
.z-guild-card-head img {
	max-width: 64px;
	max-height: 64px;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 39, 0.25);
}
.z-guild-card-name {
	margin: 0;
	color: #ffd700;
	font-size: 18px;
	font-weight: 700;
}
.z-guild-card-motd {
	margin: 4px 0 0;
	color: #cbb892;
	font-size: 12px;
	line-height: 1.4;
}
.z-guild-card-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 10px;
	padding: 14px 16px 16px;
}
.z-guild-stat label {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #9a8560;
}
.z-guild-stat span {
	font-size: 14px;
	color: #f5f5dc;
	font-weight: 600;
}
.z-guild-header {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}
.z-guild-header img {
	max-width: 96px;
	max-height: 96px;
	border-radius: 10px;
	border: 1px solid rgba(201, 162, 39, 0.35);
}
.z-guild-header h1 {
	margin: 0;
	color: #ffd700;
	font-size: 26px;
}
.z-guild-header p {
	margin: 8px 0 0;
	color: #cbb892;
	line-height: 1.5;
}
.z-form-block {
	margin-top: 18px;
	padding: 16px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(201, 162, 39, 0.2);
}
.z-form-block h3 {
	margin: 0 0 12px;
	color: #ffd700;
	font-size: 18px;
}
.z-form-block ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.z-form-block li {
	margin-bottom: 10px;
}
.z-status-online { color: #7dffb0; font-weight: 700; }
.z-status-offline { color: #aaa; }
.outfitColumn,
.z-page .outfitColumn {
	position: relative;
	width: 36px;
	height: 40px;
	overflow: hidden;
	margin: 0 auto;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	vertical-align: middle;
}
.outfitColumn img,
.z-page .outfitColumn img {
	position: absolute;
	right: 0;
	bottom: 0;
	left: auto;
	width: 48px;
	height: 48px;
	max-width: none;
	margin: 0;
	transform: none;
	background: transparent !important;
	border: none !important;
	border-radius: 0;
	box-shadow: none;
	mix-blend-mode: lighten;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
}
#onlinelistTable td.outfitColumn,
#highscoresTable td.outfitColumn,
#auctionTable td.outfitColumn,
#auctionViewTable td.outfitColumn,
.auction-table td.outfitColumn {
	width: 44px;
	max-width: 44px;
	overflow: hidden;
	padding: 4px 6px !important;
}
#auctionTable td.outfitColumn img,
#auctionViewTable td.outfitColumn img,
.auction-table td.outfitColumn img {
	left: 0;
	right: auto;
}
#auctionTable tr:not(.yellow) td,
#auctionViewTable tr:not(.yellow) td,
.auction-table tr:not(.yellow) td {
	padding-top: 10px;
	padding-bottom: 10px;
	vertical-align: middle;
}
.z-page .auction-table a {
	color: #ffd700;
	font-weight: 700;
}
.z-page .auction-table a:hover {
	color: #ffe08a;
}
#onlinelistTable tr:not(.yellow) td,
#highscoresTable tr:not(.yellow) td {
	padding-top: 10px;
	padding-bottom: 10px;
	vertical-align: middle;
}
#deathsTable th,
#deathsTable td,
#deathsTable .z-death-cell {
	text-align: center !important;
	vertical-align: middle;
}
.z-death-time {
	white-space: nowrap;
	color: #b8a080;
	font-size: 13px;
}
.z-death-monster {
	color: #b8a080;
}
.z-info-section {
	margin-top: 22px;
}
.z-info-section:first-of-type {
	margin-top: 4px;
}
.z-info-title {
	margin: 0 0 10px;
	color: #ffd700;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.z-info-note {
	margin: 0 0 12px;
	padding: 10px 14px;
	border-radius: 8px;
	background: rgba(255, 215, 0, 0.08);
	border: 1px solid rgba(201, 162, 39, 0.22);
	color: #cbb892;
	font-size: 13px;
	line-height: 1.5;
}
.z-info-text {
	line-height: 1.55;
	color: #e8dcc0;
}
.z-info-text code {
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.35);
	color: #ffe08a;
	font-size: 12px;
}
.z-table code {
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.35);
	color: #ffe08a;
	font-size: 12px;
}
.z-info-section .z-table-wrap {
	margin-bottom: 4px;
}
.z-support-dm-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(88, 101, 242, 0.18);
	border: 1px solid rgba(88, 101, 242, 0.35);
	color: #c8cbff !important;
	font-weight: 700;
	font-size: 13px;
	transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}
.z-support-dm-link:hover {
	color: #fff !important;
	filter: brightness(1.08);
	transform: translateY(-1px);
	border-color: rgba(114, 137, 218, 0.55);
}
.z-support-dm {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
}
.z-support-dm-lead {
	margin: 0 0 16px;
	color: #cbb892;
	font-size: 14px;
	line-height: 1.5;
}
.z-support-dm-card {
	padding: 22px 20px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(201, 162, 39, 0.22);
}
.z-support-dm-label {
	display: block;
	margin-bottom: 6px;
	color: #9a8560;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.z-support-dm-user {
	display: block;
	margin-bottom: 12px;
	color: #ffd700;
	font-size: 22px;
}
.z-support-dm-note {
	margin: 0 0 16px;
	color: #cbb892;
	font-size: 13px;
	line-height: 1.5;
}
.z-support-dm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.z-support-dm-btn {
	background: linear-gradient(180deg, #7289da 0%, #5865f2 100%) !important;
	color: #fff !important;
	border-color: #7289da !important;
}
.z-support-dm-copy {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #f0e6cc !important;
	border-color: rgba(201, 162, 39, 0.35) !important;
}

/* Beat legacy default.css table skin inside community pages */
.z-page table.z-table tr th,
.z-page table.z-table tr td,
.z-page table.z-table tr.yellow td,
.z-page table.z-table tr.yellow th {
	color: inherit;
	border-top-color: rgba(201, 162, 39, 0.08) !important;
}
.z-page table.z-table tr:not(.yellow) td {
	background: #0c0c0c !important;
}
.z-page table.z-table tr:nth-child(even):not(.yellow) td {
	background: #10100a !important;
}
.z-page table.z-table tr:not(.yellow):hover td {
	background: linear-gradient(180deg, rgba(28, 24, 18, 0.98) 0%, rgba(14, 12, 8, 0.99) 100%) !important;
}
.z-feature-img {
	text-align: center;
	margin: 16px 0 20px;
}
.z-feature-img img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(201, 162, 39, 0.25);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.z-callout {
	margin: 16px 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(201, 162, 39, 0.22);
	border-left: 4px solid rgba(255, 215, 0, 0.45);
	color: #e8dcc0;
	line-height: 1.55;
}
.z-callout h3,
.z-callout h5 {
	margin: 0 0 10px;
	color: #ffd700;
	font-size: 16px;
}
.z-callout ul {
	margin: 10px 0 0;
	padding-left: 20px;
	color: #cbb892;
}
.z-callout li {
	margin-bottom: 6px;
}
.z-rarity-common { color: #f0e6cc; }
.z-rarity-rare { color: #6eb5ff; font-weight: 600; }
.z-rarity-epic { color: #c084fc; font-weight: 600; }
.z-rarity-legendary { color: #ffd700; font-weight: 700; }
.z-accent-success { color: #7dffb0; }
.z-accent-warning { color: #ffe08a; }
.z-gem-red { color: #ff6b6b; font-weight: 600; }
.z-gem-violet { color: #c084fc; font-weight: 600; }
.z-gem-blue { color: #6eb5ff; font-weight: 600; }
.z-gem-green { color: #7dffb0; font-weight: 600; }
.z-table tr.z-row-feature td {
	background: rgba(255, 215, 0, 0.06) !important;
}
.z-table tr.z-row-feature:nth-child(even) td {
	background: rgba(255, 215, 0, 0.04) !important;
}
.z-list-plain {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
}
.z-list-plain li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
	color: #e8dcc0;
}
.z-list-check li::before {
	content: "✓ ";
	color: #7dffb0;
}
.z-stat-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.z-stat-list li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(201, 162, 39, 0.12);
	color: #e8dcc0;
	line-height: 1.5;
}
.z-stat-list li:last-child {
	border-bottom: none;
}

.z-changelog-textarea {
	width: 100%;
	max-width: 100%;
	min-height: 120px;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 39, 0.28);
	background: rgba(0, 0, 0, 0.45);
	color: #f0e6cc;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	resize: vertical;
	box-sizing: border-box;
}
.z-changelog-textarea:focus {
	outline: none;
	border-color: rgba(255, 215, 0, 0.45);
	box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.08);
}
.z-changelog-date {
	color: #ffd700 !important;
	font-weight: 700;
	white-space: nowrap;
}
.z-btn-small {
	padding: 6px 10px !important;
	font-size: 11px !important;
	min-width: 0 !important;
}
/* Mi Casa — house rental panel */
.z-house-page {
	margin-bottom: 18px;
}
.z-house-panel-wrap {
	padding-bottom: 18px;
}
.z-house-panel-title {
	margin: 0 0 4px;
	color: #ffd700;
	font-size: 22px;
	font-weight: 700;
}
.z-house-panel {
	margin-top: 18px;
	padding: 16px;
	border-radius: 10px;
	border: 1px solid rgba(201, 162, 39, 0.22);
	background: rgba(0, 0, 0, 0.28);
}
.z-house-panel + .z-house-panel {
	margin-top: 14px;
}
.z-house-panel-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}
.z-house-name {
	margin: 0;
	font-size: 18px;
}
.z-house-name a {
	color: #ffd700;
	text-decoration: none;
}
.z-house-name a:hover {
	text-decoration: underline;
}
.z-house-owner {
	margin: 4px 0 0;
	color: #cbb892;
	font-size: 13px;
}
.z-house-status {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.z-house-status-paid {
	background: rgba(46, 125, 50, 0.25);
	color: #7dffb0;
	border: 1px solid rgba(125, 255, 176, 0.35);
}
.z-house-status-pending {
	background: rgba(255, 193, 7, 0.15);
	color: #ffd86b;
	border: 1px solid rgba(255, 216, 107, 0.35);
}
.z-house-status-risk {
	background: rgba(198, 40, 40, 0.2);
	color: #ff8a80;
	border: 1px solid rgba(255, 138, 128, 0.35);
}
.z-house-status-free {
	background: rgba(120, 144, 156, 0.2);
	color: #b0bec5;
	border: 1px solid rgba(176, 190, 197, 0.35);
}
.z-house-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}
.z-house-stat label {
	display: block;
	margin-bottom: 4px;
	color: #9a8b6a;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.z-house-stat span {
	color: #f0e6cc;
	font-size: 14px;
	font-weight: 600;
}
.z-house-stat-wide {
	grid-column: 1 / -1;
}
.z-house-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
}
.z-house-badge-ok {
	background: rgba(46, 125, 50, 0.25);
	color: #7dffb0;
}
.z-house-badge-danger {
	background: rgba(198, 40, 40, 0.22);
	color: #ff8a80;
}
.z-house-warnings {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.z-house-warnings-bar {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	border: 1px solid rgba(201, 162, 39, 0.15);
}
.z-house-warnings-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffd86b 0%, #ff7043 55%, #d32f2f 100%);
	transition: width 0.2s ease;
}
.z-house-warnings-text {
	color: #e8dcc0;
	font-size: 13px;
	font-weight: 500;
}
.z-house-alert {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.55;
}
.z-house-alert-risk {
	background: rgba(198, 40, 40, 0.14);
	border: 1px solid rgba(255, 138, 128, 0.28);
	color: #ffccbc;
}
.z-house-notes {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(201, 162, 39, 0.18);
}
.z-house-notes h4 {
	margin: 0 0 10px;
	color: #ffd700;
	font-size: 14px;
}
.z-house-notes ul {
	margin: 0;
	padding-left: 18px;
	color: #cbb892;
	font-size: 13px;
	line-height: 1.6;
}

.z-home-changelog {
	margin-bottom: 18px;
}
.z-home-changelog .z-info-note {
	margin-top: -4px;
}
