/* ---------- ライバル選択（お嬢様の手帳とマーカー） ---------- */
.select-screen .bg { filter: saturate(.85) brightness(1.03); }
.select-screen .veil { position: absolute; inset: 0; background: rgba(255,253,249,.42); }

.select-screen .select-head { position: absolute; top: 28px; left: 60px; display: flex; align-items: flex-end; gap: 28px; }
.select-screen .select-head .hint { font-size: 22px; color: var(--ink-2); margin-bottom: 4px; padding: 4px 16px; border-radius: 999px; background: rgba(255,253,249,.88); }

/* ロスター：チェキ風カード 4×2 */
.select-screen .roster { position: absolute; top: 140px; left: 60px; width: 950px; display: grid; grid-template-columns: repeat(4, 217px); gap: 24px 26px; }
.select-screen .rcard { position: relative; cursor: pointer; user-select: none; transition: transform .15s, box-shadow .15s; }
.select-screen .rcard:nth-child(odd) { transform: rotate(-1.2deg); }
.select-screen .rcard:nth-child(even) { transform: rotate(1.2deg); }
.select-screen .rcard:hover { transform: translateY(-6px) rotate(0); box-shadow: var(--pop-lg); }
.select-screen .rcard .photo {
  position: relative; width: 192px; height: 222px; overflow: hidden; border-radius: 3px;
  background: color-mix(in srgb, var(--c) 22%, #fff);
  border: 2px solid color-mix(in srgb, var(--c) 30%, var(--line-soft));
}
.select-screen .rcard .photo img { position: absolute; max-width: none; pointer-events: none; }
.select-screen .rcard .cap { padding: 8px 2px 10px; }
.select-screen .rcard .cap b { display: block; font: 900 23px var(--round); letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.select-screen .rcard .cap small { display: block; margin-top: 2px; font: 700 14px var(--round); color: var(--ink-2); }
.select-screen .rcard.focus .cap b { text-decoration: underline wavy color-mix(in srgb, var(--c) 60%, #fff) 2px; text-underline-offset: 6px; }
.select-screen .rcard.sel { box-shadow: 0 0 0 6px var(--c), var(--pop-lg); border-color: var(--line); }
.select-screen .rcard.full { opacity: .72; }
.select-screen .rcard.locked { cursor: default; filter: grayscale(.7); opacity: .7; }
.select-screen .rcard .badge {
  position: absolute; top: -14px; left: -14px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--line); box-shadow: 3px 4px 0 var(--c);
  color: var(--ink); display: grid; place-items: center; font-size: 28px;
}

/* 選択スロットバー */
.select-screen .select-bar { position: absolute; left: 60px; top: 826px; width: 950px; }
.select-screen .pslots { display: flex; gap: 16px; }
.select-screen .pslot {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 12px 0 18px;
  border-radius: 999px; border: var(--bw) solid var(--line); background: var(--paper); box-shadow: var(--pop);
}
.select-screen .pslot .lab { font: 700 16px var(--round); color: var(--ink-2); }
.select-screen .pslot b { font: 900 24px var(--round); color: var(--ink); }
.select-screen .pslot .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2px solid var(--line); flex: none; }
.select-screen .pslot.on { background: color-mix(in srgb, var(--c) 16%, #fff); }
.select-screen .pslot .x {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--line); background: #fff; color: var(--ink); font: 900 22px var(--round); line-height: 1;
}
.select-screen .pslot .x:hover { background: var(--pink-soft); }
.select-screen .pslot.empty { border-style: dashed; border-color: var(--line-soft); box-shadow: none; background: rgba(255,253,249,.8); }
.select-screen .pslot.empty b { color: var(--ink-2); font-size: 21px; }
.select-screen .pslot.empty small { font-size: 15px; color: var(--ink-2); }

/* 下部フッター */
.select-screen .select-foot { position: absolute; left: 60px; bottom: 44px; width: 950px; display: flex; align-items: center; gap: 22px; }
.select-screen .diff-wrap { display: flex; align-items: center; gap: 10px; }
.select-screen .diff-wrap > .lab { font: 700 17px var(--round); color: var(--ink-2); }
.select-screen .diff { display: flex; gap: 6px; background: var(--paper); padding: 6px; border-radius: 999px; border: var(--bw) solid var(--line); }
.select-screen .diff button { border: 2px solid transparent; background: transparent; padding: 7px 18px; border-radius: 999px; font: 700 19px var(--round); color: var(--ink-2); cursor: pointer; }
.select-screen .diff button small { margin-left: 6px; font-size: 15px; }
.select-screen .diff button.on { background: var(--lemon); color: var(--ink); border-color: var(--line); }
.select-screen .select-foot .go { padding: 14px 40px; }

/* プロフィール：右パネル。立ち絵は上端を少し枠から飛び出させ、足元まで収める */
.select-screen .profile { position: absolute; top: 128px; left: 1050px; width: 820px; height: 912px; padding: 0; overflow: visible; background: rgba(255,253,249,.97); }
.select-screen .profile .art-wrap { position: absolute; right: -24px; bottom: 22px; width: 400px; height: 0; display: flex; justify-content: center; }
.select-screen .profile .disc { position: absolute; bottom: 120px; left: 50%; width: 360px; height: 360px; margin-left: -180px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, #fff); }
.select-screen .profile .art { position: absolute; bottom: 0; max-width: none; pointer-events: none; }
.select-screen .profile .info { position: absolute; left: 38px; top: 34px; bottom: 30px; width: 400px; display: flex; flex-direction: column; align-items: flex-start; }
.select-screen .profile .grade { font-size: 15px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; line-height: 1.5; }
.select-screen .profile .name { margin: 8px 0 0; }
.select-screen .profile .name span {
  font: 900 52px var(--round); letter-spacing: .06em; color: var(--ink); padding: 0 8px;
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--c) 32%, #fff) 58% 92%, transparent 92%);
}
.select-screen .profile .reading { margin-top: 2px; font-size: 17px; letter-spacing: .28em; color: var(--ink-2); padding-left: 8px; }
.select-screen .profile .catch { margin: 18px 0 14px; font-size: 24px; line-height: 1.55; color: var(--accent-dk); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.select-screen .profile .desc { font-size: 18px; line-height: 1.75; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.select-screen .profile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.select-screen .profile .stakes { align-self: stretch; display: flex; flex-direction: column; gap: 22px; margin-top: auto; padding-top: 26px; }
.select-screen .profile .memo {
  position: relative; padding: 16px 18px 14px; border-radius: 4px; border: 2px solid var(--line-soft);
  background: var(--paper); box-shadow: var(--pop);
}
.select-screen .profile .memo::before {
  content: ''; position: absolute; left: 22px; top: -12px; width: 92px; height: 24px; border-radius: 3px; opacity: .9;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.4) 0 6px, transparent 6px 12px), var(--tape);
  transform: rotate(-4deg);
}
.select-screen .profile .memo.win { --tape: var(--lemon); transform: rotate(-.8deg); background: var(--lemon-soft); }
.select-screen .profile .memo.lose { --tape: var(--sky); transform: rotate(.7deg); background: var(--pink-soft); }
.select-screen .profile .memo .lab { font: 700 17px var(--hand); color: var(--ink-2); }
.select-screen .profile .memo .tt { margin-top: 4px; font: 900 20px var(--round); line-height: 1.5; color: var(--ink); }
.select-screen .profile .zukan-btn { margin-top: 24px; }
