/* 메인 「모든 매체로 연결되는 길을 로케팅에서 설계합니다」 매체 구간 (2026-10-05 서비스 v3 세션 제작 · 메인 세션이 .ab-marquee 자리에 끼움)
   형님 「너무 심심해 … 마우스 올리면 멈추는 게 아니라 색다른 모션 디자인」 → 흩어진 매체 13개가 가운데 R 로 모이고 선이 이어진다.
   마우스를 움직이면 타일이 살짝 끌려오고 선이 따라 늘어나며, 타일에 올리면(휴대폰은 누르면) 그 선으로 데이터가 R 에 들어가고 무엇을 같이 보는지 한 줄이 뜬다.
   설계 좌표: 넓은 화면 1100×480, 좁은 화면(860px 미만) 360×440 — .mxt-space 를 통째로 줄인다(--mxt-k). 접두어 mxt- 만 쓴다. */
.mxt-root{position:relative;width:100%;margin:44px auto 0}
.mxt-stage{position:relative;width:100%;max-width:1100px;margin:0 auto;aspect-ratio:1100/480;touch-action:manipulation}
.mxt-root.is-compact .mxt-stage{max-width:520px;aspect-ratio:360/360}
.mxt-space{position:absolute;left:0;top:0;width:1100px;height:480px;transform-origin:0 0;transform:scale(var(--mxt-k,1));font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:#1C1815;letter-spacing:-.012em;word-break:keep-all}
.mxt-root.is-compact .mxt-space{width:360px;height:440px}
.mxt-space *{box-sizing:border-box}
.mxt-space::before{content:"";position:absolute;left:50%;top:50%;width:560px;height:560px;margin:-280px 0 0 -280px;border-radius:50%;background:radial-gradient(circle,rgba(252,131,0,.10) 0%,rgba(252,131,0,.04) 38%,rgba(252,131,0,0) 70%);pointer-events:none}
.mxt-root.is-compact .mxt-space::before{width:340px;height:340px;margin:-170px 0 0 -170px}

/* 선 */
.mxt-wires{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.mxt-wire{fill:none;stroke:#E6DFD6;stroke-width:1.6;stroke-linecap:round;transition:stroke .35s,stroke-width .35s,opacity .35s,stroke-dashoffset 1s cubic-bezier(.4,0,.2,1)}
.mxt-root.has-hot .mxt-wire{opacity:.35}
.mxt-root.has-hot .mxt-wire.is-hot{opacity:1;stroke:#FC8300;stroke-width:2.6}
.mxt-dot{fill:#FC8300;filter:drop-shadow(0 0 5px rgba(252,131,0,.7))}

/* 가운데 R */
.mxt-hub{position:absolute;left:486px;top:176px;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:128px;height:128px;border-radius:50%;background:#fff;border:1px solid #E7E2D9;box-shadow:0 1px 2px rgba(28,24,21,.05),0 26px 50px -30px rgba(28,24,21,.45);opacity:0;transform:scale(.82);transition:opacity .5s ease,transform .7s cubic-bezier(.3,1.3,.4,1)}
.mxt-root.is-compact .mxt-hub{left:134px;top:174px;width:92px;height:92px;gap:4px}
.mxt-hub img{display:block;width:52px;height:52px;max-width:none}
.mxt-root.is-compact .mxt-hub img{width:38px;height:38px}
.mxt-hub b{font-size:10.5px;font-weight:800;letter-spacing:.16em;color:#8A7F75}
.mxt-root.is-compact .mxt-hub b{font-size:8px}
.mxt-root.is-in .mxt-hub{opacity:1;transform:none}
.mxt-tilt{display:flex;flex-direction:column;align-items:center;gap:6px;transition:transform .3s ease-out}
.mxt-root.is-compact .mxt-tilt{gap:4px}
.mxt-ring{position:absolute;inset:-2px;border-radius:50%;border:2px solid #FC8300;opacity:0;pointer-events:none}
.mxt-ring.is-go{animation:mxt-ring .75s cubic-bezier(.2,.7,.3,1)}
@keyframes mxt-ring{0%{opacity:.55;transform:scale(1)}100%{opacity:0;transform:scale(1.55)}}

/* 한 줄 설명 */
.mxt-cap{position:absolute;left:550px;top:324px;z-index:3;display:flex;align-items:center;gap:8px;max-width:420px;margin:0;padding:10px 16px;border-radius:999px;background:#F3EFE9;color:#5E554D;font-size:14px;font-weight:700;line-height:1.35;white-space:nowrap;transform:translateX(-50%);opacity:0;transition:opacity .4s ease,background .3s,color .3s}
.mxt-root.is-compact .mxt-cap{left:180px;top:276px;flex-direction:column;gap:1px;width:max-content;max-width:190px;padding:8px 12px;border-radius:14px;font-size:12px;white-space:normal;text-align:center;justify-content:center}
.mxt-root.is-compact .mxt-cap b{white-space:nowrap}
.mxt-root.is-ready .mxt-cap{opacity:1}
.mxt-cap b{color:#1C1815;font-weight:800}
.mxt-cap b:empty{display:none}
.mxt-root.has-hot .mxt-cap{background:#1C1815;color:#E9E3DB}
.mxt-root.has-hot .mxt-cap b{color:#FFB565}

/* 매체 타일 */
.mxt-list{margin:0;padding:0;list-style:none}
.mxt-root:not(.mxt-on) .mxt-list{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.mxt-node{list-style:none}
.mxt-on .mxt-node{position:absolute;z-index:4;width:112px;height:84px;opacity:0;transform:translate(var(--sx,0),var(--sy,0)) rotate(var(--sr,0deg)) scale(.92);transition:opacity .6s ease var(--d,0s),transform 1s cubic-bezier(.2,.8,.2,1) var(--d,0s)}
.mxt-root.is-compact .mxt-node{width:54px;height:54px}
.mxt-root.is-in .mxt-node{opacity:1;transform:none}
.mxt-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:112px;height:84px;border:1px solid #E7E2D9;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(28,24,21,.04),0 18px 32px -24px rgba(28,24,21,.38);cursor:default;transform:translate(var(--mx,0px),var(--my,0px)) scale(var(--ms,1));transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s}
.mxt-root.is-compact .mxt-tile{width:54px;height:54px;border-radius:50%;gap:0}
.mxt-tile img{display:block;width:30px;height:30px;max-width:none;object-fit:contain}
.mxt-root.is-compact .mxt-tile img{width:26px;height:26px}
.mxt-tile b{font-size:13px;font-weight:700;color:#3D3631;white-space:nowrap}
.mxt-root.is-compact .mxt-tile b,.mxt-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.mxt-node.is-hot .mxt-tile{--ms:1.08;border-color:#FC8300;box-shadow:0 0 0 4px rgba(252,131,0,.14),0 22px 38px -24px rgba(252,131,0,.55)}
.mxt-root.has-hot .mxt-node:not(.is-hot) .mxt-tile{border-color:#EFEAE3}

/* 움직임 줄이기 · 스크립트 없음 */
.mxt-still .mxt-node,.mxt-still .mxt-hub,.mxt-still .mxt-wire,.mxt-still .mxt-cap,.mxt-still .mxt-tile{transition:none!important}
@media (prefers-reduced-motion:reduce){.mxt-space *{transition:none!important;animation:none!important}}
