/* Foked character sheet. Screen first, then one clean A4 page on print. */

.foked-sheet {
	border: 2px solid rgba(17, 17, 17, 0.9);
	padding: 1.25rem;
}

.foked-sheet__head {
	border-bottom: 2px solid rgba(17, 17, 17, 0.9);
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
}

.foked-sheet__name {
	background-color: rgba(11, 92, 121, 0.9);
	margin-bottom: 0.35rem;
}

.foked-sheet__billing {
	font-family: 'Oswald', sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
}

.foked-sheet__level {
	color: #880000;
	float: right;
}

/* Stats: three boxes, because a stat is your flesh and should look like a wall. */
.foked-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.foked-stat {
	border: 2px solid rgba(17, 17, 17, 0.9);
	padding: 0.6rem 0.4rem;
	text-align: center;
}

.foked-stat__label {
	display: block;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
}

.foked-stat__value {
	display: block;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 3.4rem;
	line-height: 1;
	color: #0b5c79;
}

.foked-stat__wound {
	display: block;
	font-size: 0.7rem;
	color: #880000;
}

.foked-sheet__flesh {
	font-style: italic;
	font-size: 0.9rem;
}

.foked-entry {
	border-left: 3px solid #880000;
	padding-left: 0.7rem;
	margin-bottom: 0.6rem;
}

.foked-purse__chits {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.8rem;
	color: #e7d288;
	background-color: rgba(17, 17, 17, 0.9);
	padding: 0 0.4rem;
}

/* Blank lines the player fills in at the vendor. */
.foked-kit {
	margin-bottom: 1rem;
}

.foked-kit tbody td {
	height: 2.1rem;
	border-bottom: 1px solid rgba(17, 17, 17, 0.4);
}

.foked-hook {
	margin-bottom: 0.5rem;
}

.foked-sheet__seed {
	font-family: 'Oswald', sans-serif;
	font-size: 0.75rem;
	text-align: right;
	color: #666;
	margin: 0;
}

.foked-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 1.5rem 0;
}

.foked-actions form {
	margin: 0;
}

.foked-permalink code {
	word-break: break-all;
}

/* Wide tables scroll inside their own box rather than the page. */
.foked-table-scroll {
	overflow-x: auto;
}

@media (max-width: 480px) {
	.foked-stat__value { font-size: 2.6rem; }
}

/* One A4 page: the sheet only. No chrome, no vendor tables, no buttons. */
@media print {
	.no-print,
	header nav,
	body > header,
	body > footer,
	main > .grid > section:not(:first-child) {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 10pt;
	}

	.foked-sheet {
		border: 1.5pt solid #000;
		padding: 8pt;
	}

	.foked-sheet__name {
		background: none;
		color: #000;
		font-size: 24pt;
	}

	.foked-stat__value {
		color: #000;
		font-size: 30pt;
	}

	.foked-stat__wound,
	.foked-sheet__level {
		color: #000;
	}

	.foked-purse__chits {
		background: none;
		color: #000;
		border: 1pt solid #000;
	}

	.foked-entry {
		border-left: 2pt solid #000;
		page-break-inside: avoid;
	}

	h4 {
		background: none !important;
		color: #000 !important;
		border-bottom: 1pt solid #000;
		text-align: left;
	}
}
