/* ============================================================
   YACHT — THE PLAYERS (캐릭터 프로필) 붙여 넣기용 CSS
   모든 규칙이 .yacht-profile 안에서만 적용돼요. (사이트 색·글꼴·여백에 맞춰 변수만 바꿨어요) 기존 CSS와 섞이지 않아요.
   색·글꼴은 맨 위 .yacht-profile 변수에서 바꿔요.
   ============================================================ */

.yacht-profile {
  --accent: #d4161f;      
  --accent-bright: #ff4a4f;
  --accent-deep: #a8121a;
  --ink: #0f0b0b;
  --ink-2: #150e0e;
  --paper: #ede7dd;
  --paper-2: #fcf9f0;
  --cream: #fcf9f0;
  --muted: #a79d95;
  --muted-dark: #4a403b;

  --f-display: Anton, "Black Han Sans", Impact, "Arial Narrow", sans-serif;
  --f-serif: "Instrument Serif", "S-Core Dream", Georgia, serif;
  --f-mono: "Space Mono", "S-Core Dream", ui-monospace, monospace;
  --f-kr: "Black Han Sans", sans-serif;
  --f-jp: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;

  /* 사이트와 같은 좌우 여백 (style.css의 --gutter) */
}
.yacht-profile { --f-body: "S-Core Dream", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.yacht-profile { background: var(--ink); color: var(--cream); font-family: var(--f-mono); -webkit-font-smoothing: antialiased; }
.yacht-profile *, .yacht-profile *::before, .yacht-profile *::after { box-sizing: border-box; }
.yacht-profile img { display: block; max-width: 100%; }
.yacht-profile h1, .yacht-profile h2, .yacht-profile p { margin: 0; font-weight: 400; }
.yacht-profile a { color: var(--cream); }
.yacht-profile .mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; }
.yacht-profile .accent { color: var(--accent); }
.yacht-profile .scratch {
  background-image:
    repeating-linear-gradient(90deg, rgba(252,249,240,.035) 0 1px, transparent 1px 180px),
    repeating-linear-gradient(0deg, rgba(252,249,240,.025) 0 1px, transparent 1px 180px);
}
.yacht-profile .ht-card { background-image: radial-gradient(rgba(212,22,31,.16) 1.1px, transparent 1.6px); background-size: 5px 5px; }
.yacht-profile .kicker { font-size: 12px; letter-spacing: .18em; font-weight: 700; color: var(--accent-bright); }
.yacht-profile .kicker--dark { color: var(--accent-deep); }
.yacht-profile .display { font-family: var(--f-display); font-size: clamp(72px, 9.7vw, 140px); line-height: .86; }
.yacht-profile .pf-switch { padding: 72px var(--gutter) 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-bottom: 1px solid rgba(252,249,240,.14); }
.yacht-profile .pf-switch__title { display: flex; flex-direction: column; gap: 12px; }
.yacht-profile .pf-switch__cards { display: flex; gap: 18px; }
.yacht-profile .pf-pick {
  position: relative; width: 172px; height: 236px; padding: 12px; border: 2px solid var(--ink); border-radius: 14px;
  background-color: var(--paper-2); color: var(--ink); cursor: var(--cursor-pointer, pointer); text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 28px rgba(0,0,0,.45);
  transition: translate .2s ease, box-shadow .2s ease, rotate .2s ease;
}
.yacht-profile .pf-pick:nth-child(1) { rotate: -3deg; }
.yacht-profile .pf-pick:nth-child(2) { rotate: 2.5deg; }
.yacht-profile .pf-pick:hover { translate: 0 -8px; }
.yacht-profile .pf-pick[aria-pressed="true"] { translate: 0 -16px; rotate: 0deg; box-shadow: 0 0 0 4px var(--pc, var(--accent)), 0 24px 40px rgba(0,0,0,.55); }
.yacht-profile .pf-pick__idx { display: flex; flex-direction: column; align-items: center; width: 30px; gap: 2px; }
.yacht-profile .pf-pick__idx b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1; }
.yacht-profile .pf-pick__idx img { width: 20px; height: 20px; }
.yacht-profile .pf-pick.is-red .pf-pick__idx b { color: var(--accent-deep); }
.yacht-profile .pf-pick__big { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 74px; height: 74px; opacity: .9; }
.yacht-profile .pf-pick__name { display: flex; flex-direction: column; gap: 2px; }
.yacht-profile .pf-pick__name b { font-family: var(--f-display); font-weight: 400; font-size: 20px; letter-spacing: .04em; line-height: 1; }
.yacht-profile .pf-pick__name span { font-family: var(--f-body); font-size: 13px; color: var(--muted-dark); }
.yacht-profile .pf-hero { --pc: var(--accent); --pg: var(--accent-bright); padding: 64px var(--gutter) 96px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
@keyframes pfDeal { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.yacht-profile .pf-hero.is-deal > * { animation: pfDeal .6s cubic-bezier(.2,.8,.3,1) both; }
.yacht-profile .pf-hero.is-deal > * + * { animation-delay: .08s; }
.yacht-profile .pf-hero__art { position: relative; min-height: 640px; display: flex; flex-direction: column; align-items: center; }
.yacht-profile .pf-hero__suit { position: absolute; left: 50%; top: 42%; translate: -50% -50%; width: 78%; max-width: 440px; opacity: .08; filter: brightness(3) grayscale(1); pointer-events: none; }
.yacht-profile .pf-hero__ghost { position: absolute; left: -8px; top: 0; writing-mode: vertical-rl; rotate: 180deg; font-family: var(--f-display); font-size: clamp(80px, 9vw, 140px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(252,249,240,.18); white-space: nowrap; pointer-events: none; }
.yacht-profile .pf-pic { position: relative; overflow: hidden; }
.yacht-profile .pf-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yacht-profile .pf-pic.is-loaded .pf-ph { visibility: hidden; }
.yacht-profile .pf-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; background-color: #e6ddd0; background-image: radial-gradient(rgba(212,22,31,.22) 1.2px, transparent 1.7px); background-size: 7px 7px; color: #5b504a; font-size: 12px; letter-spacing: .16em; }
.yacht-profile .pf-ph small { font-size: 10px; letter-spacing: .04em; opacity: .8; overflow-wrap: anywhere; }
.yacht-profile .pf-full {
  position: relative; width: min(100%, 460px); aspect-ratio: 5 / 8; margin-top: 8px;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 98%);
}
.yacht-profile .pf-full img { object-fit: contain; object-position: center bottom; }
.yacht-profile .pf-full.is-loaded { background: none; }
.yacht-profile .pf-full .pf-ph { border-radius: 18px 18px 0 0; }
.yacht-profile .pf-credit { margin-top: -28px; position: relative; font-size: 11px !important; color: var(--muted); }
.yacht-profile .pf-hero__info { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.yacht-profile .pf-hero__info > .kicker { color: var(--pg); }
.yacht-profile .pf-names { display: flex; flex-direction: column; gap: 6px; margin-top: -24px; }
.yacht-profile .pf-names__ko { margin: 0; font-family: var(--f-kr); font-weight: 400; font-size: clamp(56px, 6.4vw, 96px); line-height: 1.02; word-break: keep-all; }
.yacht-profile .pf-names__han { font-family: var(--f-jp); font-weight: 800; font-size: clamp(30px, 3vw, 44px); color: var(--pg); letter-spacing: .12em; }
.yacht-profile .pf-names__en { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.4vw, 34px); color: var(--muted); }
.yacht-profile .pf-basics { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.yacht-profile .pf-basic { margin: 0; padding: 12px 16px; border: 1.5px solid rgba(252,249,240,.25); border-radius: 10px; display: flex; flex-direction: column; gap: 4px; }
.yacht-profile .pf-basic dt { font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.yacht-profile .pf-basic dd { margin: 0; font-family: var(--f-kr); font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.yacht-profile .pf-label { display: block; margin-bottom: 14px; font-size: 12px; letter-spacing: .18em; color: var(--pg); }
.yacht-profile .pf-faces__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.yacht-profile .pf-face { padding: 8px 8px 10px; border: 2px solid var(--ink); border-radius: 12px; background-color: var(--paper-2); color: var(--ink); cursor: zoom-in; display: flex; flex-direction: column; gap: 8px; rotate: var(--r); box-shadow: 0 12px 22px rgba(0,0,0,.45); transition: translate .2s ease, rotate .2s ease; }
.yacht-profile .pf-face:hover, .yacht-profile .pf-face:focus-visible { translate: 0 -10px; rotate: 0deg; }
.yacht-profile .pf-face__pic { aspect-ratio: 1; border-radius: 8px; }
.yacht-profile .pf-face__label { font-family: var(--f-body); font-size: 13px; text-align: center; }
.yacht-profile .pf-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.yacht-profile .pf-key { padding: 6px 14px; border-radius: 999px; background: var(--pcf, var(--pc)); color: var(--cream); font-family: var(--f-body); font-size: 14px; }
.yacht-profile .pf-hero[style*="#1d1a1a"] .pf-key { background: var(--cream); color: var(--ink); }
.yacht-profile .pf-persona p { max-width: 640px; font-family: var(--f-body); font-size: 17px; line-height: 1.95; color: #e9e1d6; white-space: pre-line; word-break: keep-all; }
.yacht-profile .pf-persona p + p { margin-top: 1em; }
.yacht-profile .pf-lightbox { border: none; padding: 0; background: transparent; }
.yacht-profile .pf-lightbox::backdrop { background: rgba(15,11,11,.86); }
.yacht-profile .pf-lightbox__card { width: min(86vw, 520px); background: var(--paper-2); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.yacht-profile .pf-box__pic { aspect-ratio: 1; }
.yacht-profile .pf-lightbox__cap { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-family: var(--f-body); }
.yacht-profile .pf-lightbox__cap button { width: 40px; height: 40px; border: none; background: var(--accent); color: var(--cream); font-size: 22px; cursor: var(--cursor-pointer, pointer); }
.yacht-profile .pf-code { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: -14px; padding: 12px 18px; border-left: 6px solid var(--pc); background: rgba(252,249,240,.06); }
.yacht-profile .pf-code__k { font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.yacht-profile .pf-code__en { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: .03em; }
.yacht-profile .pf-code__ko { font-family: var(--f-kr); font-size: 18px; color: var(--pg); }
.yacht-profile .pf-dx { display: flex; flex-direction: column; gap: 0; }
.yacht-profile .pf-dx__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.yacht-profile .pf-dx__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.yacht-profile .pf-tag { padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--cream); font-family: var(--f-display); font-size: 18px; letter-spacing: .06em; line-height: 1.1; }
.yacht-profile .pf-tag--main { background: var(--pcf, var(--pc)); border-color: var(--pcf, var(--pc)); color: var(--cream); }
.yacht-profile .pf-hero[style*="#1d1a1a"] .pf-tag--main { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.yacht-profile .pf-tag--breed { background: var(--cream); color: var(--ink); }
.yacht-profile .pf-tag--opt { border-style: dashed; }
.yacht-profile .pf-basic dt small { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; opacity: .7; }
.yacht-profile .pf-basic dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.yacht-profile .pf-badge { flex-shrink: 0; min-width: 34px; padding: 3px 8px; border: 1.5px solid var(--cream); border-radius: 6px; text-align: center; font-family: var(--f-jp); font-weight: 800; font-size: 15px; line-height: 1.2; }
.yacht-profile .pf-badge.is-num { background: var(--pg); border-color: var(--pg); color: var(--ink); font-family: var(--f-display); font-weight: 400; font-size: 18px; }
.yacht-profile .pf-hero:not([style*="#1d1a1a"]) .pf-badge.is-num { color: var(--cream); background: var(--pcf, var(--pc)); border-color: var(--pcf, var(--pc)); }
@media (max-width: 1000px) {
.yacht-profile .pf-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.yacht-profile .pf-hero__art { min-height: 0; }
.yacht-profile .pf-full { width: min(80%, 380px); }
.yacht-profile .pf-names { margin-top: 0; }
}
@media (max-width: 640px) {
.yacht-profile .pf-switch { padding-top: 48px; }
.yacht-profile .pf-switch__cards { width: 100%; justify-content: center; }
.yacht-profile .pf-pick { width: 140px; height: 196px; }
.yacht-profile .pf-pick__big { width: 56px; height: 56px; }
.yacht-profile .pf-pick__name b { font-size: 17px; }
.yacht-profile .pf-hero { padding-top: 40px; }
.yacht-profile .pf-hero__ghost { font-size: 72px; }
.yacht-profile .pf-faces__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yacht-profile .pf-basics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
.yacht-profile .pf-hero.is-deal > * { animation: none; }
}
.yacht-profile .pf .display--md { font-size: clamp(56px, 6.7vw, 96px); line-height: .86; }
.yacht-profile .pf-dx .pf-basics { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.yacht-profile .pf-basic dd { word-break: keep-all; }
@media (min-width: 1001px) {
.yacht-profile .pf-hero__art { position: sticky; top: 24px; }
}
@media (max-width: 640px) {
.yacht-profile .pf-dx .pf-basics { grid-template-columns: minmax(0, 1fr); }
.yacht-profile .pf-code { margin-top: 0; }
}

/* ---------- 대사 한 줄 · 한 줄 소개 ---------- */
.yacht-profile .pf-intro { display: flex; flex-direction: column; gap: 10px; margin-top: -12px; }
.yacht-profile .pf-quote { margin: 0; }
.yacht-profile .pf-quote p { font-family: var(--f-body); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; color: var(--cream); word-break: keep-all; }
.yacht-profile .pf-quote p::before { content: "“"; color: var(--pg); }
.yacht-profile .pf-quote p::after { content: "”"; color: var(--pg); }
.yacht-profile .pf-tagline { font-family: var(--f-body); font-size: 15px; line-height: 1.7; color: var(--muted); word-break: keep-all; }

/* ---------- 표정: 카드 대신 트럼프 무늬(♠ ♥ ♦ ♣) 모양으로 잘라요 ---------- */
.yacht-profile .pf-face {
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--cream);
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.55));
  transition: translate .2s ease, rotate .2s ease, filter .2s ease;
}
.yacht-profile .pf-face:hover, .yacht-profile .pf-face:focus-visible {
  filter: drop-shadow(0 0 10px var(--pg)) drop-shadow(0 14px 20px rgba(0,0,0,.55));
  outline: none;
}
.yacht-profile .pf-face__pic {
  border-radius: 0;
  background: var(--pc); /* 무늬 안쪽을 캐릭터 테마색으로 꽉 채워요 */
  -webkit-mask: var(--suit) center / contain no-repeat;
          mask: var(--suit) center / contain no-repeat;
}
.yacht-profile .pf-face--S { --suit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 6 3 9.5 3 14c0 2.8 2.2 4.5 4.5 4.5 1.5 0 2.7-.7 3.5-1.7L10 22h4l-1-5.2c.8 1 2 1.7 3.5 1.7 2.3 0 4.5-1.7 4.5-4.5C21 9.5 15 6 12 2z'/%3E%3C/svg%3E"); }
.yacht-profile .pf-face--H { --suit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.3 8.2 2.3 4 6.2 4c2.3 0 4 1.3 5.8 3.5C13.8 5.3 15.5 4 17.8 4c3.9 0 5.9 4.2 4.2 7.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.yacht-profile .pf-face--D { --suit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 21 12 12 23 3 12z'/%3E%3C/svg%3E"); }
.yacht-profile .pf-face--C { --suit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4.6'/%3E%3Ccircle cx='6.6' cy='13.6' r='4.6'/%3E%3Ccircle cx='17.4' cy='13.6' r='4.6'/%3E%3Cpath d='M12 9h0l1.8 13H10.2z'/%3E%3Cpath d='M10 12h4v3h-4z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.yacht-profile .pf-face__pic .pf-ph { display: none; }
.yacht-profile .pf-face__label { color: var(--muted); }
