/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
	--bg: #f3efe6;
	--card: rgba(255, 255, 255, 0.65);
	--text: #1f1c16;
	--muted: rgba(31, 28, 22, 0.65);
	--border: rgba(31, 28, 22, 0.12);
	--accent: #1f1c16;
	--terminal-bg: #12100c;
	--terminal-fg: #f0e7d7;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	margin: 0;
}

.container {
	max-width: 860px;
	margin: 0 auto;
	padding: 24px;
}

.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px;
}

.button {
	display: inline-block;
	background: var(--accent);
	color: var(--bg);
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 12px;
	font-weight: 700;
	border: none;
	cursor: pointer;
}

.button:hover {
	opacity: 0.92;
}

.intro-page {
	min-height: calc(100vh - 48px);
	display: grid;
	gap: 16px;
}


.intro-title {
	margin: 0 0 6px;
	font-size: 28px;
}

.intro-subtitle {
	margin: 0 0 14px;
	color: var(--muted);
}

.retro-box {

	padding: 14px;
	background: rgba(255, 255, 255, 0.55);
}

.retro-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.retro-label {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 12px;
	letter-spacing: 0.5px;
	color: var(--muted);
}

.block-progress {
	margin-top: 10px;
	padding: 6px 10px;
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
		"Liberation Mono", "Courier New", monospace;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 1.5px;
	color: #1f1c16;
	text-align: center;
}

.block-progress__bar {
	display: inline-block;
	white-space: nowrap;
	min-width: 22ch; /* should match controller default length */
}

.terminal {
	margin-top: 12px;
	color: var(--terminal-fg);
	font-color: black;
	border-radius: 10px;
	padding: 10px 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 13px;
	line-height: 1.38;
	max-height: 220px;
	overflow: auto;
}

/* A single status line with fixed width to avoid layout shift.
   Dots are rendered via ::after and updated through data-dots. */
.terminal-status {
	white-space: nowrap;
	min-width: 34ch;
	display: inline-block;
}

.terminal-status::after {
	content: attr(data-dots);
	display: inline-block;
	width: 3ch;
}

.intro-video {
	width: 100%;
	max-height: 70vh;
	border-radius: 16px;
	border: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.06);
}

.intro-actions {
	display: flex;
	justify-content: flex-end;
}

.friends-list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
}

.friends-list li {
	border-top: 1px solid var(--border);
}

.friends-list li:first-child {
	border-top: none;
}

.friend-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	color: var(--text);
	text-decoration: none;
}

.friend-row:hover {
	opacity: 0.92;
}

.friend-meta {
	color: var(--muted);
}

.after-video {
	margin-top: 14px;
	display: none;
}

.intro--video-done .after-video {
	display: flex;
	justify-content: flex-end;
}
