@font-face{font-family:OpeningSUIT;src:url('./assets/SUIT.woff2') format('woff2');font-weight:100 900;font-display:swap}
/* 몽골어 화면 글(10-19 화면 언어 1판): SUIT에 키릴이 없어 Inter Tight의 키릴 조각을 붙인다. */
@font-face{font-family:OpeningCyrillic;src:url('./assets/SYNKCyrillic-Regular.woff2') format('woff2');font-weight:100 549;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:OpeningCyrillic;src:url('./assets/SYNKCyrillic-SemiBold.woff2') format('woff2');font-weight:550 649;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:OpeningCyrillic;src:url('./assets/SYNKCyrillic-Bold.woff2') format('woff2');font-weight:650 1000;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:OpeningInter;src:url('./assets/InterTight.woff2') format('woff2');font-weight:100 900;font-display:swap}
.synk-opening{--opening-ink:#fff;position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:#000;color:var(--opening-ink);font-family:OpeningCyrillic,OpeningSUIT,system-ui,sans-serif;isolation:isolate}
.synk-opening::backdrop{background:#000}
.synk-opening *{box-sizing:border-box}
.synk-opening button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.synk-opening:focus{outline:none}
.synk-opening button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.opening-company{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}
.opening-company{z-index:2;background:#000;transition:opacity .45s ease}
.opening-company[hidden]{display:none}
.opening-light{position:absolute;width:min(880px,150vw);height:min(660px,95vh);background:radial-gradient(ellipse,rgba(255,255,255,.075) 0%,rgba(255,255,255,.025) 38%,transparent 68%);pointer-events:none;opacity:0;animation:opening-light 1.3s .2s cubic-bezier(.2,.7,.25,1) forwards}
.opening-company-lockup{position:relative;display:flex;flex-direction:column;align-items:center;gap:30px;max-width:100%;padding:24px;margin-top:-28px}
.opening-wordmark{display:block;width:clamp(200px,67vw,430px);height:auto;object-fit:contain;opacity:.1;animation:opening-wordmark .86s cubic-bezier(.16,1,.3,1) forwards}
.opening-credit{margin:0;font-family:OpeningInter,system-ui,sans-serif;font-size:11px;font-weight:500;letter-spacing:.25em;opacity:0;animation:opening-credit .65s .65s ease forwards}
.opening-controls{position:absolute;z-index:5;top:calc(max(18px,env(safe-area-inset-top)) + var(--synk-launch-h,0px));right:max(18px,env(safe-area-inset-right))}
.opening-sound{position:relative;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;padding:8px;background:transparent;color:#fff;opacity:.82;transition:opacity .18s ease}
.opening-sound:hover,.opening-sound:focus-visible{opacity:1}
.opening-copyright{position:absolute;bottom:calc(24px + env(safe-area-inset-bottom));left:20px;right:20px;margin:0;text-align:center;font-family:OpeningInter,system-ui,sans-serif;font-size:9px;font-weight:400;letter-spacing:.16em;color:#c8c9c8;z-index:4;pointer-events:none}
.opening-enter{position:absolute;inset:0;z-index:3;width:100%;height:100%;border:0;padding:0;background:transparent;color:#fff;cursor:pointer}
.synk-opening .opening-enter:focus-visible{outline:none}
.synk-opening[data-keyboard=true][data-stage=company] .opening-enter:focus-visible{outline:1px solid #ffffff80;outline-offset:-16px}
.synk-opening[data-stage=title] .opening-company{opacity:0;pointer-events:none}
.synk-opening[data-reduced=true] *{animation:none!important;transition:none!important}
.synk-opening[data-reduced=true] .opening-wordmark,.synk-opening[data-reduced=true] .opening-credit,.synk-opening[data-reduced=true] .opening-light{opacity:1}
.synk-opening[data-reduced=true] .opening-light{opacity:.5}
@keyframes opening-wordmark{from{opacity:.1;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes opening-light{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes opening-credit{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(orientation:landscape){.opening-company-lockup{gap:38px}.opening-wordmark{width:min(430px,44vw)}.opening-credit{font-size:12px}.opening-controls{top:calc(max(24px,env(safe-area-inset-top)) + var(--synk-launch-h,0px));right:max(28px,env(safe-area-inset-right))}}
@media(max-height:610px){.opening-copyright{bottom:15px}}
/* 2026-10-14 시그널 게임판의 소리 단추: 유리 원 + 선 아이콘. 콘서트 판은 아래에서 언어 단추와 같은 알약으로 다시 칠한다. */
.opening-sound{width:44px;height:44px;padding:0;opacity:1;background:rgba(14,15,19,.56);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(255,255,255,.1),0 10px 30px rgba(0,0,0,.25);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6)}
.opening-sound::before{content:'';width:20px;height:20px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='m16 9.5 5 5m0-5-5 5' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='m16 9.5 5 5m0-5-5 5' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.opening-sound[aria-pressed=true]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M15.5 9a4 4 0 0 1 0 6M18 6.5a7.5 7.5 0 0 1 0 11' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M15.5 9a4 4 0 0 1 0 6M18 6.5a7.5 7.5 0 0 1 0 11' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E")}
.opening-copyright{font-size:11px;letter-spacing:.14em;color:rgba(255,255,255,.62)}
/* 2026-11-02 펠트 안녕 콘서트(유호님 「B 펠트 콘서트」, 결정 11-02 · docs/WORLD_게임방향_재설계_20261031.md 9절 ②).
 * 구운 사진 한 장(한강 둔치 무대의 크림 펠트 「안녕」) 위에 무대 빛 · 빔 · 응원봉 반짝임을 캔버스로 얹는다. 글은 로고 · WORLD · 한 줄 · 시작 글자만,
 * 위 모서리는 언어 · 소리 유리 알약, 아래 모서리는 ©. 세로는 로고 위 · 글 아래, 가로는 로고 왼쪽 · 무대 오른쪽. */
.synk-opening[data-concert]{background:#03060f}
.opening-concert{position:absolute;inset:0;z-index:1;overflow:hidden;background:var(--concert-sky,#040b1a);opacity:0;transition:opacity .65s ease}
.opening-concert[hidden]{display:none}
.synk-opening[data-stage=title] .opening-concert{opacity:1}
.concert-cam{position:absolute;inset:0;animation:concert-push 8s ease-in-out infinite alternate}
.concert-scene,.concert-glow{position:absolute;display:block;max-width:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 6%);mask-image:linear-gradient(180deg,transparent 0,#000 6%)}
.concert-scene[hidden],.concert-glow[hidden]{display:none}
.concert-glow{mix-blend-mode:screen;opacity:0;-webkit-mask-image:linear-gradient(180deg,transparent 0,transparent var(--concert-crowd,72%),#000 calc(var(--concert-crowd,72%) + 5%));mask-image:linear-gradient(180deg,transparent 0,transparent var(--concert-crowd,72%),#000 calc(var(--concert-crowd,72%) + 5%))}
.concert-fx,.concert-top{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.concert-top{z-index:2}
.concert-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(2,6,16,.5) 0,transparent 22%,transparent 72%,rgba(2,4,10,.6) 86%,rgba(2,4,10,.86) 100%)}
.concert-copy{position:absolute;z-index:1;top:calc(max(14px,env(safe-area-inset-top)) + 7.4% + var(--synk-launch-h,0px));left:0;right:0;display:flex;flex-direction:column;align-items:center;pointer-events:none}
.concert-logo{display:block;width:clamp(164px,48vw,206px);height:auto;filter:drop-shadow(0 0 18px rgba(255,236,214,.32))}
.concert-world{margin:4px 0 0 .9em;font-family:OpeningInter,system-ui,sans-serif;font-size:14px;font-weight:800;line-height:1;letter-spacing:.9em;color:#F3E7D3;text-shadow:0 0 12px rgba(255,236,214,.45)}
.concert-world-letter{display:inline-block}
.concert-line{position:absolute;z-index:1;left:24px;right:24px;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 7.4% + 46px);margin:0;text-align:center;font-size:15px;font-weight:600;line-height:1.45;letter-spacing:-.01em;color:rgba(255,255,255,.84);text-shadow:0 1px 14px rgba(0,0,0,.95);word-break:keep-all;text-wrap:balance;pointer-events:none}
.concert-start{position:absolute;left:50%;width:max-content;max-width:calc(100% - 32px);transform:translateX(-50%);bottom:calc(max(18px,env(safe-area-inset-bottom)) + 7.4% + 10px);font-family:OpeningInter,system-ui,sans-serif;font-size:18px;font-weight:800;line-height:1;letter-spacing:.32em;text-indent:.32em;text-align:center;color:#fff;text-shadow:0 0 18px rgba(255,79,168,.95),0 0 4px rgba(255,255,255,.5),0 1px 3px rgba(0,0,0,.9)}
.concert-start[hidden]{display:none}
.synk-opening[data-stage=title] .concert-start{animation:concert-breathe 1.2s ease-in-out infinite}
.synk-opening[data-leaving] .concert-start{animation:none}
.synk-opening[data-keyboard=true] .opening-enter:focus-visible .concert-start{outline:2px solid #fff;outline-offset:8px}
.concert-lang-wrap{position:absolute;z-index:5;top:calc(max(18px,env(safe-area-inset-top)) + var(--synk-launch-h,0px));left:max(16px,env(safe-area-inset-left));opacity:0;visibility:hidden;pointer-events:none;transition:opacity .6s ease .2s,visibility 0s linear .8s}
.synk-opening[data-stage=title] .concert-lang-wrap{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .6s ease .2s,visibility 0s}
.synk-opening[data-concert] .concert-lang,.synk-opening[data-concert] .opening-sound,.synk-opening[data-concert][data-stage=title] .opening-sound{display:flex;align-items:center;gap:6px;width:auto;height:36px;padding:0 14px;border:0;border-radius:18px;background:rgba(8,8,18,.46);box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;font-size:13px;font-weight:700;line-height:1;opacity:1}
.synk-opening[data-concert] .concert-lang svg{width:14px;height:14px}
.synk-opening[data-concert] .opening-controls{top:calc(max(18px,env(safe-area-inset-top)) + var(--synk-launch-h,0px));right:max(16px,env(safe-area-inset-right))}
.synk-opening[data-concert] .opening-sound::before,.synk-opening[data-concert] .opening-sound[aria-pressed=true]::before{width:15px;height:15px;flex:none;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 2.5v7.1A2.3 2.3 0 1 0 7.4 12V5.3l5-1.2v4.1A2.3 2.3 0 1 0 13.8 10.6V1z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 2.5v7.1A2.3 2.3 0 1 0 7.4 12V5.3l5-1.2v4.1A2.3 2.3 0 1 0 13.8 10.6V1z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat}
.concert-sound-label{white-space:nowrap}
.synk-opening[data-concert][data-stage=title] .opening-copyright{left:16px;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));text-align:left;font-size:10px;letter-spacing:.12em;color:rgba(255,255,255,.68)}
/* WORLD 「움직임 줄이기」(:root[data-motion=reduced])도 기기 설정처럼 밀어 들어감 · 숨쉬기를 멈춘다(캔버스는 motionOn()이 멈춘다). */
:root[data-motion=reduced] .concert-cam,:root[data-motion=reduced] .synk-opening[data-stage=title] .concert-start{animation:none}
/* 동작 줄이기면 캔버스는 그리지 않아 늘 비어 있다 — 숨겨서 배포 점검(캔버스를 자홍색으로 가림)이 무대 사진 · 글을 그대로 찍게 한다. */
.synk-opening[data-reduced=true] .concert-fx,.synk-opening[data-reduced=true] .concert-top,:root[data-motion=reduced] .concert-fx,:root[data-motion=reduced] .concert-top{display:none}
@keyframes concert-push{from{transform:scale(1)}to{transform:scale(1.03)}}
@keyframes concert-breathe{0%,100%{opacity:1}50%{opacity:.55}}
@media(orientation:landscape){
 .synk-opening[data-concert] .concert-shade{background:linear-gradient(90deg,rgba(6,6,16,.78) 0,rgba(6,6,16,.4) 28%,transparent 44%),linear-gradient(180deg,transparent 66%,rgba(4,4,10,.62) 86%,rgba(4,4,10,.9) 100%)}
 .concert-copy{top:auto;bottom:52%;left:7.5%;right:auto;align-items:flex-start}
 .concert-logo{width:clamp(164px,16vw,232px)}
 .concert-world{margin:6px 0 0 .1em;font-size:18px}
 .concert-line{font-size:17px;bottom:calc(7% + 50px);left:max(24px,22%);right:max(24px,22%)}
 .concert-start{font-size:19px;bottom:7%}
}
@media(orientation:landscape) and (max-height:500px){
 .concert-copy{bottom:auto;top:calc(16% + var(--synk-launch-h,0px))}
 .concert-logo{width:128px}
 .concert-world{font-size:12px;margin-top:4px}
 .concert-line{font-size:13px;bottom:52px}
 .concert-start{font-size:14px;bottom:22px}
 .concert-lang-wrap,.synk-opening[data-concert] .opening-controls{top:calc(10px + var(--synk-launch-h,0px))}
 .synk-opening[data-concert] .concert-lang,.synk-opening[data-concert] .opening-sound,.synk-opening[data-concert][data-stage=title] .opening-sound{height:32px;font-size:12px}
}
@media(orientation:portrait) and (max-height:640px){
 .concert-copy{top:calc(max(10px,env(safe-area-inset-top)) + 9% + var(--synk-launch-h,0px))}
 .concert-logo{width:clamp(132px,40vw,164px)}
 .concert-line{font-size:13.5px;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 6% + 40px)}
 .concert-start{font-size:16px;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 6% + 8px)}
}
