.bug-post {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 13px;
	padding: 16px;
	border: 0;
	border-radius: 0;
	background: rgba(18, 27, 22, 0.9);
}

.bug-author-avatar,
.bug-author-avatar img,
.bug-author-avatar span {
	width: 52px;
	height: 52px;
}

.bug-author-avatar {
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: rgba(112, 140, 114, 0.14);
}

.bug-author-avatar img {
	display: block;
	object-fit: cover;
}

.bug-author-avatar span {
	display: grid;
	place-items: center;
	color: #f0f4f7;
	font-size: 18px;
}

.bug-post-content {
	min-width: 0;
}

.bug-post-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 9px;
}

.bug-post-head strong {
	color: #f4f7f5;
	font-size: 13px;
}

.bug-post-head time {
	color: rgba(201, 210, 220, 0.62);
	font-size: 11px;
}

.bug-post-body h2 {
	margin: 0 0 14px;
	color: #f0f4f7;
	font-size: 28px;
	line-height: 1.25;
}

.bug-post-body p {
	margin: 0;
	color: rgba(201, 210, 220, 0.9);
	line-height: 1.8;
}

.bug-back-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin-bottom: 14px;
	padding: 0 14px;
	border: 1px solid rgba(112, 140, 114, 0.52);
	color: #dfe8e1;
	font-size: 13px;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
}

.bug-textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 1.6;
}

.bug-page-content {
	padding-top: 58px;
	padding-bottom: 84px;
}

.bug-workspace {
	padding: 0;
	background: transparent;
}

.bug-ticket-workspace {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	box-sizing: border-box;
}

.bug-new-page-nav {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 18px;
}

.bug-back-button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(112, 140, 114, 0.52);
	border-radius: 0;
	background: rgba(112, 140, 114, 0.16);
	color: #e8eeea;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.bug-back-button:hover {
	background: rgba(112, 140, 114, 0.28);
	color: #fff;
}

.bug-back-button:focus-visible {
	outline: 2px solid #9bb39d;
	outline-offset: 2px;
}

.bug-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 30px;
	padding-bottom: 0;
	border-bottom: 0;
}

.bug-topbar h2 {
	margin: 0;
	color: #f4f7f5;
	font-size: 30px;
	line-height: 1.2;
}

.bug-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-wrap: wrap;
	padding: 5px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.045);
}

.bug-tab,
.bug-new-button {
	border: 1px solid rgba(112, 140, 114, 0.52);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.055);
	color: #e9efeb;
	min-height: 48px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-family: Oxanium, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.bug-tab.is-active,
.bug-new-button {
	background: #78947b;
	color: #050907;
}

.bug-tab:hover,
.bug-new-button:hover {
	background: #8ca68e;
	color: #050907;
}

.bug-tab:focus-visible,
.bug-new-button:focus-visible,
.bug-vote-button:focus-visible {
	outline: 2px solid #9bb39d;
	outline-offset: 2px;
}

.bug-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 24px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	overflow: hidden;
}

.bug-stat-card {
	min-height: 116px;
	padding: 22px;
	border: 0;
	background: rgba(13, 20, 16, 0.98);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 14px;
	box-sizing: border-box;
}

.bug-stat-card span {
	color: rgba(233, 239, 235, 0.78);
	font-size: 14px;
	line-height: 1.4;
}

.bug-stat-card strong {
	color: #f6f8f7;
	font-size: 30px;
}

.bug-stat-card small {
	color: #a9bbaa;
	font-size: 13px;
	font-weight: 600;
	grid-column: 2;
	text-transform: uppercase;
	letter-spacing: 0;
}

.bug-report-list {
	display: grid;
	gap: 12px;
}

.bug-report-row {
	display: grid;
	grid-template-columns: 134px minmax(0, 1fr) minmax(150px, auto);
	align-items: center;
	gap: 28px;
	min-height: 90px;
	padding: 16px 20px;
	border: 0;
	border-radius: 0;
	background: rgba(16, 24, 20, 0.96);
	box-shadow: none;
}

.bug-report-row:hover {
	background: rgba(22, 33, 27, 0.98);
}

.bug-report-main {
	min-width: 0;
}

.bug-report-labels,
.bug-report-details {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.bug-report-labels {
	gap: 7px;
	margin-bottom: 5px;
}

.bug-report-id {
	color: #86a389;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.55;
	text-transform: uppercase;
}

.bug-report-labels .bug-status {
	min-height: 26px;
	padding: 0 8px;
	font-size: 11px;
}

.bug-report-labels .bug-developer-badge {
	min-height: 26px;
	padding: 0 8px;
	font-size: 10px;
}

.bug-report-main h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.4;
}

.bug-report-main h3 a {
	color: #f8faf9;
	text-decoration: none;
}

.bug-report-main h3 a:hover {
	color: #b5c8b7;
}

.bug-report-details {
	gap: 4px 11px;
	margin-top: 6px;
	color: rgba(201, 213, 205, 0.7);
	font-size: 12px;
	line-height: 1.5;
}

.bug-report-details span + span {
	padding-left: 11px;
	border-left: 1px solid rgba(134, 163, 137, 0.3);
}

.bug-report-updated {
	display: grid;
	justify-items: end;
	gap: 3px;
	color: rgba(201, 213, 205, 0.74);
	font-size: 12px;
	line-height: 1.5;
	text-align: right;
	white-space: nowrap;
}

.bug-report-updated span {
	color: #86a389;
	font-weight: 700;
	text-transform: uppercase;
}

.bug-report-empty {
	padding: 44px 20px;
	border: 0;
	border-radius: 0;
	background: rgba(10, 16, 13, 0.82);
	color: rgba(233, 239, 235, 0.74);
	text-align: center;
}

.bug-vote-cell {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 134px;
}

.bug-score-number {
	min-width: 40px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.055);
	color: #f4f7f5;
	font-family: Oxanium, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	box-sizing: border-box;
}

.bug-vote-form {
	margin: 0;
}

.bug-vote-button {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(112, 140, 114, 0.52);
	border-radius: 0;
	background: rgba(112, 140, 114, 0.15);
	color: #e5ebe7;
	font-family: Oxanium, Arial, sans-serif;
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.bug-vote-button:hover,
.bug-vote-button.is-active {
	background: #78947b;
	color: #050907;
}

.bug-vote-button:disabled,
.bug-vote-button.is-disabled,
.bug-vote-button.is-disabled:hover {
	border-color: rgba(112, 140, 114, 0.2);
	background: rgba(112, 140, 114, 0.06);
	color: rgba(229, 235, 231, 0.36);
	cursor: default;
}

.bug-vote-note {
	color: rgba(217, 226, 220, 0.7);
	font-size: 12px;
	white-space: nowrap;
}

.bug-ticket-vote {
	display: inline-flex;
	align-items: center;
}

.bug-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 32px;
	padding: 0 11px;
	border: 0;
	border-radius: 0;
	background: rgba(112, 140, 114, 0.16);
	color: #bdd0bf;
	font-size: 13px;
	font-weight: 600;
}

.bug-lock-icon {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.bug-locked-heading {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bug-locked-heading .bug-lock-icon {
	width: 28px;
	height: 28px;
}

.bug-status.is-fixed,
.bug-status.is-closed {
	border-color: rgba(95, 208, 135, 0.34);
	background: rgba(95, 208, 135, 0.12);
	color: #b7edc9;
}

.bug-status.is-investigating {
	border-color: rgba(165, 178, 190, 0.34);
	background: rgba(165, 178, 190, 0.12);
	color: rgba(224, 230, 236, 0.92);
}

.bug-new-panel {
	margin-bottom: 26px;
}

.bug-new-ticket-workspace .bug-new-panel {
	margin-bottom: 0;
	padding: 30px;
}

.bug-new-ticket-workspace .bug-new-panel h2 {
	margin: 0 0 22px;
	font-size: 26px;
}

.bug-new-ticket-workspace .account-form {
	gap: 20px;
}

.bug-staff-panel {
	margin-top: 14px;
}

.bug-staff-form {
	margin-top: 12px;
}

.bug-ticket-detail {
	display: grid;
	gap: 14px;
}

.bug-ticket-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 4px;
}

.bug-ticket-meta > span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
}

.bug-notice {
	border-color: rgba(112, 140, 114, 0.34);
	background: rgba(112, 140, 114, 0.16);
}

.bug-evidence-panel {
	margin-top: 14px;
}

.bug-evidence-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
}

.bug-evidence-head h2 {
	margin: 0;
}

.bug-evidence-head span {
	border: 0;
	border-radius: 0;
	background: rgba(112, 140, 114, 0.14);
	color: var(--ruin-accent);
	font-family: Oxanium, Arial, sans-serif;
	font-size: 12px;
	padding: 7px 10px;
}

.bug-evidence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.bug-evidence-card {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: rgba(8, 10, 14, 0.66);
	overflow: hidden;
}

.bug-evidence-card a {
	display: block;
	aspect-ratio: 16 / 10;
	border: 1px solid rgba(112, 140, 114, 0.52);
	background: rgba(0, 0, 0, 0.32);
	overflow: hidden;
}

.bug-evidence-card img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.bug-evidence-card figcaption {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 10px;
	padding: 10px;
}

.bug-evidence-card figcaption span {
	color: #fff;
	font-family: Oxanium, Arial, sans-serif;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bug-evidence-card figcaption small {
	color: rgba(255, 245, 230, 0.56);
	font-size: 11px;
}

.bug-evidence-remove {
	grid-row: 1 / 3;
	grid-column: 2;
	margin: 0;
}

.bug-evidence-remove button {
	min-height: 30px;
	border: 1px solid rgba(112, 140, 114, 0.52);
	border-radius: 0;
	background: rgba(112, 140, 114, 0.12);
	color: var(--ruin-accent);
	font-family: Oxanium, Arial, sans-serif;
	font-size: 12px;
	cursor: pointer;
}

.bug-evidence-remove button:hover {
	background: rgba(112, 140, 114, 0.24);
}

.bug-evidence-form {
	padding-top: 4px;
}

.bug-file-input {
	min-height: 54px;
	padding: 8px;
	background: rgba(5, 9, 7, 0.96);
	cursor: pointer;
}

.bug-file-input::file-selector-button {
	min-height: 36px;
	margin-right: 12px;
	padding: 0 14px;
	border: 1px solid rgba(112, 140, 114, 0.72);
	border-radius: 0;
	background: #708c72;
	color: #050907;
	font-family: Oxanium, Arial, sans-serif;
	font-weight: 600;
	cursor: pointer;
}

.bug-file-input:hover,
.bug-file-input:focus-visible {
	border-color: #8ca68e;
}

.bug-file-input:hover::file-selector-button {
	border-color: #8ca68e;
	background: #8ca68e;
}

.bug-field-note {
	color: rgba(217, 226, 220, 0.72);
	font-size: 12px;
	line-height: 1.5;
}

.bug-comment {
	margin-top: 14px;
}

.bug-developer-response {
	background: rgba(42, 61, 49, 0.96);
}

.bug-comment-author {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.bug-comment-author small,
.bug-developer-badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 3px 7px;
	border: 0;
	border-radius: 0;
	background: rgba(128, 158, 132, 0.2);
	color: #b8d4ba;
	font-family: Oxanium, Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.bug-ticket-meta > .bug-developer-badge {
	background: rgba(128, 158, 132, 0.2);
	color: #b8d4ba;
}

.ruin-bug-page .acco
unt-panel {
	border: 0;
	border-radius: 0;
	background: rgba(16, 24, 20, 0.92);
}

.ruin-bug-page .account-button {
	border: 1px solid rgba(112, 140, 114, 0.52);
	border-radius: 0;
	background: rgba(112, 140, 114, 0.18);
}

@media (max-width: 900px) {
	.bug-topbar {
			align-items: flex-start;
			flex-direction: column;
		}

	.bug-actions {
			width: 100%;
			justify-content: flex-start;
		}

	.bug-stat-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

	.bug-report-row {
			grid-template-columns: 134px minmax(0, 1fr);
		}

	.bug-report-vote {
			grid-row: 1 / 3;
		}

	.bug-report-main {
			grid-column: 2;
			grid-row: 1;
		}

	.bug-report-updated {
			grid-column: 2;
			grid-row: 2;
			justify-items: start;
			text-align: left;
		}
}

@media (max-width: 620px) {
	.bug-page-content {
			padding-top: 34px;
			padding-bottom: 52px;
		}

	.bug-actions {
			display: grid;
			grid-template-columns: 1fr;
		}

	.bug-stat-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 12px;
		}

	.bug-stat-card {
			min-height: 112px;
			padding: 14px;
			grid-template-columns: 1fr;
			align-content: center;
			gap: 5px;
		}

	.bug-stat-card strong,
		.bug-stat-card small {
			grid-column: 1;
		}

	.bug-stat-card strong {
			font-size: 23px;
		}

	.bug-report-row {
			grid-template-columns: minmax(0, 1fr);
			gap: 12px;
			padding: 14px;
		}

	.bug-report-vote {
			grid-column: 1 / -1;
			grid-row: 1;
		}

	.bug-report-main {
			grid-column: 1;
			grid-row: 2;
		}

	.bug-report-updated {
			grid-column: 1;
			grid-row: 3;
			justify-items: start;
			text-align: left;
		}

	.bug-post {
			grid-template-columns: 42px minmax(0, 1fr);
			padding: 13px;
		}

	.bug-author-avatar,
		.bug-author-avatar img,
		.bug-author-avatar span {
			width: 42px;
			height: 42px;
		}

	.bug-post-head {
			align-items: flex-start;
			flex-direction: column;
			gap: 3px;
		}
}
