/* Front-end player dashboard. */

.tad-dashboard-page {
	box-sizing: border-box;
	max-width: 1120px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.tad-dashboard-page *,
.tad-dashboard-page *::before,
.tad-dashboard-page *::after {
	box-sizing: border-box;
}

.tad-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
}

.tad-dashboard-card {
	min-width: 0;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(10, 12, 18, 0.88);
	color: #f7f7fb;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.tad-dashboard-card-full {
	grid-column: 1 / -1;
}

.tad-dashboard-card h2,
.tad-dashboard-card h3,
.tad-dashboard-card p {
	margin-top: 0;
}

.tad-dashboard-card h2 {
	margin-bottom: 0.6rem;
	font-size: clamp(1.35rem, 2vw, 1.85rem);
	line-height: 1.15;
}

.tad-dashboard-card p,
.tad-dashboard-card li,
.tad-dashboard-card span {
	color: rgba(247, 247, 251, 0.84);
}

.tad-dashboard-card-header {
	margin-bottom: 1rem;
}

.tad-dashboard-card-source,
.tad-dashboard-eyebrow {
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.74rem;
	font-weight: 800;
	color: rgba(247, 247, 251, 0.58);
}

.tad-dashboard-handle {
	margin-bottom: 0;
	font-weight: 800;
	color: rgba(247, 247, 251, 0.72);
}

.tad-dashboard-meta-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	margin-top: 1.25rem;
}

.tad-dashboard-meta-grid > div {
	padding: 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.045);
}

.tad-dashboard-meta-grid span {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.8rem;
	color: rgba(247, 247, 251, 0.6);
}

.tad-dashboard-meta-grid strong {
	display: block;
	overflow-wrap: anywhere;
	color: #ffffff;
}

.tad-dashboard-good {
	color: #9ee6b3 !important;
}

.tad-dashboard-warning {
	color: #ffd166 !important;
}

.tad-dashboard-action-list {
	display: grid;
	gap: 0.75rem;
}

.tad-dashboard-action {
	display: block;
	padding: 1rem;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.055);
	text-decoration: none;
}

.tad-dashboard-action strong {
	display: block;
	margin-bottom: 0.25rem;
	color: #ffffff;
}

.tad-dashboard-action span {
	display: block;
	color: rgba(247, 247, 251, 0.72);
}

.tad-dashboard-action:hover,
.tad-dashboard-action:focus {
	text-decoration: none;
	filter: brightness(1.06);
}

.tad-dashboard-capability-list {
	display: grid;
	gap: 0.55rem;
}

.tad-dashboard-capability {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.65rem 0.75rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.055);
}

.tad-dashboard-capability span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 999px;
	font-weight: 900;
}

.tad-dashboard-capability.is-active span {
	background: rgba(43, 168, 89, 0.24);
	color: #9ee6b3;
}

.tad-dashboard-capability.is-inactive {
	opacity: 0.62;
}

.tad-dashboard-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	text-decoration: none;
	font-weight: 800;
	cursor: pointer;
}

.tad-dashboard-button-primary {
	background: #ffffff;
	color: #11131a;
}

.tad-dashboard-button:hover,
.tad-dashboard-button:focus {
	text-decoration: none;
	filter: brightness(1.04);
}

@media (max-width: 900px) {
	.tad-dashboard-grid,
	.tad-dashboard-meta-grid {
		grid-template-columns: 1fr;
	}

	.tad-dashboard-card-full,
	.tad-dashboard-card-half {
		grid-column: auto;
	}
}




/* v0.1.19 email-status link */
.tad-dashboard-status-link {
	display: inline-block;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: .18em;
}

.tad-dashboard-status-link:hover,
.tad-dashboard-status-link:focus {
	text-decoration-thickness: .16em;
}


/* v0.1.23 Current Access disclosure/accuracy refinement */
.tad-dashboard-capability-group {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.tad-dashboard-capability-group-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0;
	text-transform: uppercase;
}

