@charset "utf-8";
/* 기프티콘 전환 — 공통 (뷰·글쓰기) 프리미엄 톤. 목록 카드는 list/list/list.css */

/* ─── 글쓰기 안내 ─── */
.gift-write-notice {
	background: linear-gradient(135deg, rgba(87, 97, 205, 0.07), rgba(255, 255, 255, 0.92));
	border: 1px solid rgba(87, 97, 205, 0.18);
	border-radius: 1rem;
	padding: 1.15rem 1.25rem;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.gift-write-notice--admin {
	background: linear-gradient(135deg, rgba(5, 150, 105, 0.07), rgba(255, 255, 255, 0.9));
	border-color: rgba(5, 150, 105, 0.2);
}

.gift-write-notice-title {
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #484fad;
	margin-bottom: 0.5rem;
}

.gift-write-notice--admin .gift-write-notice-title {
	color: #047857;
}

/* ─── 읽기 페이지 루트 ─── */
.gift-view-premium {
	margin-bottom: 2rem !important;
	background: transparent;
	border-radius: 0 0 1.25rem 1.25rem;
	overflow: hidden;
	box-shadow: none;
}

.gift-v-hero {
	padding-top: 1.5rem;
	padding-bottom: 0.25rem;
	background: transparent;
	border-bottom: 1px solid rgba(24, 24, 27, 0.08);
}

.gift-v-hero__title {
	font-size: clamp(1.2rem, 2.8vw, 1.55rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.045em !important;
	line-height: 1.35 !important;
	color: #0c0a09 !important;
	max-width: 56rem;
	margin-left: auto !important;
	margin-right: auto !important;
}

.gift-v-meta {
	border-bottom: 1px solid rgba(12, 10, 9, 0.06);
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(12px);
	color: #57534e;
}

/* 본문 영역 여백 */
.gift-view-premium #bo_v_atc {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	padding-top: 1.25rem !important;
}

/* ─── 통계 한 줄 스트립 (모집글) — 색 난립 최소화 ─── */
.gift-v-stats {
	background: transparent;
	border-bottom: 1px solid rgba(24, 24, 27, 0.08);
}

.gift-v-stats-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0.65rem 0.85rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(12, 10, 9, 0.08);
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(12, 10, 9, 0.04);
}

.gift-v-stat-seg {
	flex: 1 1 8rem;
	min-width: 0;
	padding: 0.5rem 0.85rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.2rem;
	border-left: 1px solid rgba(12, 10, 9, 0.07);
}

.gift-v-stat-seg:first-child {
	border-left: 0;
	padding-left: 0.35rem;
}

.gift-v-stat-seg:last-child {
	padding-right: 0.35rem;
}

.gift-v-stat-seg__val {
	font-size: clamp(1.25rem, 3.2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.15;
	color: #0c0a09;
}

.gift-v-stat-seg__unit {
	font-size: 0.62em;
	font-weight: 700;
	margin-left: 0.08em;
	opacity: 0.55;
}

.gift-v-stat-seg__lbl {
	font-size: 0.65rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #78716c;
}

.gift-v-stat-seg__sub {
	font-size: 0.68rem;
	font-weight: 600;
	color: #57534e;
	margin-top: 0.1rem;
}

.gift-v-stat-seg__sub--warn {
	color: #b45309;
}

/* ─── 신청 CTA 블록 ─── */
.gift-apply-cta {
	border-bottom: 1px solid rgba(24, 24, 27, 0.08);
	background: transparent;
}

.gift-apply-cta__inner {
	max-width: 26rem;
}

.gift-v-cta {
	border: none !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	border-radius: 0.85rem !important;
	padding-top: 0.95rem !important;
	padding-bottom: 0.95rem !important;
	color: #fff !important;
	background: #5761cd !important;
	box-shadow: 0 1px 2px rgba(24, 24, 27, 0.06), 0 6px 20px rgba(87, 97, 205, 0.28) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.gift-v-cta:hover {
	color: #fff !important;
	transform: translateY(-1px);
	background: #484fad !important;
	box-shadow: 0 2px 4px rgba(24, 24, 27, 0.06), 0 10px 26px rgba(87, 97, 205, 0.32) !important;
	filter: none;
}

.gift-apply-cta__hint {
	color: #78716c !important;
	letter-spacing: -0.01em;
}

/* ─── 전환 신청 목록 패널 (목록 카드와 동일 톤) ─── */
.gift-req-panel {
	background: transparent;
}

.gift-v-req {
	border-bottom: none !important;
}

.gift-req-panel__title {
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #18181b;
	font-size: 1.12rem !important;
	align-items: center !important;
}

.gift-req-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 0.75rem;
	background: #fff;
	color: #5761cd;
	font-size: 1.05rem;
	border: 1px solid rgba(24, 24, 27, 0.08);
	box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
}

.gift-req-count-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 750;
	color: #71717a;
	background: #fff;
	border: 1px solid rgba(24, 24, 27, 0.1);
	border-radius: 999px;
}

.gift-req-card {
	border: 1px solid rgba(24, 24, 27, 0.08);
	border-radius: 1rem;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px -6px rgba(24, 24, 27, 0.08);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}

.gift-req-card:hover {
	border-color: rgba(87, 97, 205, 0.2);
	box-shadow: 0 2px 8px rgba(87, 97, 205, 0.1), 0 12px 32px -8px rgba(24, 24, 27, 0.1);
}

.gift-req-card__inner {
	padding: 1rem 1.1rem 0;
}

.gift-req-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.45rem;
}

.gift-req-card__id {
	font-size: 0.68rem;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	color: #a1a1aa;
}

.gift-req-mini {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	padding: 0.15rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 650;
	color: #71717a;
	background: #fafafa;
	border: 1px solid rgba(24, 24, 27, 0.08);
	border-radius: 999px;
}

.gift-req-mini .bi {
	font-size: 0.72rem;
	opacity: 0.65;
}

.gift-req-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.6rem;
	font-size: 0.65rem;
	font-weight: 750;
	border-radius: 999px;
	letter-spacing: 0.02em;
	border: 1px solid transparent;
}

.gift-req-badge--apply {
	color: #373f9e;
	background: rgba(87, 97, 205, 0.11);
	border-color: rgba(87, 97, 205, 0.24);
}

.gift-req-badge--hold {
	color: #713f12;
	background: rgba(251, 191, 36, 0.12);
	border-color: rgba(217, 119, 6, 0.22);
}

.gift-req-badge--done {
	color: #166534;
	background: rgba(22, 163, 74, 0.09);
	border-color: rgba(22, 163, 74, 0.22);
}

.gift-req-badge--reject {
	color: #991b1b;
	background: rgba(254, 226, 226, 0.55);
	border-color: rgba(248, 113, 113, 0.35);
}

.gift-req-card__subject {
	font-weight: 800;
	font-size: 0.98rem;
	line-height: 1.38;
	letter-spacing: -0.035em;
	color: #18181b;
	margin: 0 0 0.45rem;
}

.gift-req-card__subject a {
	color: inherit;
	text-decoration: none;
}

.gift-req-card__subject a:hover {
	color: #5761cd;
}

.gift-req-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	font-size: 0.76rem;
	font-weight: 600;
	color: #71717a !important;
	margin-bottom: 0.65rem;
}

.gift-req-card__meta .bi {
	margin-right: 0.25rem;
	opacity: 0.65;
	font-size: 0.85rem;
	vertical-align: -0.08em;
}

.gift-req-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-left: -1.1rem;
	margin-right: -1.1rem;
	margin-top: 0.35rem;
	border-top: 1px solid rgba(24, 24, 27, 0.08);
}

.gift-req-card__actions--single {
	grid-template-columns: 1fr;
}

.gift-req-act {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-height: 2.5rem;
	padding: 0.45rem 0.65rem;
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	text-decoration: none;
	transition: background 0.18s ease, filter 0.18s ease, color 0.18s ease;
	border: none;
	box-sizing: border-box;
}

.gift-req-act--ghost {
	color: #52525b;
	background: #fff;
	border-right: 1px solid rgba(24, 24, 27, 0.08);
}

.gift-req-act--ghost:hover {
	color: #5761cd;
	background: #fafafa;
}

.gift-req-act--accent {
	color: #fff !important;
	background: #5761cd;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gift-req-act--accent:hover {
	color: #fff !important;
	background: #484fad;
	filter: none;
}

.gift-req-act--block {
	width: 100%;
	border-bottom-left-radius: calc(1rem - 1px);
	border-bottom-right-radius: calc(1rem - 1px);
}

.gift-req-card__actions:not(.gift-req-card__actions--single) .gift-req-act--ghost {
	border-bottom-left-radius: calc(1rem - 1px);
}

.gift-req-card__actions:not(.gift-req-card__actions--single) .gift-req-act--accent {
	border-bottom-right-radius: calc(1rem - 1px);
}

.gift-req-empty {
	border: 1px dashed rgba(24, 24, 27, 0.12) !important;
	background: #fff !important;
	border-radius: 1rem !important;
}

/* 이전/다음글 + 목록 버튼 (화살표는 본문보다 작게) */
.gift-v-bottom-nav {
	background: transparent;
}

.gift-v-bottom-nav__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.gift-v-bottom-nav__btn {
	width: 100%;
	text-align: center;
	white-space: nowrap;
}

.gift-v-bottom-nav__ico {
	font-size: 0.8em;
	opacity: 0.7;
	vertical-align: -0.08em;
}

.gift-v-bottom-nav__ph {
	min-height: 1px;
	visibility: hidden;
}

.gift-v-bottom-nav__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.gift-v-bottom-nav__tools:empty {
	display: none;
}

@media (max-width: 575.98px) {
	.gift-v-hero__title {
		font-size: 1.15rem !important;
	}
	.gift-v-stats-bar {
		flex-direction: column;
		align-items: stretch;
		padding: 0.5rem 0.65rem;
	}
	.gift-v-stat-seg {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		text-align: left;
		padding: 0.6rem 0.5rem;
		border-left: 0;
		border-top: 1px solid rgba(12, 10, 9, 0.07);
	}
	.gift-v-stat-seg:first-child {
		border-top: 0;
	}
	.gift-v-stat-seg__lbl {
		text-transform: none;
		letter-spacing: 0.02em;
		font-size: 0.75rem;
	}
	.gift-v-stat-seg__val {
		font-size: 1.2rem;
	}
	.gift-v-stat-seg__sub {
		flex: 0 0 100%;
		text-align: left;
		margin-top: 0.25rem;
		padding-left: 0;
	}
}
