/* TBook Decks — deck page, login and account dashboard. */

.tbook-deck-shell,
.tbook-deck-auth,
.tbook-deck-dashboard {
	--td-ink: #3a4f66;
	--td-muted: #64748b;
	--td-line: #dcdcde;
	--td-soft: #f6f7f7;
	--td-card: #fffdf7;
	--td-accent: #567a2b;
	--td-accent-dark: #41651f;
	--td-accent-soft: rgba(222, 240, 188, 0.45);
	--td-success: #047857;
	--td-success-soft: #ecfdf5;
	--td-warning: #9a5b1a;
	--td-warning-soft: #fffbeb;
	--td-danger: #b91c1c;
	--td-danger-soft: #fef2f2;
	--td-radius: 5px;
	--td-retro-green: rgba(152, 203, 82, 0.47);
	--td-retro-green-soft: rgba(222, 240, 188, 0.89);
	--td-retro-orange: rgba(207, 132, 63, 0.41);
	--td-retro-orange-soft: rgba(235, 204, 137, 0.83);
	--td-retro-author: #474747;
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto;
	color: var(--td-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
}

.tbook-deck-shell *,
.tbook-deck-auth *,
.tbook-deck-dashboard * {
	box-sizing: border-box;
}

/* The theme's own page title is redundant on these pages. */
.tbook-deck-page .post_header_single,
.tbook-deck-page .post_header,
.tbook-deck-page .entry-header,
.tbook-deck-account-page .post_header_single,
.tbook-deck-account-page .post_header,
.tbook-deck-account-page .entry-header,
.tbook-deck-login-page .post_header_single,
.tbook-deck-login-page .post_header,
.tbook-deck-login-page .entry-header {
	display: none;
}

.tbook-deck-eyebrow {
	margin: 0 0 6px;
	color: var(--td-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tbook-deck-muted {
	color: var(--td-muted);
	font-size: 13px;
}

/* Buttons */
.tbook-deck-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid var(--td-accent);
	border-radius: 9px;
	background: var(--td-accent);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tbook-deck-btn:hover {
	background: var(--td-accent-dark);
	border-color: var(--td-accent-dark);
	color: #fff;
	transform: translateY(-1px);
	text-decoration: none;
}

.tbook-deck-btn:focus-visible {
	outline: 2px solid var(--td-accent);
	outline-offset: 3px;
}

.tbook-deck-btn-quiet {
	background: #fff;
	color: var(--td-ink);
	border-color: #d1d5db;
}

.tbook-deck-btn-quiet:hover {
	background: var(--td-soft);
	color: var(--td-ink);
	border-color: #9ca3af;
}

.tbook-deck-btn-small {
	min-height: 34px;
	padding: 6px 12px;
	font-size: 12.5px;
	border-radius: 8px;
}

.tbook-deck-btn.is-danger {
	background: var(--td-danger);
	border-color: var(--td-danger);
}

.tbook-deck-btn.is-danger:hover {
	background: #991b1b;
	border-color: #991b1b;
}

/* Notices */
.tbook-deck-notice {
	margin: 0 0 18px;
	padding: 12px 15px;
	border: 1px solid var(--td-line);
	border-left-width: 4px;
	border-radius: 10px;
	background: var(--td-soft);
	color: var(--td-ink);
	font-size: 14px;
}

.tbook-deck-notice a {
	font-weight: 700;
	color: inherit;
	text-decoration: underline;
}

.tbook-deck-notice.is-success {
	border-color: #a7f3d0;
	border-left-color: var(--td-success);
	background: var(--td-success-soft);
	color: #065f46;
}

.tbook-deck-notice.is-error {
	border-color: #fecaca;
	border-left-color: var(--td-danger);
	background: var(--td-danger-soft);
	color: #7f1d1d;
}

.tbook-deck-notice.is-warning {
	border-color: #fde68a;
	border-left-color: #d97706;
	background: var(--td-warning-soft);
	color: var(--td-warning);
}

.tbook-deck-error,
.tbook-deck-write-error {
	color: var(--td-danger);
	font-weight: 600;
}

.tbook_deck_write_notice {
	margin: 16px 0;
	padding: 13px 16px;
	border: 1px solid #c7d2fe;
	border-radius: 10px;
	background: var(--td-accent-soft);
	color: #3730a3;
	font-size: 14px;
}

.tbook_deck_write_notice p {
	margin: 0;
}

.tbook_deck_write_notice a {
	font-weight: 700;
	color: var(--td-accent-dark);
	text-decoration: underline;
}

/* ── Deck page ─────────────────────────────────────────────── */
.tbook-deck-shell {
	padding-bottom: 30px;
}

.tbook-deck-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 28px;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	background: var(--td-card);
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.tbook-deck-title {
	margin: 0 0 4px;
	font-size: clamp(26px, 4vw, 38px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--td-ink);
}

.tbook-deck-tagline {
	margin: 0 0 8px;
	color: #374151;
	font-size: 16px;
}

.tbook-deck-meta {
	margin: 0;
	color: var(--td-muted);
	font-size: 13px;
}

.tbook-deck-meta span {
	margin: 0 6px;
}

.tbook-deck-header-actions {
	flex: 0 0 auto;
}

.tbook-deck-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin: 14px 0 0;
	padding: 10px 16px;
	border: 1px solid var(--td-line);
	border-radius: 10px;
	background: var(--td-soft);
	color: var(--td-muted);
	font-size: 13px;
}

.tbook-deck-bar-links {
	display: flex;
	gap: 14px;
}

.tbook-deck-bar a {
	color: var(--td-accent-dark);
	font-weight: 600;
	text-decoration: none;
}

.tbook-deck-bar a:hover {
	text-decoration: underline;
}

.tbook-deck-guestbook {
	margin-top: 20px;
}

.tbook-deck-closed {
	padding: 40px;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	background: var(--td-card);
	text-align: center;
}

.tbook-deck-closed h2 {
	margin: 0 0 8px;
}

/* ── Login ─────────────────────────────────────────────────── */
.tbook-deck-auth {
	max-width: 460px;
	padding: 30px;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	background: var(--td-card);
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.tbook-deck-auth-head h2 {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.15;
}

.tbook-deck-auth-head p {
	margin: 0 0 18px;
	color: var(--td-muted);
	font-size: 14px;
}

.tbook-deck-auth-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tbook-deck-auth-form label:not(.tbook-deck-check) {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
}

.tbook-deck-auth-form input[type="text"],
.tbook-deck-auth-form input[type="password"],
.tbook-deck-dashboard input[type="text"],
.tbook-deck-dashboard input[type="email"],
.tbook-deck-dashboard input[type="password"],
.tbook-deck-dashboard select {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	color: var(--td-ink);
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
}

.tbook-deck-auth-form input:focus,
.tbook-deck-dashboard input:focus,
.tbook-deck-dashboard select:focus {
	border-color: var(--td-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.tbook-deck-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
	color: #374151;
	font-size: 13px;
}

.tbook-deck-check input {
	width: 16px;
	height: 16px;
	accent-color: var(--td-accent);
}

.tbook-deck-auth-form .tbook-deck-btn {
	margin-top: 8px;
	width: 100%;
}

.tbook-deck-auth-error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #fecaca;
	border-radius: 8px;
	background: var(--td-danger-soft);
	color: #7f1d1d;
	font-size: 13px;
	font-weight: 600;
}

.tbook-deck-auth-foot,
.tbook-deck-auth-note {
	margin: 14px 0 0;
	color: var(--td-muted);
	font-size: 13px;
	text-align: center;
}

.tbook-deck-auth-foot a {
	color: var(--td-accent-dark);
	font-weight: 600;
}

.tbook-deck-auth-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ── Dashboard ─────────────────────────────────────────────── */
.tbook-deck-dashboard {
	padding-bottom: 40px;
}

.tbook-deck-dash-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.tbook-deck-dash-head h1 {
	margin: 0 0 4px;
	font-size: clamp(26px, 4vw, 36px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.tbook-deck-dash-sub {
	margin: 0;
	color: var(--td-muted);
	font-size: 13px;
}

.tbook-deck-dash-sub a {
	color: var(--td-accent-dark);
	text-decoration: none;
	word-break: break-all;
}

.tbook-deck-dash-head-actions,
.tbook-deck-dash-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.tbook-deck-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tbook-deck-badge.is-active {
	background: var(--td-success-soft);
	color: var(--td-success);
}

.tbook-deck-badge.is-closed {
	background: #f3f4f6;
	color: #4b5563;
}

.tbook-deck-tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin: 0 0 18px;
	padding: 4px;
	border: 1px solid var(--td-line);
	border-radius: 12px;
	background: var(--td-soft);
}

.tbook-deck-tabs a {
	padding: 9px 14px;
	border-radius: 9px;
	color: var(--td-muted);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.tbook-deck-tabs a:hover {
	color: var(--td-ink);
	background: #fff;
}

.tbook-deck-tabs a.is-active {
	background: #fff;
	color: var(--td-ink);
	box-shadow: 0 1px 3px rgba(17, 24, 39, 0.1);
}

.tbook-deck-panel {
	padding: 26px;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	background: var(--td-card);
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.tbook-deck-panel-head {
	margin-bottom: 18px;
}

.tbook-deck-panel-head h2 {
	margin: 0 0 4px;
	font-size: 22px;
	line-height: 1.2;
}

.tbook-deck-panel-head p {
	margin: 0;
	color: var(--td-muted);
	font-size: 14px;
}

.tbook-deck-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.tbook-deck-stat {
	padding: 16px;
	border: 1px solid var(--td-line);
	border-radius: 12px;
	background: var(--td-soft);
}

.tbook-deck-stat span {
	display: block;
	margin-bottom: 3px;
	color: var(--td-muted);
	font-size: 12px;
	font-weight: 600;
}

.tbook-deck-stat strong {
	font-size: 20px;
	line-height: 1.2;
}

.tbook-deck-quick {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tbook-deck-quick-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 1px solid var(--td-line);
	border-radius: 12px;
	background: #fff;
	color: var(--td-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbook-deck-quick-card:hover {
	border-color: #c7d2fe;
	box-shadow: 0 8px 20px rgba(79, 70, 229, 0.08);
	text-decoration: none;
}

.tbook-deck-quick-card strong {
	font-size: 14px;
}

.tbook-deck-quick-card span {
	color: var(--td-muted);
	font-size: 13px;
}

.tbook-deck-hint {
	margin: 16px 0 0;
	padding: 10px 13px;
	border-radius: 9px;
	background: var(--td-soft);
	color: var(--td-muted);
	font-size: 13px;
}

.tbook-deck-hint.is-warning {
	background: var(--td-warning-soft);
	color: var(--td-warning);
}

.tbook-deck-table-wrap {
	overflow-x: auto;
	margin: 0 0 22px;
	border: 1px solid var(--td-line);
	border-radius: 12px;
}

.tbook-deck-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.tbook-deck-table th,
.tbook-deck-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--td-line);
	text-align: left;
	vertical-align: top;
}

.tbook-deck-table th {
	background: var(--td-soft);
	color: var(--td-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tbook-deck-table tr:last-child td {
	border-bottom: 0;
}

.tbook-deck-row-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 160px;
}

.tbook-deck-row-actions form {
	margin: 0;
}

.tbook-deck-privilege-form {
	margin: 0;
}

.tbook-deck-privilege {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--td-ink);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.tbook-deck-privilege input {
	margin: 0;
}

.tbook-deck-reset summary {
	color: var(--td-accent-dark);
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
}

.tbook-deck-reset form {
	display: flex;
	gap: 6px;
	margin-top: 7px;
}

.tbook-deck-reset input {
	min-height: 34px !important;
	padding: 6px 9px !important;
	font-size: 12.5px !important;
}

.tbook-deck-subpanel {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--td-line);
}

.tbook-deck-subpanel h3 {
	margin: 0 0 4px;
	font-size: 17px;
}

.tbook-deck-subpanel p {
	margin: 0 0 14px;
	color: var(--td-muted);
	font-size: 13.5px;
}

.tbook-deck-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.tbook-deck-form-grid label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: var(--td-ink);
	font-size: 13px;
	font-weight: 650;
}

.tbook-deck-form-grid input[disabled] {
	background: var(--td-soft);
	color: var(--td-muted);
}

.tbook-deck-field-wide,
.tbook-deck-form-actions {
	grid-column: 1 / -1;
}

.tbook-deck-form-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 2px;
}

.tbook-deck-billing {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.tbook-deck-billing-card {
	padding: 18px;
	border: 1px solid var(--td-line);
	border-radius: 12px;
	background: var(--td-soft);
}

.tbook-deck-billing-card span {
	display: block;
	color: var(--td-muted);
	font-size: 12px;
	font-weight: 600;
}

.tbook-deck-billing-card strong {
	display: block;
	margin: 3px 0 4px;
	font-size: 20px;
}

.tbook-deck-billing-card p {
	margin: 0;
	color: var(--td-muted);
	font-size: 13px;
}

@media (max-width: 860px) {
	.tbook-deck-stats,
	.tbook-deck-quick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tbook-deck-billing {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.tbook-deck-header,
	.tbook-deck-panel,
	.tbook-deck-auth {
		padding: 20px;
	}
	.tbook-deck-header {
		flex-direction: column;
	}
	.tbook-deck-stats,
	.tbook-deck-quick,
	.tbook-deck-form-grid {
		grid-template-columns: 1fr;
	}
	.tbook-deck-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
	}
	.tbook-deck-tabs a {
		white-space: nowrap;
	}
}

/* Deck uploads: no destination picker, no media-library picker. */
.tbook-deck-upload-note {
	margin: 6px 0 10px;
	padding: 8px 11px;
	border: 1px solid #c7d2fe;
	border-radius: 8px;
	background: var(--td-accent-soft);
	color: #3730a3;
	font-size: 12.5px;
	line-height: 1.45;
}

/* Remove the gap the theme reserved for the hidden site header. */
.tbook-deck-page #content,
.tbook-deck-page #primary {
	margin-top: 0;
}

.tbook-deck-page .tbook-deck-shell {
	padding-top: 20px;
}

/* Tighter deck header with the member list. */
.tbook-deck-page .tbook-deck-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px 28px;
	padding: 20px 24px;
	border-radius: 14px;
}

.tbook-deck-page .tbook-deck-header-main {
	min-width: 0;
}

.tbook-deck-page .tbook-deck-title {
	margin-bottom: 3px;
	font-size: clamp(26px, 3.4vw, 34px);
}

.tbook-deck-page .tbook-deck-tagline {
	margin-bottom: 6px;
	font-size: 15px;
}

.tbook-deck-page .tbook-deck-meta {
	font-size: 12.5px;
}

.tbook-deck-members {
	min-width: 170px;
	padding-left: 24px;
	border-left: 1px solid var(--td-line);
}

.tbook-deck-members-label {
	display: block;
	color: var(--td-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tbook-deck-member-list {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.tbook-deck-member-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 12.5px;
	line-height: 1.25;
}

.tbook-deck-member-list li::before {
	content: "";
	flex: 0 0 auto;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--td-accent);
}

.tbook-deck-member-avatar {
	display: inline-flex;
	flex: 0 0 auto;
	line-height: 0;
}

.tbook-deck-member-avatar img {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
}

.tbook-deck-member-name {
	overflow: hidden;
	color: var(--td-ink);
	font-weight: 600;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbook-deck-member-name:hover {
	color: var(--td-accent-dark);
	text-decoration: underline;
}

.tbook-deck-member-role {
	flex: 0 0 auto;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--td-accent-soft);
	color: var(--td-accent-dark);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

@media (max-width: 760px) {
	.tbook-deck-page .tbook-deck-header {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 18px;
	}

	.tbook-deck-members {
		padding-top: 14px;
		padding-left: 0;
		border-top: 1px solid var(--td-line);
		border-left: 0;
	}

	.tbook-deck-member-list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px 14px;
	}
}

/* Theme paragraph/heading margins add height; reset them inside the header. */
.tbook-deck-page .tbook-deck-header-main > .tbook-deck-eyebrow {
	margin: 0 0 3px;
	font-size: 10px;
}

.tbook-deck-page .tbook-deck-header-main > .tbook-deck-title {
	margin: 0 0 3px;
	font-size: clamp(24px, 2.8vw, 30px);
	line-height: 1.15;
}

.tbook-deck-page .tbook-deck-header-main > .tbook-deck-tagline {
	margin: 0 0 5px;
	font-size: 14px;
}

.tbook-deck-page .tbook-deck-header-main > .tbook-deck-meta {
	margin: 0;
}

.tbook-deck-page .tbook-deck-header {
	gap: 14px 20px;
	padding: 18px 20px;
}

.tbook-deck-page .tbook-deck-members {
	min-width: 150px;
	padding-left: 18px;
}

.tbook-deck-page .tbook-deck-member-list {
	gap: 6px;
	margin-top: 6px;
}

.tbook-deck-page .tbook-deck-member-avatar img {
	width: 24px;
	height: 24px;
}

.tbook-deck-account-page #content,
.tbook-deck-account-page #primary,
.tbook-deck-login-page #content,
.tbook-deck-login-page #primary {
	margin-top: 0;
}

.tbook-deck-account-page .tbook-deck-dashboard {
	padding-top: 20px;
}

.tbook-deck-login-page .tbook-deck-auth {
	margin-top: 40px;
}

/* Multiple decks and member search. */
.tbook-deck-switcher {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 10px 14px;
	border: 1px solid var(--td-line);
	border-radius: 12px;
	background: #fff;
}

.tbook-deck-switcher label {
	color: var(--td-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tbook-deck-switcher select {
	min-width: 220px;
	min-height: 38px;
	padding: 6px 10px;
	border: 1px solid var(--td-line);
	border-radius: 9px;
	background: #fff;
	color: var(--td-ink);
	font-size: 14px;
}

.tbook-deck-user-search {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.tbook-deck-user-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--td-line);
	border-radius: 9px;
	background: #fff;
	font-size: 14px;
}

.tbook-deck-user-search button {
	flex: 0 0 auto;
}

.tbook-deck-user-results {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	empty-cells: hide;
}

.tbook-deck-user-result {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--td-line);
	border-radius: 11px;
	background: #fff;
}

.tbook-deck-user-result .avatar {
	flex: 0 0 auto;
	border-radius: 50%;
}

.tbook-deck-user-result-info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.tbook-deck-user-result-info strong {
	overflow: hidden;
	color: var(--td-ink);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbook-deck-user-result-info span {
	overflow: hidden;
	color: var(--td-muted);
	font-size: 12.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbook-deck-user-result .tbook-deck-btn {
	flex: 0 0 auto;
}

.tbook-deck-user-search-panel + .tbook-deck-subpanel {
	margin-top: 22px;
}

@media (max-width: 640px) {
	.tbook-deck-switcher {
		align-items: flex-start;
		flex-direction: column;
	}

	.tbook-deck-switcher select {
		width: 100%;
	}

	.tbook-deck-user-search {
		flex-direction: column;
	}

	.tbook-deck-user-search button {
		width: 100%;
	}
}

/* ── Retro Embassy global defaults ─────────────────────────────
 * Values lifted from the production YellowPencil guestbook styling:
 * cream paper, 2px soft green/orange borders, 5px corners, 11/13px
 * spacing and McLaren accents. Deck-specific boxes inherit the same
 * rhythm so they read as part of the same site.
 */
.tbook-deck-page #main,
.tbook-deck-account-page #main,
.tbook-deck-login-page #main {
	background-color: #fafbfc;
	background-image: url("../images/retro-worn-dots.png");
	background-attachment: fixed;
}

.tbook-deck-page .tbook-deck-header,
.tbook-deck-dashboard .tbook-deck-panel,
.tbook-deck-auth {
	border: 2px solid var(--td-retro-green);
	border-radius: 5px;
	background-color: #fffdf7;
	background-image: url("../images/retro-cream-pixels.png");
	box-shadow: 0 0 1px 1px var(--td-retro-green-soft);
}

.tbook-deck-page .tbook-deck-header {
	padding: 14px 20px;
	gap: 14px 20px;
}

.tbook-deck-page .tbook-deck-title,
.tbook-deck-dashboard .tbook-deck-dash-head h1,
.tbook-deck-auth-head h2,
.tbook-deck-panel-head h2,
.tbook-deck-subpanel h3 {
	font-family: 'Carrois Gothic SC', 'Atkinson Hyperlegible', sans-serif;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--td-ink);
}

.tbook-deck-eyebrow,
.tbook-deck-members-label,
.tbook-deck-chain-head h2,
.tbook-deck-stat span {
	font-family: 'McLaren', display;
	letter-spacing: 0.06em;
	color: var(--td-retro-author);
}

.tbook-deck-page .tbook-deck-members {
	padding-left: 20px;
	border-left: 1px dashed var(--td-line);
}

.tbook-deck-member-list li {
	font-family: 'McLaren', display;
	color: var(--td-retro-author);
}

.tbook-deck-member-list li::before {
	background: var(--td-accent);
}

.tbook-deck-member-name {
	color: var(--td-retro-author);
	font-family: 'McLaren', display;
	font-weight: 400;
}

.tbook-deck-member-name:hover {
	color: var(--td-accent-dark);
}

.tbook-deck-page .tbook-deck-member-avatar img {
	width: 28px;
	height: 28px;
}

.tbook-deck-bar {
	margin-top: 11px;
	padding: 10px 15px;
	border: 2px solid var(--td-retro-orange);
	border-radius: 5px;
	background-color: #fffdf7;
	background-image: url("../images/retro-cream-pixels.png");
	color: var(--td-retro-author);
	box-shadow: 0 0 1px 1px var(--td-retro-orange-soft);
}

.tbook-deck-bar a {
	color: var(--td-accent-dark);
	font-family: 'McLaren', display;
	font-weight: 400;
}

.tbook-deck-page .tbook-deck-guestbook {
	margin-top: 11px;
}

.tbook-deck-btn {
	border-radius: 10px;
	border-color: var(--td-accent);
	background: var(--td-accent);
}

.tbook-deck-btn:hover {
	border-color: var(--td-accent-dark);
	background: var(--td-accent-dark);
}

.tbook-deck-btn-quiet {
	border-color: #dcdcde;
	background: #f6f7f7;
	color: #1d2327;
}

.tbook-deck-btn-quiet:hover {
	border-color: #b9bdc2;
	background: #fffdf7;
	color: #1d2327;
}

.tbook-deck-btn-small {
	border-radius: 5px;
}

.tbook-deck-notice,
.tbook-deck-hint,
.tbook-deck-switcher,
.tbook-deck-user-search input[type="search"],
.tbook-deck-user-result,
.tbook-deck-table-wrap {
	border-radius: 5px;
}

.tbook-deck-switcher {
	border: 2px solid var(--td-retro-green);
	background-color: #fffdf7;
	background-image: url("../images/retro-cream-pixels.png");
	box-shadow: 0 0 1px 1px var(--td-retro-green-soft);
}

.tbook-deck-switcher select,
.tbook-deck-dashboard input[type="text"],
.tbook-deck-dashboard input[type="email"],
.tbook-deck-dashboard input[type="password"],
.tbook-deck-dashboard select,
.tbook-deck-auth-form input[type="text"],
.tbook-deck-auth-form input[type="password"] {
	border-radius: 5px;
	border-color: #dcdcde;
	background-color: #fff;
}

.tbook-deck-dashboard input:focus,
.tbook-deck-dashboard select:focus,
.tbook-deck-auth-form input:focus {
	border-color: var(--td-accent);
	box-shadow: 0 0 0 1px var(--td-accent);
}

.tbook-deck-dashboard .tbook-deck-panel {
	padding: 22px;
}

.tbook-deck-tabs {
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #f6f7f7;
}

.tbook-deck-tabs a {
	border-radius: 5px;
	color: var(--td-retro-author);
}

.tbook-deck-tabs a.is-active {
	background: #fffdf7;
	box-shadow: inset 0 0 0 1px var(--td-retro-green);
	color: var(--td-ink);
}

.tbook-deck-stat {
	border: 2px solid var(--td-retro-orange);
	border-radius: 5px;
	background: rgba(235, 204, 137, 0.18);
	box-shadow: 0 0 1px 1px var(--td-retro-orange-soft);
}

.tbook-deck-stat span {
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: 0.08em;
}

.tbook-deck-quick-card {
	border: 2px solid var(--td-retro-green);
	border-radius: 5px;
	background-color: #fffdf7;
	background-image: url("../images/retro-cream-pixels.png");
	box-shadow: 0 0 1px 1px var(--td-retro-green-soft);
}

.tbook-deck-quick-card:nth-child(even) {
	border-color: var(--td-retro-orange);
	box-shadow: 0 0 1px 1px var(--td-retro-orange-soft);
}

.tbook-deck-quick-card:hover {
	border-color: var(--td-accent);
	box-shadow: 0 0 1px 1px var(--td-retro-green-soft);
}

.tbook-deck-quick-card strong {
	font-family: 'McLaren', display;
	font-weight: 400;
	color: var(--td-retro-author);
}

.tbook-deck-table-wrap {
	border: 2px solid var(--td-line);
}

.tbook-deck-table th {
	background: rgba(235, 204, 137, 0.18);
	color: var(--td-retro-author);
	font-family: 'McLaren', display;
	font-weight: 400;
}

.tbook-deck-subpanel {
	border-top: 1px dashed var(--td-line);
}

.tbook-deck-hint {
	background: #f6f7f7;
	color: var(--td-retro-author);
}

.tbook-deck-hint.is-warning {
	background: var(--td-warning-soft);
	color: var(--td-warning);
}

.tbook-deck-auth {
	padding: 26px;
}

.tbook-deck-auth-head h2 {
	font-size: 30px;
}

.tbook-deck-auth-head p,
.tbook-deck-dash-sub,
.tbook-deck-panel-head p {
	color: var(--td-retro-author);
}

/* Blocksy's submit-button rule is more specific than .tbook-deck-btn. */
button.tbook-deck-btn:not(.is-danger),
input.tbook-deck-btn:not(.is-danger),
.tbook-deck-btn[type="submit"]:not(.is-danger) {
	border-color: var(--td-accent) !important;
	background-color: var(--td-accent) !important;
	color: #fff !important;
}

button.tbook-deck-btn:not(.is-danger):hover,
input.tbook-deck-btn:not(.is-danger):hover,
.tbook-deck-btn[type="submit"]:not(.is-danger):hover {
	border-color: var(--td-accent-dark) !important;
	background-color: var(--td-accent-dark) !important;
	color: #fff !important;
}

.tbook-deck-guestbook {
	padding: 11px 13px;
	border-radius: 5px;
	background-color: #fffdf7;
	background-image: url("../images/retro-cream-pixels.png");
}

/* Refinement: let the boxes breathe. Colour is reserved for actions and
 * selected states; the many deck boxes use a quiet neutral edge. */
.tbook-deck-page .tbook-deck-header,
.tbook-deck-dashboard .tbook-deck-panel,
.tbook-deck-auth {
	border: 1px solid var(--td-line);
	box-shadow: 0 1px 2px rgba(58, 79, 102, 0.05);
}

.tbook-deck-bar,
.tbook-deck-switcher {
	border: 1px solid var(--td-line);
	box-shadow: none;
}

.tbook-deck-stat,
.tbook-deck-quick-card,
.tbook-deck-quick-card:nth-child(even),
.tbook-deck-table-wrap {
	border: 1px solid var(--td-line);
	box-shadow: none;
}

.tbook-deck-quick-card:hover {
	border-color: #b9bdc2;
	box-shadow: 0 3px 10px rgba(58, 79, 102, 0.07);
}

.tbook-deck-tabs a.is-active {
	box-shadow: inset 0 0 0 1px var(--td-line);
}

.tbook-deck-user-result {
	border-color: var(--td-line);
}

/* Hybrid pass: keep the calm structure, bring colour back as an accent
 * instead of outlining every nested box. */
.tbook-deck-page .tbook-deck-header {
	border: 2px solid var(--td-retro-green);
	box-shadow: 0 0 1px 1px var(--td-retro-green-soft);
}

.tbook-deck-tabs a.is-active {
	box-shadow: inset 0 -3px 0 var(--td-retro-green);
}

/* With the site header restored, trim the theme's large top content gap. */
.tbook-deck-page .ct-container-full,
.tbook-deck-account-page .ct-container-full,
.tbook-deck-login-page .ct-container-full {
	padding-top: 20px;
}

.tbook-deck-login-page .tbook-deck-auth {
	margin-top: 20px;
}

/* Final border pass: neutral edges everywhere; colour is left to YellowPencil. */
.tbook-deck-page .tbook-deck-header {
	border: 1px solid var(--td-line);
	box-shadow: 0 1px 2px rgba(58, 79, 102, 0.05);
}

.tbook-deck-tabs a.is-active {
	box-shadow: inset 0 0 0 1px var(--td-line);
}

/* Pull the deck content closer to the restored site header. */
.tbook-deck-page .tbook-deck-shell {
	margin-top: -40px;
}

/* No frame around the deck as a whole; colour lives in the smaller boxes. */
.tbook-deck-page .tbook-deck-header {
	border: 0;
	box-shadow: none;
}

/* Match retroembassy.com's page measure: 95vw on mobile, 1140px max on
 * desktop, with the guestbook using the full width of that measure. */
.tbook-deck-page .tbook-deck-shell {
	width: min(95vw, 1140px);
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

.tbook-deck-page .tbook-deck-guestbook {
	padding-left: 0;
	padding-right: 0;
}

/* Deck filter bar sits directly under the header; the raw total row is noise. */
.tbook-deck-page .tbook-count-row {
	display: none;
}

.tbook-deck-page .tbook-filters-wrap {
	margin-top: 0;
}

.tbook-deck-page .tbook-gb .tbook-count-row {
	display: none;
}

/* Deck Collections box: matches the deck header's paper, type and spacing. */
.tbook-deck-page .tbook-deck-collections-box {
	margin: 11px 0 16px;
	padding: 13px;
	border: 1px solid var(--td-line);
	border-radius: 5px;
	background-color: #fffdf7;
	background-image: url("../images/retro-cream-pixels.png");
	box-shadow: none;
}

.tbook-deck-page .tbook-deck-collections-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 11px;
}

.tbook-deck-page .tbook-deck-collections-kicker {
	display: block;
	margin-bottom: 2px;
	color: var(--td-retro-author);
	font-family: 'McLaren', display;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tbook-deck-page .tbook-deck-collections-head h2 {
	margin: 0;
	color: var(--td-ink);
	font-family: 'Carrois Gothic SC', 'Atkinson Hyperlegible', sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.1;
}

.tbook-deck-page .tbook-deck-carousel-link {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--td-accent-dark);
	font: inherit;
	text-align: right;
	cursor: pointer;
}

.tbook-deck-page .tbook-deck-carousel-count {
	color: var(--td-ink);
	font-family: 'McLaren', display;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbook-deck-page .tbook-deck-carousel-label {
	color: var(--td-muted);
	font-family: 'McLaren', display;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tbook-deck-page .tbook-deck-carousel-link:hover .tbook-deck-carousel-count {
	color: var(--td-accent);
}

.tbook-deck-page .tbook-deck-collections-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 11px;
}

.tbook-deck-page .tbook-deck-collections-empty {
	margin: 0;
	color: var(--td-muted);
	font-size: 13px;
}

.tbook-deck-page .tbook-deck-collection {
	display: flex;
	align-items: center;
	gap: 11px;
	width: 100%;
	padding: 9px 10px;
	border: 1px solid var(--td-line);
	border-radius: 5px;
	background: #fffdf7;
	color: var(--td-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.tbook-deck-page .tbook-deck-collection::before {
	display: none;
}

.tbook-deck-page .tbook-deck-collection:hover {
	border-color: var(--td-line);
	background: #f6f7f7;
}

.tbook-deck-page .tbook-deck-collection-thumb {
	display: inline-flex;
	flex: 0 0 54px;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border: 1px solid var(--td-line);
	border-radius: 5px;
	background: #f6f7f7;
	color: var(--td-muted);
	font-family: 'Carrois Gothic SC', sans-serif;
	font-size: 20px;
}

.tbook-deck-page .tbook-deck-collection-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tbook-deck-page .tbook-deck-collection-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbook-deck-page .tbook-deck-collection .tbook-album-submenu-name {
	overflow: hidden;
	color: var(--td-ink);
	font-family: 'McLaren', display;
	font-size: 13px;
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbook-deck-page .tbook-deck-collection-count {
	color: var(--td-muted);
	font-size: 11px;
}

@media (max-width: 620px) {
	.tbook-deck-page .tbook-deck-collections-head {
		align-items: flex-start;
	}

	.tbook-deck-page .tbook-deck-carousel-link {
		align-items: flex-start;
		text-align: left;
	}

	.tbook-deck-page .tbook-deck-collections-list {
		grid-template-columns: 1fr;
	}
}

/* Entries count is the carousel link, directly above the first post. */
.tbook-deck-page .tbook-gb .page-navigation {
	padding: 0 0 6px;
}

.tbook-deck-page .tbook-gb .tbook-count-row {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 11px;
	padding: 0;
}

.tbook-deck-page .tbook-deck-count-link {
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--td-ink);
	font-family: 'McLaren', display;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.tbook-deck-page .tbook-deck-count-link:hover {
	color: var(--td-accent);
}

.tbook-deck-page .tbook-deck-collections-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 11px;
}

.tbook-deck-page .tbook-deck-manage-collections,
.tbook-deck-page .tbook-deck-manage-btn {
	padding: 4px 8px;
	border: 1px solid var(--td-line);
	border-radius: 5px;
	background: #fffdf7;
	color: var(--td-accent-dark);
	font-family: 'McLaren', display;
	font-size: 11px;
	line-height: 1.3;
	cursor: pointer;
}

.tbook-deck-page .tbook-deck-manage-collections:hover,
.tbook-deck-page .tbook-deck-manage-btn:hover {
	background: #f6f7f7;
}

/* Pull all deck/system content flush under the site header. */
.tbook-deck-page .tbook-deck-shell {
	margin-top: -60px;
	padding-top: 0;
}

.tbook-deck-account-page .tbook-deck-dashboard {
	margin-top: -60px;
}

.tbook-deck-login-page .tbook-deck-auth {
	margin-top: -40px;
}

/* Stronger than theme/global resets for system pages. */
.tbook-deck-account-page .tbook-deck-dashboard {
	margin-top: -60px !important;
}

.tbook-deck-login-page .tbook-deck-auth {
	margin-top: -60px !important;
}

.tbook-deck-storage-bar {
	height: 7px;
	overflow: hidden;
	margin-top: 8px;
	border-radius: 999px;
	background: #e5e7eb;
}

.tbook-deck-storage-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--td-accent);
}

/* Keep the main deck boxes inside the page borders and align their frames. */
.tbook-deck-page .tbook-deck-header,
.tbook-deck-page .tbook-deck-collections-box,
.tbook-deck-page .tbook_deck_write_notice,
.tbook-deck-page .tbook-deck-notice.is-warning {
	width: 95%;
	max-width: 95%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	border: 1px solid #dcdcde;
	border-radius: 5px;
}

/* Deck settings shortcut beside the deck name. */
.tbook-deck-settings-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border: 1px solid #dcdcde;
	border-radius: 5px;
	background: #fffdf7;
	color: #374151;
	font: inherit;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tbook-deck-settings-link:hover {
	background: #f3f4f6;
	border-color: #c7c9cc;
	color: #111827;
	text-decoration: none;
}

/* Entries use the same 95% content column as the deck boxes. */
.tbook-deck-page .tbook-gb {
	width: 95%;
	max-width: 95%;
	margin-left: auto;
	margin-right: auto;
}
.tbook-deck-page .tbook-gb .tbook_deck_write_notice {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
/* Bring the main collection box up against the deck header. */
.tbook-deck-page .tbook-deck-guestbook {
	margin-top: 0;
	padding-top: 0;
}
.tbook-deck-page .tbook-deck-collections-box {
	margin-top: 0;
}

/* The guestbook wrapper is the main deck surface on the dark/technical themes.
   Keep it the same width as the deck header and let its children fill it. */
.tbook-deck-page .tbook-deck-guestbook {
	width: 95%;
	max-width: 95%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
.tbook-deck-page .tbook-deck-guestbook .tbook-deck-collections-box,
.tbook-deck-page .tbook-deck-guestbook .tbook-gb {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Inset the lower box contents so their borders never touch the main surface. */
.tbook-deck-page .tbook-deck-guestbook {
	padding-left: 2.5%;
	padding-right: 2.5%;
}

/* Breathing room above the Library box inside the main deck surface. */
.tbook-deck-page .tbook-deck-guestbook {
	padding-top: 18px;
}
@media (max-width: 620px) {
	.tbook-deck-page .tbook-deck-guestbook {
		padding-top: 14px;
	}
}

/* Remove the theme's oversized bottom gutter on deck pages. */
.tbook-deck-page .tbook-deck-shell {
	padding-bottom: 0;
}
.tbook-deck-page .ct-container-full {
	padding-bottom: 0;
}

/* Match the footer breath: 24px between the site header and deck header. */
.tbook-deck-page .tbook-deck-shell {
	padding-top: 24px;
}
.tbook-deck-member-name {
	cursor: default;
}
/* Preserve the authors' line breaks in deck posts. */
.tbook-deck-page .gb-entry-content {
	white-space: pre-line;
}
/* Keep feature-card artwork visible while preserving title contrast. */
.tbook-deck-page .tbook-deck-card-shade {
	background: linear-gradient(180deg, rgba(0,0,0,0) 36%, rgba(0,0,0,.56) 100%);
}

/* Match the deck page rhythm on the login page: 24px top, 24px bottom. */
.tbook-deck-login-page .tbook-deck-auth {
	margin-top: -36px !important;
}
.tbook-deck-login-page .ct-container-full {
	padding-bottom: 0;
}

/* Main signup page: 24px breathing room above and below. */
.tbook-deck-signup-page .tbook-deck-signup {
	margin-top: -36px !important;
}
.tbook-deck-signup-page .ct-container-full {
	padding-bottom: 0;
}

/* Second-factor sign-in step. */
.tbook-deck-auth--mfa .tbook-deck-auth-form {
	margin-top: 18px;
}
.tbook-deck-auth--mfa .tbook-deck-mfa-code {
	text-align: center;
	font-size: 22px;
	letter-spacing: .28em;
	font-variant-numeric: tabular-nums;
}

/* Deck audio playlists: warm, readable player instead of the global admin skin. */
.tbook-deck-page .tbook-audio-playlist,
.tbook-deck-page .tbook-audio-player {
	--tb-pl-bg: rgba(44, 31, 31, .96) !important;
	--tb-pl-text: #f7f1e3 !important;
	--tb-pl-active: #d88a4a !important;
	--tb-pl-active-text: #2a1713 !important;
	--tb-vis: #d88a4a !important;
}

.tbook-deck-page .tbook-audio-playlist .vjs-control-bar {
	border-radius: 10px;
	background-color: #2f2023 !important;
	background-image: linear-gradient(90deg, #3a2628 0%, #2a1d20 100%) !important;
	color: #f7f1e3 !important;
}

.tbook-deck-page .tbook-audio-playlist .vjs-control-bar .vjs-button,
.tbook-deck-page .tbook-audio-playlist .vjs-control-bar .vjs-time-control,
.tbook-deck-page .tbook-audio-playlist .vjs-control-bar .vjs-current-time,
.tbook-deck-page .tbook-audio-playlist .vjs-control-bar .vjs-duration,
.tbook-deck-page .tbook-audio-playlist .vjs-control-bar .vjs-time-divider {
	color: #f7f1e3 !important;
}

.tbook-deck-page .tbook-audio-playlist .vjs-play-progress,
.tbook-deck-page .tbook-audio-playlist .vjs-volume-level {
	background: #d88a4a !important;
}

.tbook-deck-page .tbook-audio-playlist .vjs-slider {
	background: rgba(247, 241, 227, .24) !important;
}

.tbook-deck-page .tbook-audio-playlist .vjs-load-progress,
.tbook-deck-page .tbook-audio-playlist .vjs-load-progress div {
	background: rgba(247, 241, 227, .15) !important;
}

.tbook-deck-page .tbook-audio-playlist .tbook-track-list {
	border: 1px solid rgba(247, 241, 227, .12);
	background: #2c1f22 !important;
}

.tbook-deck-page .tbook-audio-playlist .tbook-track {
	color: #f0e7d7 !important;
}

.tbook-deck-page .tbook-audio-playlist .tbook-track:hover {
	background: rgba(216, 138, 74, .16) !important;
}

.tbook-deck-page .tbook-audio-playlist .tbook-track.is-active {
	background: #d88a4a !important;
	color: #2a1713 !important;
}

.tbook-deck-page .tbook-audio-playlist .tbook-track-dur {
	opacity: .68;
}

.tbook-deck-page .tbook-audio-playlist .vjs-play-control:hover,
.tbook-deck-page .tbook-audio-playlist .vjs-button:hover {
	background: rgba(247, 241, 227, .1) !important;
	color: #fff !important;
}

.tbook-deck-page .tbook-audio-playlist .video-js {
	height: 58px !important;
}
.tbook-deck-page .tbook-audio-playlist .tbook-visualizer {
	display: none !important;
}

/* Deck member names open the same profile modal as their avatars. */
a.tbook-deck-member-name {
	cursor: pointer;
}

.tbook-deck-courtesy-badge {
	display: inline-block;
	padding: 2px 8px;
	border: 1px solid var(--td-line);
	border-radius: 999px;
	background: #eef2ff;
	color: #4338ca;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Billing lock: retired package after cycle end. */
.tbook-deck-billing-lock {
	margin: 18px 0;
	padding: 20px;
	border: 1px solid #f5c2a8;
	border-left: 4px solid #c2410c;
	border-radius: 10px;
	background: #fff7ed;
	color: #7c2d12;
}
.tbook-deck-billing-lock h2 {
	margin: 0 0 8px;
	color: #7c2d12;
	font-size: 20px;
}
.tbook-deck-billing-lock p { margin: 0 0 12px; line-height: 1.5; }
.tbook-deck-billing-lock-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}
.tbook-deck-billing-lock-form label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
}
.tbook-deck-billing-lock-form select {
	min-width: 260px;
	padding: 8px 10px;
	border: 1px solid #d6d3d1;
	border-radius: 7px;
	background: #fff;
	font: inherit;
}
.tbook-deck-billing-lock-empty { color: #9a3412; font-weight: 600; }
