/**
 * Player Page Styles - 2026
 */

@font-face {
	font-family: 'PSG';
	src: url('/psg-font.woff2') format('woff2');
	font-weight: 400 700;
}

@font-face {
	font-family: 'Virge';
	src: url('/con_bold.woff2') format('woff2');
	font-weight: 600;
	font-display: swap;
}

/* Squad Tabs */
.squad_tabs {
	display: flex;
	gap: 5px;
	padding: 12px 16px 4px;
}

.squad_tab {
	border: none;
	background: var(--color-bg-card);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text-muted);
	cursor: pointer;
	font-family: "Paperlogy";
	padding: 6px 14px;
	border-radius: 100px;
	transition: background .2s, color .2s;
}

.squad_tab.active {
	color: var(--color-bg);
	background: var(--color-text);
}

/* Position Group */
.position_group {
	margin-bottom: 4px;
}

.position_group_header {
	padding: 10px 16px;
	font-size: 17px;
	font-weight: 600;
	color: var(--color-text-secondary);
	font-family: "Virge", "Paperlogy";
	letter-spacing: 0;
}

/* Player Cards - 리스트형 */
.player_cards {
	padding: 0 16px;
	list-style: none;
	margin: 0;
}

.player_card {
	position: relative;
	margin-bottom: 12px;
}

.player_card a {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	padding: 0;
}

.player_card a:active {
	opacity: 0.7;
}

.player_card .player_photo {
	flex: 0 0 120px;
	width: 120px;
	height: 90px;
	border-radius: 14px;
	overflow: hidden;
	background: #f5f5f5;
	position: relative;
}

.player_card .player_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	z-index: 3;
	position: relative;
	margin-left: -15px;
}

.player_card .player_photo .no_photo {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.player_card .player_photo .no_photo .material-symbols-rounded {
	font-size: 36px;
	color: var(--color-text-muted);
}

.player_card .player_number {
	position: absolute;
	top: -30px;
	right: -5px;
	font-size: 80px;
	font-weight: 400;
	font-family: "PSG", "Virge", sans-serif;
	letter-spacing: 0;
	z-index: 1;
	background: linear-gradient(to right, rgba(159, 140, 86, .1), rgba(159, 140, 86, .3));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -1px;
}

.player_card .player_info {
	flex: 1;
	min-width: 0;
}

.player_card .player_name {
	font-size: 17px;
	font-weight: 700;
	color: var(--color-text);
	line-height: 1.3;
	display: block;
	font-family: "Paperlogy";
}

.player_card .player_flag {
	font-size: 13px;
	vertical-align: baseline;
}

.player_card .player_name_en {
	font-size: 11px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0;
	margin-top: 1px;
	line-height: 1.2;
	display: block;
	font-weight: 500;
	font-family: "PSG";
}

.player_card .player_stats {
	display: flex;
	gap: 0;
	margin-top: 8px;
}

.player_card .player_stats .ps_item {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	font-size: 11px;
	color: var(--color-text-secondary);
	margin-right: 6px;
	white-space: nowrap;
	font-weight: 600;
}

.player_card .player_stats .ps_item .material-symbols-rounded {
	font-size: 13px;
}

.player_card .player_injury {
	font-size: 11px;
	color: var(--color-error);
	display: flex;
	align-items: center;
	gap: 1px;
}

.player_card .player_injury .material-symbols-rounded {
	font-size: 13px;
}

.legend_filter_btn {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	border: none;
	background: none;
	color: var(--color-text-secondary);
	font-size: 11px;
	font-weight: 500;
	padding: 3px 0;
	cursor: pointer;
	font-family: "Paperlogy";
	letter-spacing: 1px;
	transition: color .2s;
	margin-left: 10px;
}

.legend_filter_btn .material-symbols-rounded {
	font-size: 17px;
	font-weight: 600;
}

.legend_filter_btn.active {
	color: #C9A94E;
}

/* History Mode */
.history_mode .player_card .player_photo img {
	margin-left: 0;
}

/* Legend Badge */
.player_card .player_legend {
	font-size: 10px;
	color: #C9A94E;
	display: flex;
	align-items: center;
	gap: 1px;
	font-weight: 600;
	letter-spacing: 1px;
	font-family: "Paperlogy";
}

.player_card .player_legend .material-symbols-rounded {
	font-size: 13px;
}

/* Loading / Empty */
#player_list .loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
}

#player_list .loading .spinner {
	width: 20px;
	height: 20px;
	border: 2px solid var(--color-border-strong);
	border-top-color: var(--color-text-muted);
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

#player_list .empty {
	text-align: center;
	padding: 80px 20px;
	color: var(--color-text-muted);
	font-size: 15px;
}


/* ===== DETAIL PAGE ===== */

/* Cover Hero */
.cover {
	width: 100%;
	padding-bottom: 110%;
	background-size: cover;
	background-position: top center;
	background-color: var(--color-bg-card);
	position: relative;
	overflow: hidden;
}

.cover_overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 60px 16px 16px 16px;
	display: flex;
	flex-direction: column;
}
.cover_overlay::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}
.cover_overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.cover_overlay > * { position: relative; z-index: 1; }

.cover_number {
	font-family: "PSG";
	font-size: 180px;
	font-weight: 700;
	line-height: 1;
	background:
		linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 70%),
		linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,0) 90%);
	background-size: 200% 100%, 100% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	position: absolute;
	right: -20px;
	bottom: 0;
	animation: coverNumberShimmer 4s ease-in-out infinite;
	mix-blend-mode: plus-lighter;
}

@keyframes coverNumberShimmer {
	0%, 100% { background-position: -100% 0, 0 0; }
	50% { background-position: 200% 0, 0 0; }
}

.cover_name {
	font-family: "Paperlogy", sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: var(--color-text);
	line-height: 1.2;
	margin-top: -4px;
}

.cover_name_en {
	font-size: 20px;
	font-weight: 600;
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0;
	font-family: "PSG";
}

/* Season Stats */
.season_stats_label {
	padding: 0 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
	margin-top: 20px;
}

.season_stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 20px;
	overflow: hidden;
	margin-top: 10px;
}

.stat_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-right: 0.5px solid var(--color-border-strong);
}

.stat_item:last-child { border: 0; }

.stat_item .stat_value {
	font-size: 22px;
	font-weight: 700;
	color: var(--color-text);
	font-family: "PSG", "Virge", sans-serif;
	letter-spacing: 0;
	line-height: 1;
}

.stat_item .stat_label {
	font-size: 11px;
	color: var(--color-text-muted);
	margin-top: 4px;
}

/* Player Info Table */
.player_info_section {
	margin: 0 20px;
	overflow: hidden;
	margin-top: 20px;
}
.player_info_section.has_map {
	display: flex;
	align-items: stretch;
	gap: 10px;
}
.player_info_section.has_map .player_info_rows {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.player_info_rows {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
}

/* Position Map */
.position_map {
	position: relative;
	width: 150px;
	height: 225px;
	flex-shrink: 0;
	--pitch-bg: #0E1B36;
	--pitch-line: #1D3058;
}
.position_map .pitch_svg {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 12px 0 0 12px;
}
.pos_badge {
	position: absolute;
	transform: translate(-50%, -50%);
	background: rgba(0,0,0,.5);
	backdrop-filter: blur(20px);
	color: rgba(255,255,255,.6);
	font-size: 12px;
	font-weight: 700;
	padding: 2px 0;
	width: 32px;
	text-align: center;
	border-radius: 333px;
	white-space: nowrap;
	font-family: "PSG";
}
.pos_badge.pos_primary {
	background: var(--color-primary);
	color: #fff;
}

.info_row {
	display: flex;
	justify-content: space-between;
	border-bottom: 0.5px solid var(--color-border);
	padding: 8px 0;
	font-size: 12px;
}
.info_row:last-child { border: 0; }


.info_row .info_label {
	color: var(--color-text-muted);
}

.info_row .info_value {
	color: var(--color-text);
	font-weight: 500;
}

/* Position Tags */

/* Cover Introduction */
.cover_intro {
	font-size: 13px;
	color: rgba(0,0,0,.5);
	margin-top: 5px;
}

.cover_intro:empty {
	display: none;
}

.cover_edit_btns {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Trophies */
.trophy_section {
	margin: 0 0 16px;
	padding: 0 16px;
}

.trophy_section .section_title {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.trophy_team_header {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
	margin: 12px 0 6px;
}

.trophy_team_header:first-of-type {
	margin-top: 0;
}

.trophy_team_logo {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.trophy_item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: var(--color-bg-card);
	border-radius: 10px;
	margin-bottom: 6px;
}

.trophy_name {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	min-width: 0;
}

.trophy_name_wrap {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.trophy_seasons {
	font-size: 11px;
	font-weight: 400;
	color: var(--color-text-muted);
	margin-top: 1px;
	line-height: 1.3;
}

.trophy_league_logo {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.trophy_icons {
	display: flex;
	gap: 1px;
	flex-shrink: 0;
}

.trophy_icons .material-symbols-rounded {
	font-size: 16px;
	color: var(--color-accent);
}

/* Trophy table (inside career tabs) */
.trophy_tbl {
	margin-bottom: 10px;
}

.trophy_tbl thead th {
	font-weight: 600;
}

.trophy_count {
	text-align: center;
}

.trophy_badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	border-radius: 11px;
}

.career_tbl tr th:last-child { padding-right: 10px; }
.career_tbl tr td:last-child { padding-right: 10px; }
.trophy_tbl th span {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 600;
}

.trophy_seasons_cell {
	display: block;
	font-size: 11px;
	color: var(--color-text-muted);
	line-height: 1.4;
	margin-top: 2px;
	padding-left: 21px;
}

/* Award Section */
.award_section {
	margin-top: 20px;
	padding: 0 16px;
	display: none;
}

.award_block {
	background: var(--color-bg-card);
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 8px;
}

.award_title {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 10px;
	font-family: "Paperlogy";
}

.award_title .material-symbols-rounded {
	font-size: 18px;
	color: #C9A94E;
}

.award_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.award_list li {
	font-size: 13px;
	color: var(--color-text-secondary);
	padding: 4px 0;
	border-bottom: 0.5px solid var(--color-border);
	line-height: 1.4;
}

.award_list li:last-child {
	border-bottom: none;
}

/* Career Section */
.career_section {
	margin-top: 20px;
	padding: 0 16px;
}

/* Career Tabs */
.career_tabs {
	display: flex;
	gap: 5px;
	margin-bottom: 5px;
}

.career_tab {
	border: none;
	background: var(--color-bg-card);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text-muted);
	cursor: pointer;
	font-family: "Paperlogy";
	padding: 6px 14px;
	border-radius: 100px;
}

.career_tab.active {
	color: var(--color-bg);
	background: var(--color-text);
}

.career_cell {
	display: flex;
	align-items: center;
	gap: 5px;
}

.career_cell i { font-size: 14px; font-weight: 700; }

.career_logo {
	width: 16px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
}

.career_sub {
	font-weight: 400;
	color: var(--color-text);
}

.season_row {
	cursor: pointer;
}

.season_row td {
}

.season_chevron {
	font-size: 16px;
	color: var(--color-text-muted);
	transition: transform .2s;
	transform: rotate(90deg);
}

.season_row.expanded .season_chevron {
	transform: rotate(270deg);
}

.season_detail td {
	color: var(--color-text-muted);
}

.season_detail .tbl_left { padding-left: 30px !important; }

/* Career Tables */
.career_tbl {
	width: 100%;
	border-collapse: separate;
	font-size: 13px;
	background: var(--color-bg-card);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 8px;
}

.career_tbl thead th {
	padding: 10px 0;
	font-size: 11px;
	font-weight: 500;
	color: var(--color-text-muted);
	border-bottom: .5px solid var(--color-border-strong);
	text-align: center;
	vertical-align: middle;
}

.career_tbl td {
	padding: 10px 0;
	text-align: center;
	color: var(--color-text);
	border-bottom: .5px solid var(--color-border-strong);
	font-variant-numeric: tabular-nums;
	vertical-align: middle;
}

.career_tbl tbody tr:last-child td {
	border-bottom: none;
}

.career_tbl .tbl_left {
	text-align: left;
	padding-left: 10px;
}

.career_tbl .tbl_bold {
}


.career_tbl .tbl_total td {
	font-weight: 700;
	color: var(--color-text);
}

/* Season Tables spacing */
.season_tbl {
	margin-bottom: 10px;
}

.career_scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
}

.career_scroll::-webkit-scrollbar { display: none; }

.career_table {
	min-width: 560px;
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	background: var(--color-bg-card);
}

.career_table thead tr:first-child th {
	padding: 10px 4px 2px;
	text-align: center;
	font-weight: 600;
	color: var(--color-text);
	font-size: 11px;
	border-bottom: none;
}

.career_table .sub_header th {
	padding: 2px 4px 8px;
	text-align: center;
	font-weight: 400;
	color: var(--color-text-muted);
	font-size: 10px;
	border-bottom: 1px solid var(--color-border);
}

.career_table th:first-child,
.career_table td:first-child {
	text-align: left;
	padding-left: 12px;
}

.career_table td {
	padding: 9px 4px;
	text-align: center;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border);
	font-variant-numeric: tabular-nums;
}

.career_table tr:last-child td {
	border-bottom: none;
}

.career_table .season_cell {
	font-weight: 600;
	white-space: nowrap;
}

.career_table .team_cell {
	max-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
	text-align: left;
}

.career_table .border_r {
	border-right: 1px solid var(--color-border);
}

/* Back button */
.back_nav {
	padding: 12px 20px;
}

.back_nav a {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: var(--color-primary);
	text-decoration: none;
	font-size: 15px;
}

.back_nav a .material-symbols-rounded {
	font-size: 20px;
}

.overlay_nav {
	position: absolute;
	top: 50px;
	left: 0;
	z-index: 10;
	display: none;
}

.overlay_nav a {
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.cover_edit_btn {
	background: rgba(0,0,0,.4);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.cover_edit_btn i {
	color: #fff;
	font-size: 18px;
}

/* Detail page loading */
#player_detail .loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
}

#player_detail .loading .spinner {
	width: 20px;
	height: 20px;
	border: 2px solid var(--color-border-strong);
	border-top-color: var(--color-text-muted);
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}

/* Last Updated */
.last_updated {
	text-align: center;
	padding: 20px;
	font-size: 12px;
	color: var(--color-text-muted);
	opacity: 0.5;
}

/* ===== REACTIONS ===== */
.reaction_bar {
	display: flex;
	justify-content: center;
	gap: 4px;
	padding: 0 16px;
}

.reaction_btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 10px 0 6px 0;
	flex: 1;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	transition: transform .1s;
}

.reaction_btn:active {
	transform: scale(0.90);
}

.reaction_btn .r_emoji {
	width: 24px;
	height: 24px;
	display: block;
	transition: transform .15s;
	pointer-events: none;
}

.reaction_btn .r_count {
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-muted);
	font-variant-numeric: tabular-nums;
	transition: transform .2s, color .2s;
}

/* 펄스 이펙트 */
.reaction_btn.reaction_pulse {
	animation: btnPulse .4s ease-out;
}

.reaction_btn.reaction_pulse .r_emoji {
	animation: emojiPop .35s ease-out;
}

/* 카운트 팝 */
.r_count.count_pop {
	animation: countBounce .3s ease-out;
}

@keyframes btnPulse {
	0% { box-shadow: 0 0 0 0 rgba(0,189,90,.4); }
	50% { box-shadow: 0 0 0 8px rgba(0,189,90,0); }
	100% { box-shadow: none; }
}

@keyframes emojiPop {
	0% { transform: scale(1); }
	30% { transform: scale(1.5); }
	60% { transform: scale(0.9); }
	100% { transform: scale(1); }
}

@keyframes countBounce {
	0% { transform: scale(1); color: var(--color-text-muted); }
	40% { transform: scale(1.4); color: var(--color-accent); }
	100% { transform: scale(1); color: var(--color-text-muted); }
}

/* 파티클 버스트 */
.burst_particle {
	position: fixed;
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	animation: burstFly .6s ease-out forwards;
}

@keyframes burstFly {
	0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.3); }
}

/* ===== OLD COMMENTS (Legacy, read-only) ===== */
.old_comment_section {
	margin: 0 16px 0;
}

.old_comment_title {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	font-family: "Paperlogy";
	display: none;
}

.old_comment_title .material-symbols-rounded {
	font-size: 18px;
	color: var(--color-text-muted);
}

.old_comment_count {
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-muted);
}

.old_comment_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.old_comment_item {
	padding: 10px 0;
	border-bottom: .5px solid var(--color-border);
}

.old_comment_name {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
}

.old_comment_date {
	font-size: 11px;
	color: var(--color-text-muted);
}

.old_comment_text {
	font-size: 15px;
	color: var(--color-text-secondary);
	word-break: break-word;
	white-space: pre-wrap;
}

.old_comment_more_btn {
	display: block;
	width: 100%;
	padding: 10px;
	border: none;
	background: none;
	color: var(--color-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.old_comment_input_wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.old_comment_header {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.old_comment_header .comment_delete {
	margin-left: auto;
}

/* ===== COMMENTS ===== */
.comment_section {
	margin: 24px 20px 0;
	display: none;
}

.comment_section_title {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
	margin-bottom: 10px;
	letter-spacing: 0.5px;
}

.comment_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment_item {
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border);
}

.comment_item:last-child {
	border-bottom: none;
}

.comment_header {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 3px;
}

.comment_name {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
}

.comment_time {
	font-size: 11px;
	color: var(--color-text-muted);
}

.comment_delete {
	margin-left: auto;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	line-height: 1;
}

.comment_delete .material-symbols-rounded {
	font-size: 16px;
	color: var(--color-text-muted);
}

.comment_text {
	font-size: 14px;
	color: var(--color-text);
	line-height: 1.5;
	word-break: break-word;
}

.comment_more_btn {
	display: block;
	width: 100%;
	padding: 12px;
	border: none;
	background: none;
	color: var(--color-text-muted);
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.comment_input_wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding-bottom: 10px;
}

.comment_input {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	background: var(--color-bg-card);
	font-size: 14px;
	color: var(--color-text);
	outline: none;
	font-family: inherit;
}

.comment_input::placeholder {
	color: var(--color-text-muted);
}

.comment_submit {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

.comment_submit:disabled {
	opacity: 0.4;
}

.comment_submit .material-symbols-rounded {
	font-size: 20px;
	font-weight: 900;
}

.comment_empty {
	text-align: center;
	padding: 20px;
	font-size: 13px;
	color: var(--color-text-muted);
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
	.cover_overlay::after {
		background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
	}
	.cover_name {
		color: #fff;
	}
	.cover_intro {
		color: rgba(255,255,255,.6);
	}
}
