/* ==========================================================================
   Live Now — /casts (docs/cast-system/PLAN.md section 7).

   Two parchment tables (parchment.css) on the theme's scroll: the public
   Lives as Tibia rows (the outfit in a sprite well, the name as the site's
   character link, "Level 342 · Elite Knight", how many watch), and a short
   box on going live. Nothing here is pressable but the character links.
   The outfit is a background image, so mobile.css cannot resize it (its
   blanket img rules; style guide 8). See docs/site-style-guide.md.
   ========================================================================== */
.lv-shell { position: relative; margin: 0; padding: 0 2px; color: #5A2800; font: 10pt/1.45 Verdana, Arial, sans-serif; }
.lv-shell *, .lv-shell *::before, .lv-shell *::after { box-sizing: border-box; }
.lv-shell a { color: #004294; font-weight: bold; text-decoration: none; }
.lv-shell a:hover { color: #0063DC; text-decoration: underline; }
.lv-shell :focus-visible { outline: 2px solid #d9b34e; outline-offset: 1px; }

/* One Live: well | name over level and vocation | watching. */
.lv-row { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 4px 10px 4px 6px; }
.lv-well {
	flex: 0 0 auto; position: relative; width: 48px; height: 48px;
	border: 1px solid #8a6f33; background: #efe6cc;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
	overflow: hidden;
}
/* The outfit image is 64px, drawn as the game draws a creature: the figure
   sits in the bottom-right 48px. The well shows exactly that part. */
.lv-outfit {
	position: absolute; right: 0; bottom: 0; width: 64px; height: 64px;
	background-repeat: no-repeat; background-position: right bottom;
	image-rendering: pixelated;
}
.lv-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.lv-name { font-size: 10pt; line-height: 1.35; overflow-wrap: anywhere; }
.lv-meta { color: #6b5b41; font-size: 9pt; }
.lv-watching { flex: 0 0 auto; color: #5A2800; font-size: 9pt; font-variant-numeric: tabular-nums; white-space: nowrap; }

.lv-empty { padding: 10px; text-align: center; }
.lv-foot { padding: 6px 10px; color: #6b5b41; font-size: 9pt; }
.lv-foot b { color: #5A2800; }
.lv-how { padding: 7px 10px 8px; }
.lv-how p { margin: 0; }
.lv-how p + p { margin-top: 4px; }

/* Phones: mobile.css forces 13px on every div/span/a/p; restate the scale
   once here (the only !important a page sheet may carry, style guide 8). */
@media (max-width: 900px) {
	#ContentColumn .lv-shell * { font-size: inherit !important; }
	#ContentColumn .lv-shell .lv-meta,
	#ContentColumn .lv-shell .lv-watching,
	#ContentColumn .lv-shell .lv-foot { font-size: 12px !important; }
	#ContentColumn .lv-shell .lv-name { font-size: 13px !important; }
	.lv-row { gap: 8px; padding: 4px 8px 4px 5px; }
}
