/* 00 테마 두 가지(11-17 모임장: 「스위스와 글라스 2 타입」)
   .slide.gl = 글래스: 어두운 GPT 배경 + 뒤가 흐리게 비치는 유리판(움직이는 빛이 유리 뒤로 지나감)
   .slide.sw = 스위스: 밝은 종이, 검정, 빨강 한 색, 굵은 줄, 왼쪽 정렬
   내용 장면은 sw, 표지, 전환, 분위기 장면은 gl */

/* ───────── 스위스 ───────── */
.slide.sw {
  --ink: #111111; --dim: #4a4a4a; --faint: #8a8a8a;
  --spot: #E30613; --mint: #111111; --pink: #E30613;
  --night: #F4F3EF; --night-2: #FFFFFF; --night-3: #111111; --line: rgba(17, 17, 17, .16);
  background: #F4F3EF; color: var(--ink);
}
.slide.sw::before { content: ""; position: absolute; left: 140px; right: 140px; top: 64px; height: 12px; background: #111; z-index: 0; }
.slide.sw .sw-no { position: absolute; right: 140px; top: 96px; font: 900 30px/1 var(--display); color: #E30613; letter-spacing: .02em; }
.slide.sw .src { color: #8a8a8a; }
.slide.sw .prompt { background: #fff; box-shadow: inset 0 0 0 3px #111, 0 14px 30px rgba(0, 0, 0, .08); }
.slide.sw .prompt .send svg path { stroke: #fff; }
/* 스위스 부 전환: <section class="slide sw sw-part" data-nohud> 안에 .sp-num(큰 빨간 숫자), .sp-ttl(제목), .sp-lead(한 줄) */
.slide.sw.sw-part::before { top: 64px; }
.slide.sw.sw-part .sp-num { position: absolute; left: 130px; top: 120px; font: 900 520px/0.8 var(--display); color: #E30613; letter-spacing: -0.06em; }
.slide.sw.sw-part .sp-ttl { position: absolute; left: 140px; bottom: 210px; font: 900 132px/1.02 var(--display); letter-spacing: -0.035em; color: #111; }
.slide.sw.sw-part .sp-lead { position: absolute; left: 140px; right: 140px; bottom: 120px; padding-top: 22px; border-top: 8px solid #111; font: 700 40px/1.2 var(--body); color: #111; }
.slide.sw.sw-part .sp-side { position: absolute; right: 140px; top: 120px; width: 520px; padding-left: 26px; border-left: 4px solid #111; font: 600 28px/1.55 var(--body); color: #111; }
#stage:has(.slide.on.sw) #hud { color: #111; }
#stage:has(.slide.on.sw) #hud .part { color: #6b6b6b; }
#stage:has(.slide.on.sw) #progress { background: #E30613; }
#stage:has(.slide.on.sw) #grain { opacity: .25; }

/* ───────── 글래스 ───────── */
.slide.gl { --gl-bg: url(../media/bg/title_bg.png); background: #0A0C22; }
.slide.gl .gl-bg { position: absolute; inset: 0; background: var(--gl-bg) center / cover no-repeat; }
.slide.gl .gl-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 15% 50%, rgba(8, 10, 32, .82), rgba(8, 10, 32, .35) 70%, rgba(8, 10, 32, .1)); }
/* 유리 뒤로 지나가는 빛 덩어리: 유리판이 이걸 흐리게 비춰서 「비침」이 보임 */
.slide.gl .gl-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.slide.gl .gl-orbs i { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .85; mix-blend-mode: screen; }
.slide.gl .gl-orbs i:nth-child(1) { width: 520px; height: 520px; left: 8%; top: 18%; background: radial-gradient(circle, rgba(255, 207, 61, .75), rgba(255, 170, 40, 0) 68%); animation: glo1 14s ease-in-out infinite alternate; }
.slide.gl .gl-orbs i:nth-child(2) { width: 420px; height: 420px; left: 38%; top: 46%; background: radial-gradient(circle, rgba(120, 200, 255, .45), rgba(120, 200, 255, 0) 66%); animation: glo2 17s ease-in-out infinite alternate; }
.slide.gl .gl-orbs i:nth-child(3) { width: 300px; height: 300px; left: 22%; top: 62%; background: radial-gradient(circle, rgba(255, 120, 150, .4), rgba(255, 120, 150, 0) 66%); animation: glo3 12s ease-in-out infinite alternate; }
@keyframes glo1 { to { transform: translate(380px, 120px) scale(1.15); } }
@keyframes glo2 { to { transform: translate(-420px, -160px) scale(.9); } }
@keyframes glo3 { to { transform: translate(300px, -260px) scale(1.2); } }

/* 유리판 */
.glass {
  position: relative; border-radius: 38px; isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .03) 100%);
  backdrop-filter: blur(26px) saturate(175%) brightness(1.06); -webkit-backdrop-filter: blur(26px) saturate(175%) brightness(1.06);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .06), inset 1px 0 0 rgba(255, 255, 255, .12),
              0 40px 90px rgba(0, 0, 0, .55), 0 8px 24px rgba(0, 0, 0, .3);
  overflow: hidden;
}
/* 빛을 받는 테두리: 왼쪽 위는 희게, 오른쪽 아래는 노랗게 */
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .12) 35%, rgba(255, 255, 255, .04) 60%, rgba(255, 207, 61, .65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* 유리 위를 천천히 지나가는 반사 띠 */
.glass::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 38%; left: -60%; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .16) 45%, rgba(255, 255, 255, .02) 60%, rgba(255, 255, 255, 0));
  transform: rotate(8deg); animation: glsheen 7s ease-in-out infinite; }
@keyframes glsheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.glass > * { position: relative; z-index: 3; }
.glass.sm { border-radius: 26px; }
.glass.warm { background: linear-gradient(135deg, rgba(255, 207, 61, .2), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .03)); }
.glass.rose { background: linear-gradient(135deg, rgba(255, 98, 144, .2), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .03)); }
.glass.mint { background: linear-gradient(135deg, rgba(75, 227, 193, .2), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .03)); }
@media (prefers-reduced-motion: reduce) { .slide.gl .gl-orbs i, .glass::after { animation: none; } }

/* 11-17 GPT 흑백 사진(빨강 하나) 자리 */
.slide.sw [data-ph] { position: absolute; overflow: hidden; background: #ddd; z-index: 0; }
.slide.sw [data-ph] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide.sw.sw-part .sp-photo { left: 980px; right: 140px; top: 440px; bottom: 300px; box-shadow: inset 0 0 0 0 #111; }
.slide.sw .ph-era { left: 1180px; right: 140px; top: 120px; height: 470px; }
.slide.sw .ph-hands { left: 960px; right: 140px; top: 800px; bottom: 96px; }
.slide.sw .ph-hands img { object-position: 50% 30%; }
.slide.sw .ph-tutor { left: 140px; width: 860px; top: 390px; height: 340px; }
.slide.sw .ph-usefor { left: 1360px; right: 140px; top: 138px; height: 180px; }
.slide.sw .ph-money { left: 1420px; right: 140px; top: 300px; bottom: 180px; }
[data-id="money"] .mo-labels { right: 330px !important; }

.slide.sw.sw-part[data-id="s2"] .sp-photo { top: 490px; }

/* 11-17 모임장: 아래 주석, 장 번호, 폰 연결 표시, 오른쪽 위 꼬리표, 노이즈 모두 안 보이게 */
.slide .src, .slide.sw .sw-no, #hud, #rc-badge, #grain { display: none !important; }
