/* SeeU — 메인배너 조형 (seeu-hero-ig.php · 되돌리기 ?hb=v1)
 * 짜임: PC 는 왼쪽 글 한 단 + 오른쪽 조형 판 · 휴대폰은 조형이 위, 글이 아래.
 * 조각 자리는 전부 판에 대한 % — 폭이 바뀌어도 구도가 같이 줄어든다.
 * 그림자 없음 · 모서리는 명세 --sx-r(6) · 겹침과 기울기로만 깊이를 만든다. */

body.home .sx .sx-hero.has-ig {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	align-items: center;
	column-gap: 24px;
	padding: 48px 40px 44px !important;
	min-height: 460px;
}
body.home .sx .sx-hero.has-ig > .sx-hero-in { grid-column: 1; grid-row: 1; display: block !important; max-width: none; position: relative; z-index: 2; }
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-first { margin: 22px 0 0 !important; display: flex !important; flex-direction: row !important; align-items: baseline; gap: 10px !important; text-align: left !important; justify-self: auto !important; }
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-first b { font-size: 24px !important; }
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-hero-btns { justify-content: flex-start !important; justify-self: start !important; margin: 24px 0 0 !important; width: auto !important; }
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-hero-d { margin-bottom: 0 !important; }

/* 조형 판 */
.sx-hero.has-ig .sx-hig {
	grid-column: 2; grid-row: 1;
	position: relative;
	width: 100%;
	align-self: stretch;
	margin: -48px 0 -44px;   /* 판 위아래 안쪽 여백을 걷어 조형이 판 끝까지 — 주인공이 판 아래 끝에 선다 */
	min-height: 460px;
}
.sx-hig .sx-hig-p {
	position: absolute;
	display: block;
	object-fit: cover;
	border-radius: 6px;
	max-width: none;
	height: auto;
}
/* 뒤 — Re:Voice 영상(정사각) */
.sx-hig .is-video { right: 2%; top: 12%; width: 50%; aspect-ratio: 1; height: auto; transform: rotate(3deg); background: #EAEAEA; }
/* 왼쪽 위 — 「돈만 있으면」 포스터 */
.sx-hig .is-donman { left: 6%; top: 9%; width: 27%; aspect-ratio: 1; transform: rotate(-6deg); }
/* 왼쪽 가운데 — Re:Voice 세로 그림 */
.sx-hig .is-portrait { left: 0; top: 40%; width: 21%; aspect-ratio: 9 / 16; transform: rotate(-3deg); }
/* 오른쪽 아래 — 「각개전투」 포스터 */
.sx-hig .is-gakgae { right: 0; bottom: 10%; width: 28%; aspect-ratio: 1; transform: rotate(5deg); }
/* 주인공 — 15주년 입상 원화(바탕을 지운 그림). 판 아래 끝에 서고, 원본에서 잘린 좌우 머리칼 끝은 옅게 녹인다 */
.sx-hig .is-chara {
	left: 14%; bottom: 0;
	width: 76%; aspect-ratio: 640 / 605;
	object-fit: contain;
	border-radius: 0;
	z-index: 3;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}

/* 출처 — 판 오른쪽 아래, 메타 단계 */
.sx-hero.has-ig .sx-hig-credit {
	position: absolute; right: 16px; bottom: 12px; z-index: 4;
	display: inline-flex; align-items: center; min-height: 24px;
	font-size: 12px; font-weight: 500; letter-spacing: -.01em;
	color: var(--sx-dim); text-decoration: none;
}
.sx-hero.has-ig .sx-hig-credit:hover { color: var(--sx-ink); text-decoration: underline; text-underline-offset: 3px; }
.sx-hero.has-ig .sx-hig-credit:focus-visible { outline: 2px solid var(--sx-focus); outline-offset: 2px; }

/* 아주 조금 떠 있다 — 움직임 박자는 「길게」(CREATIVE_DIRECTION 5-5), 곡선 하나 */
@media (prefers-reduced-motion: no-preference) {
	.sx-hig .is-donman { animation: sx-hig-float 7s cubic-bezier(.22,.61,.36,1) infinite alternate; }
	.sx-hig .is-gakgae { animation: sx-hig-float2 8s cubic-bezier(.22,.61,.36,1) infinite alternate; }
	@keyframes sx-hig-float { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(-5deg) translateY(-6px); } }
	@keyframes sx-hig-float2 { from { transform: rotate(5deg) translateY(0); } to { transform: rotate(4deg) translateY(-5px); } }
}

/* 좁은 PC·태블릿 — 글이 넓어야 제목이 안 꺾인다 */
@media (min-width: 861px) and (max-width: 1100px) {
	body.home .sx .sx-hero.has-ig { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: 40px 28px 40px !important; }
}

/* 휴대폰·태블릿 세로 — 조형이 위, 글이 아래 */
@media (max-width: 860px) {
	body.home .sx .sx-hero.has-ig { grid-template-columns: minmax(0, 1fr); padding: 20px 16px 28px !important; min-height: 0; row-gap: 8px; }
	.sx-hero.has-ig .sx-hig { grid-column: 1; grid-row: 1; aspect-ratio: 1 / .82; min-height: 0; max-width: 520px; width: 100%; justify-self: center; margin: -20px 0 0; align-self: auto; }
	body.home .sx .sx-hero.has-ig > .sx-hero-in { grid-row: 2; }
	.sx-hero.has-ig .sx-hig-credit { position: static; grid-row: 3; justify-self: start; margin-top: 4px; }
	.sx-hig .is-portrait { display: none; }
	.sx-hig .is-chara { left: 12%; width: 76%; bottom: 0; }
	.sx-hig .is-video { width: 48%; top: 8%; }
	.sx-hig .is-donman { top: 6%; }
	.sx-hig .is-gakgae { bottom: 8%; }
}

/* 글 단의 숨 — 설명 아래 22.5px 안쪽 여백 + 날짜 줄 47px 높이가 겹쳐 설명→날짜가 60px 넘게 떴다(1440 실측) */
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-hero-d { padding-bottom: 0 !important; }
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-first { line-height: 1 !important; margin-top: 20px !important; }
body.home .sx .sx-hero.has-ig > .sx-hero-in > .sx-first b { line-height: 1 !important; }

/* 2026-11-09 잘림 조정 — 사용자 「메인배너에 활용한 이미지 너무 많이 잘린 건 조정」.
 * 전: 포스터 둘이 인스타 공유 그림(16:9 원본의 가운데 정사각)이라 「돈만」 조각만 보였고, 「각개전투」 는 주인공 뒤에 거의 묻혔다.
 * 후: 프로필 격자의 원래 비율(640x360) 포스터로 바꾸고 16:9 그대로 둔다(자르지 않음). 각개전투는 주인공과 덜 겹치게 오른쪽 위로, 주인공은 조금 좁게. */
.sx-hig .is-donman{ left: 0; top: 7%; width: 50%; aspect-ratio: 16 / 9; transform: rotate(-4deg); }
.sx-hig .is-video{ right: 0; top: 4%; width: 40%; }
.sx-hig .is-portrait{ left: 2%; top: 44%; width: 19%; }
.sx-hig .is-gakgae{ right: 0; bottom: auto; top: 46%; width: 44%; aspect-ratio: 16 / 9; transform: rotate(4deg); z-index: 4; }
.sx-hig .is-chara{ left: 12%; width: 68%; }
@media (prefers-reduced-motion: no-preference){
	.sx-hig .is-donman{ animation-name: sx-hig-float3; }
	.sx-hig .is-gakgae{ animation-name: sx-hig-float4; }
	@keyframes sx-hig-float3{ from{ transform: rotate(-4deg) translateY(0); } to{ transform: rotate(-3deg) translateY(-6px); } }
	@keyframes sx-hig-float4{ from{ transform: rotate(4deg) translateY(0); } to{ transform: rotate(3deg) translateY(-5px); } }
}
@media (max-width: 860px){
	.sx-hig .is-donman{ width: 50%; top: 4%; }
	.sx-hig .is-video{ width: 40%; top: 2%; }
	.sx-hig .is-gakgae{ width: 44%; top: 50%; }
	.sx-hig .is-chara{ left: 10%; width: 70%; }
}

/* 2026-11-09 주인공 크게 — 사용자 「chara-15th-cut 를 메인배너에서 더 크게」. 폭 68% → 86%(휴대폰 70 → 88), 아래 끝에 그대로 선다.
 * 각개전투(z 4)는 주인공 위, 돈만 있으면은 주인공 뒤 — 두 포스터의 글자 쪽(왼쪽)은 가리지 않게 주인공을 가운데-오른쪽으로 민다. */
.sx-hig .is-chara{ left: 10%; width: 86%; }
@media (max-width: 860px){ .sx-hig .is-chara{ left: 8%; width: 88%; } }

/* 2026-11-09 영상 배경 — 판 전체를 덮는 영상 + 판 색 막(76%). 글·조형은 막 위. 동작 줄이기면 정지 그림(첫 장면). */
body.home .sx .sx-hero.has-ig{ position: relative; isolation: isolate; }
.sx-hero.has-ig .sx-hig-bg{ position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.sx-hero.has-ig .sx-hig-bg video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
.sx-hero.has-ig .sx-hig-bg::after{ content: ""; position: absolute; inset: 0; background: rgba(248,248,246,.76); }
body.home .sx .sx-hero.has-ig > .sx-hero-in, .sx-hero.has-ig .sx-hig{ position: relative; z-index: 1; }
.sx-hero.has-ig .sx-hig-credit{ z-index: 2; }
/* 영상 조각이 빠진 오른쪽 위 자리 — 각개전투를 그리로 올려 판을 고르게 채운다 */
.sx-hig .is-gakgae{ top: 10%; right: 0; }
@media (max-width: 860px){
	.sx-hero.has-ig .sx-hig-bg::after{ background: rgba(248,248,246,.80); }
	.sx-hig .is-gakgae{ top: 6%; }
}

/* 2026-11-09 영상 조각 — 배경 영상을 걷고 왼쪽 위 16:9 조각으로(돈만 포스터 자리). 다른 조각과 같은 테·기울기, 영상은 칸에 꽉 채워 자른다 */
.sx-hig video.sx-hig-p.is-clip{ display:block; object-fit:cover; object-position:50% 40%; height:auto; background:#EAEAEA; }

/* 2026-11-10 사용자 「이거(세로 그림) 빼고 더 조형적이게 뒤에 두개를 캐릭터 뒤에 배치하고 이 캐릭터를 좀 더 크게 넣어줘」
 * 세로 그림은 뺀다. 남은 두 장(영상 조각 · 각개전투)은 위쪽 양옆에서 서로 반대로 기울어 캐릭터 뒤(z 1·2)에 겹치고,
 * 캐릭터(z 3)는 판보다 넓게(112%) 키워 아래 끝에 세운다 — 두 장이 캐릭터의 머리·어깨 뒤에서 무대 배경처럼 받친다 */
.sx-hig .is-portrait{ display:none !important; }
.sx-hig .is-donman{ left:-2%; top:6%; width:56%; transform:rotate(-6deg); z-index:1; }
.sx-hig .is-gakgae{ right:-4%; left:auto; top:2%; bottom:auto; width:50%; transform:rotate(5deg); z-index:2; }
.sx-hig .is-chara{ left:-6%; width:112%; bottom:0; z-index:3; }
@media (max-width: 860px){
	.sx-hig .is-donman{ left:0; top:2%; width:52%; }
	.sx-hig .is-gakgae{ right:0; top:0; width:46%; }
	/* 휴대폰: 판(1:.82)이 낮아 키운 캐릭터 머리가 잘렸다 — 판을 1:.96 으로 높이고 그 안에 꽉 차게 */
	.sx-hero.has-ig .sx-hig{ aspect-ratio:1 / .96 !important; }
	.sx-hig .is-chara{ left:0; width:100%; }
}
