/* 도구 카드 미리보기(.tt) — tools.html · 홈이 같이 쓴다. 장면은 tools-data.js의 AIM.toolThumb가 그린다.
   aim.css에 넣지 않은 이유: aim.css는 수업 슬라이드도 읽어서 이름이 새기 쉽다. 그래서 전부 .tt 안으로 가둔다.
   말투는 AIM 첫 화면 그대로 — 도구 색 판 + 테이프 · 스티커 · 두꺼운 테두리 · 딱딱한 그림자 · 형광 알약.
   크기: 판 너비의 1/32을 1em으로 잡아(컨테이너 단위) 카드가 커지고 작아져도 장면이 통째로 같이 준다.
   위치는 %(판 기준), 크기는 em. 계속 도는 움직임은 .fx(움직임 줄이기 꺼짐)일 때만, 반응은 카드에 올렸을 때 */
.tt{--tt:var(--lime);position:relative;aspect-ratio:16/9;overflow:hidden;border:var(--bd-sm);border-radius:var(--radius-lg);
  background:var(--tt);container-type:inline-size;color:var(--ink);font-family:var(--sans)}
.tt-s{position:absolute;inset:0;font-size:calc(100cqw / 32);line-height:1.2}
.tt-s *{box-sizing:border-box}
.tt .ico{width:1em;height:1em;vertical-align:-.12em}
/* 공용 조각 */
.tt .k{position:absolute;background:var(--card);border:2px solid var(--ink);border-radius:.6em;box-shadow:.35em .35em 0 var(--ink)}
.tt .tp{position:absolute;left:50%;top:-.75em;width:4.6em;height:1.4em;margin-left:-2.3em;background:rgba(255,210,61,.9);border:1px solid rgba(0,0,0,.22);rotate:-6deg;z-index:2}
.tt .st{position:absolute;z-index:4;display:inline-flex;align-items:center;gap:.3em;font:800 1.05em/1 var(--sans);padding:.45em .75em;
  border:2px solid var(--ink);border-radius:999px;background:var(--card);box-shadow:.2em .2em 0 var(--ink);white-space:nowrap}
.tt .big{position:absolute;right:2%;bottom:-6%;font:700 7.4em/1 var(--display);letter-spacing:-.05em;color:transparent;
  -webkit-text-stroke:2px rgba(18,18,18,.2);pointer-events:none;white-space:nowrap}
.tt .pl{display:inline-block;padding:0 .2em;background:var(--lime);color:var(--ink);border:2px solid var(--ink);border-radius:.22em;rotate:-3deg;box-shadow:.12em .12em 0 var(--ink)}
.tt i,.tt em,.tt u,.tt mark{font-style:normal}
.fx .tt-s *{transition:rotate .45s var(--spring),translate .45s var(--spring),scale .45s var(--spring),top .45s var(--spring),
  border-radius .35s var(--spring),background-color .25s,opacity .25s}
@keyframes tt-spin{to{rotate:360deg}}
@keyframes tt-march{to{stroke-dashoffset:-30}}
@keyframes tt-blink{50%{opacity:0}}
@keyframes tt-slam{0%{scale:2.2;opacity:0}60%{scale:.92;opacity:1}100%{scale:1}}
@keyframes tt-wig{20%{rotate:-14deg}40%{rotate:12deg}60%{rotate:-8deg}80%{rotate:5deg}}
@keyframes tt-head{from{left:6%}to{left:92%}}

/* ── 모델 지도: 점선 길 위 핀 세 개, 가운데가 기본값 ── */
.tt-models{background:radial-gradient(circle,rgba(18,18,18,.16) 1px,transparent 1.5px) 0 0/1.4em 1.4em}
.tt-models .route{position:absolute;inset:0;width:100%;height:100%}
.tt-models .route path{fill:none;stroke:var(--ink);stroke-width:3;stroke-dasharray:9 6;stroke-linecap:round}
.fx .tt-models .route path{animation:tt-march 1.4s linear infinite}
.tt-models .pin{position:absolute;z-index:2;width:3.2em;height:3.2em;display:grid;place-items:center;background:var(--lime);border:2px solid var(--ink);
  border-radius:50% 50% 50% 0;rotate:-45deg;box-shadow:.25em -.05em 0 var(--ink)}
.tt-models .pin .ico{rotate:45deg;width:1.5em;height:1.5em}
.tt-models .p1{left:6.3%;top:52%}
.tt-models .p2{left:48.5%;top:24%;width:4em;height:4em;background:var(--ink);color:var(--lime)}
.tt-models .p3{left:83%;top:10%;background:var(--yellow)}
.tt-models .lb{position:absolute;z-index:3;display:flex;gap:.35em;align-items:center;font:800 1.1em/1 var(--sans);padding:.4em .55em;background:var(--card);border:2px solid var(--ink);border-radius:.45em;white-space:nowrap}
.tt-models .lb i{font:700 1em/1 var(--display);color:var(--pink)}
.tt-models .l1{left:3%;top:79%}
.tt-models .l2{left:44%;top:60%;background:var(--ink);color:var(--on-ink)}
.tt-models .l2 i{color:var(--lime)}
.tt-models .l3{left:73%;top:36%}
.tt-models .q{left:4%;top:9%;background:var(--yellow);rotate:-5deg}
.tt-models .spk{position:absolute;left:62%;top:14%;font-size:2em;color:var(--pink)}
.tt-models .spk .ico{fill:currentColor}
:hover>.tt .tt-models .p2{translate:0 -.6em;scale:1.12}
:hover>.tt .tt-models .spk{rotate:90deg;scale:1.3}

/* ── 프롬프트 레시피: 깅엄 식탁보 위 레시피 카드, 올리면 빈칸이 채워지고 "복사됨" ── */
.tt-recipes{background:repeating-linear-gradient(0deg,rgba(255,255,255,.4) 0 1.3em,transparent 1.3em 2.6em),repeating-linear-gradient(90deg,rgba(255,255,255,.4) 0 1.3em,transparent 1.3em 2.6em)}
.tt-recipes .card{left:8%;top:17%;width:24em;padding:1.1em 1.3em 1.2em;rotate:-3deg}
.tt-recipes .hd{display:flex;align-items:center;gap:.6em;margin-bottom:.7em}
.tt-recipes .hat{display:grid;place-items:center;width:2.4em;height:2.4em;border-radius:50%;background:var(--pink);color:var(--on-ink);border:2px solid var(--ink)}
.tt-recipes .hat .ico{width:1.3em;height:1.3em}
.tt-recipes .no{font:700 .95em/1 var(--mono);letter-spacing:.08em}
.tt-recipes .ln{display:block;font:800 1.45em/1.75 var(--sans);white-space:nowrap;letter-spacing:-.02em}
.tt-recipes .bl{display:inline-grid;vertical-align:.05em}
.tt-recipes .bl i{grid-area:1/1;text-align:center;font:800 .82em/1.5 var(--sans);padding:0 .5em;border:2px dashed var(--ink);border-radius:999px;background:var(--yellow)}
.tt-recipes .b2 i{background:var(--tint-pink)}
.tt-recipes .bl i + i{opacity:0;translate:0 .5em;border-style:solid;background:var(--lime)}
:hover>.tt .tt-recipes .bl i:first-child{opacity:0;translate:0 -.5em}
:hover>.tt .tt-recipes .bl i + i{opacity:1;translate:0 0}
:hover>.tt .tt-recipes .card{rotate:0deg}
.tt-recipes .cp{right:6%;bottom:12%;display:grid;background:var(--ink);color:var(--on-ink);rotate:5deg}
.tt-recipes .cp > span{grid-area:1/1;display:inline-flex;align-items:center;gap:.3em}
.tt-recipes .cp > span + span{opacity:0}
:hover>.tt .tt-recipes .cp{background:var(--lime);color:var(--ink);rotate:-4deg;scale:1.08}
:hover>.tt .tt-recipes .cp > span:first-child{opacity:0}
:hover>.tt .tt-recipes .cp > span + span{opacity:1}
.tt-recipes .spk{position:absolute;color:var(--ink)}
.tt-recipes .spk .ico{fill:var(--card)}
.tt-recipes .s1{right:7%;top:8%;font-size:2.4em}
.tt-recipes .s2{left:3%;bottom:7%;font-size:1.6em}
.fx .tt-recipes .s1{animation:tt-spin 6s linear infinite}

/* ── AI 뉴스 원문: 카드 표지에서 돋보기가 원문으로 ── */
.tt-news{background:repeating-linear-gradient(transparent 0 1.1em,rgba(18,18,18,.08) 1.1em 1.2em)}
.tt-news .big{left:2%;right:auto}
.tt-news .cover{left:9%;top:12%;width:9.6em;height:12em;padding:1em;background:var(--ink);color:var(--on-ink);rotate:-6deg;display:flex;flex-direction:column;justify-content:space-between}
.tt-news .tag{align-self:flex-start;font:800 .85em/1 var(--sans);padding:.35em .55em;border-radius:999px;background:var(--pink)}
.tt-news .hl{font:900 1.55em/1.3 var(--sans);letter-spacing:-.03em}
.tt-news .src{left:52%;top:20%;width:11.5em;padding:1em;rotate:3deg;display:flex;flex-direction:column;gap:.55em}
.tt-news .dm{display:flex;align-items:center;gap:.35em;font:800 1.15em/1 var(--sans);margin-bottom:.2em}
.tt-news .src i{display:block;height:.45em;border-radius:.3em;background:var(--line)}
.tt-news .src i.s{width:60%}
.tt-news .lens{position:absolute;z-index:3;left:30%;top:34%;width:6em;height:6em;border-radius:50%;border:.45em solid var(--ink);background:rgba(255,255,255,.4);box-shadow:.3em .3em 0 rgba(18,18,18,.25)}
.tt-news .lens::after{content:"";position:absolute;right:-2.5em;bottom:-1.2em;width:3em;height:.9em;border-radius:.45em;background:var(--ink);rotate:40deg}
:hover>.tt .tt-news .lens{translate:8.5em -1em}
.tt-news .go{right:5%;bottom:9%;background:var(--lime)}

/* ── 디자인 값 실험실: 믹서 슬라이더 세 개 + 모양이 바뀌는 버튼 ── */
.tt-tokens{background:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px) 0 0/1.6em 1.6em,linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px) 0 0/1.6em 1.6em}
.tt-tokens .mix{left:6%;top:12%;width:13.5em;height:13.5em;padding:1em .6em .7em;display:flex;justify-content:space-around;rotate:-2deg}
.tt-tokens .sl{position:relative;width:3.6em;display:flex;flex-direction:column;align-items:center}
.tt-tokens .sl::before{content:"";flex:1;width:.5em;border-radius:.3em;background:var(--paper-sunk);border:1.5px solid var(--ink);margin-bottom:.6em}
.tt-tokens .sl i{position:absolute;top:var(--y);left:50%;width:2.6em;height:1.4em;margin-left:-1.3em;border:2px solid var(--ink);border-radius:.35em;background:var(--lime);box-shadow:.15em .15em 0 var(--ink)}
.tt-tokens .sl:nth-child(1) i{--y:12%;background:var(--pink)}
.tt-tokens .sl:nth-child(2) i{--y:50%;background:var(--yellow)}
.tt-tokens .sl:nth-child(3) i{--y:30%;background:var(--sky)}
:hover>.tt .tt-tokens .sl:nth-child(1) i{--y:55%}
:hover>.tt .tt-tokens .sl:nth-child(2) i{--y:8%}
:hover>.tt .tt-tokens .sl:nth-child(3) i{--y:62%}
.tt-tokens .sl em{font:800 .95em/1 var(--sans);white-space:nowrap}
.tt-tokens .spec{position:absolute;left:58%;top:40%;font:900 1.9em/1 var(--sans);padding:.55em .95em;background:var(--blue);color:var(--on-ink);border:2px solid var(--ink);border-radius:.2em;box-shadow:.14em .14em 0 var(--ink)}
:hover>.tt .tt-tokens .spec{border-radius:999px;background:var(--lime);color:var(--ink);rotate:-6deg;box-shadow:.25em .25em 0 var(--ink)}
.tt-tokens .blob{position:absolute;border:2px solid var(--ink);border-radius:50%}
.tt-tokens .b1{right:6%;top:8%;width:3.2em;height:3.2em;background:var(--yellow)}
.tt-tokens .b2{right:17%;top:12%;width:2.2em;height:2.2em;background:var(--lime)}
.tt-tokens .b3{right:13%;top:26%;width:1.5em;height:1.5em;background:var(--blue)}
.tt-tokens .js{right:5%;bottom:9%;font:700 .95em/1 var(--mono);rotate:-5deg}

/* ── 막혔을 때: 경고 띠 + 사이렌, 올리면 체크가 하나씩 ── */
.tt-help::before,.tt-help::after{content:"";position:absolute;left:0;right:0;height:1.3em;background:repeating-linear-gradient(-45deg,var(--yellow) 0 .8em,var(--ink) .8em 1.6em)}
.tt-help::before{top:0}.tt-help::after{bottom:0}
.tt-help .sir{position:absolute;left:4%;top:17%;width:6em;height:6em;display:grid;place-items:center}
.tt-help .rays{position:absolute;inset:-1.2em;border-radius:50%;background:repeating-conic-gradient(rgba(255,210,61,.85) 0 18deg,transparent 18deg 45deg)}
.fx .tt-help .rays{animation:tt-spin 5s linear infinite}
.tt-help .bulb{position:relative;display:grid;place-items:center;width:3.6em;height:3.6em;border-radius:50%;background:var(--red);color:var(--on-ink);border:2px solid var(--ink);box-shadow:.2em .2em 0 var(--ink)}
.tt-help .bulb .ico{width:1.8em;height:1.8em}
:hover>.tt .tt-help .bulb{animation:tt-wig .6s}
.tt-help .bub{position:absolute;left:28%;top:14%;font:800 1.15em/1 var(--sans);padding:.65em .9em;background:var(--ink);color:var(--on-ink);border-radius:1em 1em 1em .2em;rotate:-2deg;white-space:nowrap}
.tt-help .ans{left:40%;top:40%;width:16.5em;padding:.8em 1em;display:flex;flex-direction:column;gap:.45em;rotate:1.5deg}
.tt-help .ln{display:flex;align-items:center;gap:.5em;font:700 1.1em/1.2 var(--sans);white-space:nowrap}
.tt-help .ln i{display:grid;place-items:center;flex:none;width:1.3em;height:1.3em;border:2px solid var(--ink);border-radius:.3em;background:var(--card)}
.tt-help .ln i .ico{width:.95em;height:.95em;scale:0;stroke-width:3.4}
:hover>.tt .tt-help .ln i{background:var(--lime)}
:hover>.tt .tt-help .ln i .ico{scale:1}
.tt-help .ln:nth-child(2) i,.tt-help .ln:nth-child(2) i .ico{transition-delay:.15s}
.tt-help .ln:nth-child(3) i,.tt-help .ln:nth-child(3) i .ico{transition-delay:.3s}
.tt-help .tip{left:5%;bottom:14%;background:var(--yellow);rotate:-6deg}

/* ── 명령어 치트시트: 터미널 + 떠 있는 키캡, 올리면 키가 눌린다 ── */
.tt-cheat{background:radial-gradient(circle,rgba(255,255,255,.3) 1px,transparent 1.5px) 0 0/1.4em 1.4em}
.tt-cheat .term{left:5%;top:11%;width:19em;height:12.6em;padding:0 0 1em;background:var(--ink);color:var(--on-ink);overflow:hidden;rotate:-2deg;box-shadow:.35em .35em 0 var(--on-ink)}
.tt-cheat .bar{display:flex;gap:.4em;padding:.7em .8em;border-bottom:1.5px solid #444;margin-bottom:.8em}
.tt-cheat .bar i{width:.8em;height:.8em;border-radius:50%;background:var(--pink)}
.tt-cheat .bar i:nth-child(2){background:var(--yellow)}.tt-cheat .bar i:nth-child(3){background:var(--lime)}
.tt-cheat .cmd{display:block;padding:0 1em;font:700 1.35em/1.75 var(--mono);white-space:nowrap}
.tt-cheat .cmd u{text-decoration:none;color:var(--pink)}
.tt-cheat .cur{display:inline-block;width:.55em;height:1em;margin-left:.15em;vertical-align:-.15em;background:var(--lime)}
.fx .tt-cheat .cur{animation:tt-blink 1s steps(1) infinite}
.tt-cheat .key{position:absolute;display:grid;place-items:center;min-width:2.3em;height:2.3em;padding:0 .4em;font:700 1.3em/1 var(--display);
  background:var(--card);border:2px solid var(--ink);border-radius:.35em;box-shadow:0 .3em 0 var(--ink)}
.tt-cheat .k1{right:9%;top:10%;rotate:8deg;background:var(--lime);font-size:1.7em}
.tt-cheat .k2{right:22%;top:42%;rotate:-7deg}
.tt-cheat .k3{right:6%;top:52%;rotate:5deg;background:var(--yellow)}
:hover>.tt .tt-cheat .key{translate:0 .25em;box-shadow:0 .05em 0 var(--ink)}
:hover>.tt .tt-cheat .k2{transition-delay:.08s}
:hover>.tt .tt-cheat .k3{transition-delay:.16s}
.tt-cheat .same{left:36%;bottom:7%;background:var(--yellow);rotate:-3deg}

/* ── 원문 대조기: 원문 · 요약 두 장, 도는 링, 올리면 "원문에 없음" 도장이 쾅 ── */
.tt-check{background:linear-gradient(rgba(18,18,18,.08) 1px,transparent 1px) 0 0/1.6em 1.6em,linear-gradient(90deg,rgba(18,18,18,.08) 1px,transparent 1px) 0 0/1.6em 1.6em}
.tt-check .lb{display:block;font:800 .9em/1 var(--sans);color:var(--mute);margin-bottom:.5em}
.tt-check .d1{left:5%;top:17%;width:11.5em;padding:.9em 1em;rotate:-4deg}
.tt-check .d1 .tx{display:block;font:700 1.2em/1.55 var(--sans);color:var(--ink-2);word-break:keep-all}
.tt-check .d1 u{text-decoration:underline 2px var(--blue);text-underline-offset:.15em}
.tt-check .d2{left:37%;top:30%;width:12.5em;padding:.9em 1.1em;rotate:3deg}
.tt-check .d2 .tx{display:block;font:900 1.6em/1.45 var(--sans);letter-spacing:-.03em}
.tt-check mark{padding:0 .15em;border-radius:.15em;background:var(--pink);color:var(--on-ink)}
.tt-check mark.y{background:var(--yellow);color:var(--ink)}
.tt-check .stamp{position:absolute;z-index:3;left:64%;top:55%;font:900 1.3em/1.1 var(--sans);text-align:center;color:var(--red);padding:.35em .6em;
  border:.22em double var(--red);border-radius:.35em;background:rgba(255,255,255,.7);rotate:-14deg;letter-spacing:-.02em}
:hover>.tt .tt-check .stamp{animation:tt-slam .4s cubic-bezier(.3,1.4,.5,1)}
.tt-check .ring{position:absolute;right:2%;top:3%;width:7.4em;height:7.4em;display:grid;place-items:center}
.tt-check .ring > svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.tt-check .ring text{font:800 9.5px var(--sans);letter-spacing:.06em;fill:var(--ink)}
.fx .tt-check .ring > svg{animation:tt-spin 14s linear infinite}
.tt-check .core{display:grid;place-items:center;width:3.4em;height:3.4em;border-radius:50%;background:var(--pink);color:var(--on-ink);border:2px solid var(--ink);box-shadow:.15em .15em 0 var(--ink)}
.tt-check .core .ico{width:1.6em;height:1.6em;stroke-width:3}

/* ── 슬라이드 스타일: 슬라이드 더미 + STYLE.md 파일, 올리면 부채처럼 ── */
.tt-deck{background:repeating-linear-gradient(45deg,rgba(255,255,255,.08) 0 .8em,transparent .8em 1.6em)}
.tt-deck .sl{width:17em;height:9.6em;border-radius:.45em}
.tt-deck .s3{left:12%;top:16%;background:var(--pink);rotate:10deg}
.tt-deck .s2{left:10%;top:18%;background:var(--yellow);rotate:4deg}
.tt-deck .s1{left:7%;top:24%;background:var(--ink);color:var(--on-ink);rotate:-4deg;padding:.9em 1.1em;display:flex;flex-direction:column;box-shadow:.35em .35em 0 var(--on-ink)}
:hover>.tt .tt-deck .s2{rotate:12deg;translate:1.2em -.6em}
:hover>.tt .tt-deck .s3{rotate:22deg;translate:2.6em -1em}
:hover>.tt .tt-deck .s1{rotate:-7deg}
.tt-deck .n{font:700 1em/1 var(--display);color:var(--sky)}
.tt-deck .t{margin-top:auto;font:900 2.2em/1.1 var(--sans);letter-spacing:-.04em;white-space:nowrap}
.tt-deck .bars{display:flex;flex-direction:column;gap:.35em;margin-top:.6em}
.tt-deck .bars i{height:.35em;border-radius:.2em;background:rgba(255,255,255,.4)}
.tt-deck .bars i.s{width:55%}
.tt-deck .file{left:66%;top:12%;width:8.4em;height:10.6em;padding:1.2em .8em;rotate:8deg;display:flex;flex-direction:column;gap:.55em}
.tt-deck .fn{align-self:flex-start;font:700 .95em/1 var(--mono);padding:.3em .4em;background:var(--lime);border:1.5px solid var(--ink);border-radius:.25em}
.tt-deck .fl{display:block;height:.4em;border-radius:.2em;background:var(--line)}
.tt-deck .fl.s{width:65%}
.tt-deck .px{left:60%;bottom:9%;font:700 1.1em/1 var(--display);background:var(--orange);rotate:-8deg}

/* ── 내 말투 파일: 줄 공책 위 빨간 펜 교정 ── */
.tt-voice{background:radial-gradient(circle,rgba(18,18,18,.14) 1px,transparent 1.5px) 0 0/1.4em 1.4em}
.tt-voice .paper{left:5%;top:24%;width:21em;height:11em;padding:2.9em 1.2em 1em 3.3em;rotate:-2deg;
  background:linear-gradient(90deg,transparent 2.3em,rgba(212,20,90,.55) 2.3em 2.45em,transparent 2.45em),repeating-linear-gradient(transparent 0 2.05em,rgba(61,77,255,.22) 2.05em 2.15em),var(--card)}
.tt-voice .tx{display:block;font:700 1.3em/1.65 var(--sans);word-break:keep-all}
.tt-voice u{text-decoration:underline wavy var(--pink) 2px;text-underline-offset:.28em}
.tt-voice .fix{position:absolute;left:8.5em;top:.7em;font:900 1.35em/1 var(--sans);color:var(--pink);rotate:-5deg;letter-spacing:-.02em;scale:.85;transform-origin:left center}
.tt-voice .fix::before{content:"";position:absolute;left:-.9em;top:.1em;width:.6em;height:.6em;border-left:2px solid var(--pink);border-bottom:2px solid var(--pink);rotate:-45deg}
:hover>.tt .tt-voice .fix{scale:1.12;rotate:-9deg}
.tt-voice .bub{position:absolute;right:4%;top:7%;font:800 1.1em/1 var(--sans);padding:.65em .85em;background:var(--ink);color:var(--on-ink);border-radius:1em 1em .2em 1em;rotate:4deg;white-space:nowrap}
.tt-voice .pen{position:absolute;right:6%;bottom:12%;display:grid;place-items:center;width:4.6em;height:4.6em;border-radius:50%;background:var(--pink);color:var(--on-ink);border:2px solid var(--ink);box-shadow:.25em .25em 0 var(--ink)}
.tt-voice .pen .ico{width:2.2em;height:2.2em}
:hover>.tt .tt-voice .pen{animation:tt-wig .6s}
.tt-voice .vf{left:52%;bottom:7%;font:700 .95em/1 var(--mono);background:var(--lime);rotate:-5deg}

/* ── 행사 홍보 키트: 테이프 붙인 포스터 · 스토리 · 정사각 + 확성기 ── */
.tt-promo{background:radial-gradient(circle,rgba(255,255,255,.35) 1.2px,transparent 1.8px) 0 0/1.2em 1.2em}
.tt-promo .k{display:flex;flex-direction:column;padding:1.1em .6em .6em}
.tt-promo .a{font:700 .75em/1 var(--display);letter-spacing:.06em}
.tt-promo .d{margin-top:auto;font:700 2.6em/1 var(--display);letter-spacing:-.05em}
.tt-promo .po{left:7%;top:16%;width:8.6em;height:11.5em;background:var(--yellow);rotate:-6deg}
.tt-promo .sun{width:3.2em;height:3.2em;margin:.6em 0 0 auto;border-radius:50%;background:var(--pink);border:2px solid var(--ink)}
.tt-promo .stry{left:36%;top:9%;width:6.2em;height:11em;background:var(--ink);color:var(--pink);rotate:4deg}
.tt-promo .stry .d{font-size:1.9em}
.tt-promo .sq{left:57%;top:38%;width:7em;height:7em;rotate:-3deg}
.tt-promo .sq .d{margin:0;color:var(--blue);font-size:2.2em}
.tt-promo .sq .a{margin-top:auto;color:var(--mute)}
:hover>.tt .tt-promo .po{rotate:-10deg;translate:-.4em 0}
:hover>.tt .tt-promo .stry{translate:0 -.6em}
:hover>.tt .tt-promo .sq{rotate:6deg;translate:.4em 0}
.tt-promo .mega{position:absolute;right:4%;top:8%;display:grid;place-items:center;width:4.8em;height:4.8em;border-radius:50%;background:var(--lime);border:2px solid var(--ink);box-shadow:.25em .25em 0 var(--ink);rotate:-10deg}
.tt-promo .mega .ico{width:2.3em;height:2.3em}
.tt-promo .mega i{position:absolute;left:-1.1em;top:50%;width:1em;height:2.4em;margin-top:-1.2em;border:2px solid var(--ink);border-right:0;border-radius:2.4em 0 0 2.4em}
.tt-promo .mega i + i{left:-1.9em;height:3.6em;margin-top:-1.8em}
:hover>.tt .tt-promo .mega{animation:tt-wig .6s}
.tt-promo .one{left:40%;bottom:6%;rotate:-3deg}

/* ── 브랜드 카드뉴스: 폰 속 캐러셀 + 옆으로 이어지는 카드 + 플랫폼 스티커 ── */
.tt-cards{background:radial-gradient(circle,rgba(18,18,18,.16) 1px,transparent 1.5px) 0 0/1.4em 1.4em}
.tt-cards .c{width:8.4em;height:10.5em;border-radius:.5em}
.tt-cards .c2{left:33%;top:18%;background:var(--yellow);rotate:6deg;display:grid;place-items:center}
.tt-cards .c2 .hl{font:700 2.6em/1 var(--display);letter-spacing:-.04em}
.tt-cards .c3{left:48%;top:24%;rotate:13deg}
:hover>.tt .tt-cards .c2{translate:1.2em 0;rotate:10deg}
:hover>.tt .tt-cards .c3{translate:2.8em 0;rotate:20deg}
.tt-cards .ph{left:9%;top:6%;width:9em;height:16em;padding:.45em;border-radius:1.2em;background:var(--ink);rotate:-4deg}
.tt-cards .scr{height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:.7em;padding:.9em .8em;border-radius:.8em;background:var(--card)}
.tt-cards .scr .hl{font:900 1.35em/1.35 var(--sans);letter-spacing:-.03em}
.tt-cards .scr .pl{background:var(--pink);color:var(--on-ink)}
.tt-cards .dots{display:flex;gap:.3em;justify-content:center}
.tt-cards .dots i{width:.45em;height:.45em;border-radius:50%;background:var(--line)}
.tt-cards .dots i:first-child{background:var(--ink)}
.tt-cards .lk{position:absolute;right:-1.1em;bottom:2.4em;display:grid;place-items:center;width:2.4em;height:2.4em;border-radius:50%;background:var(--card);color:var(--pink);border:2px solid var(--ink)}
.tt-cards .lk .ico{fill:currentColor}
:hover>.tt .tt-cards .lk{scale:1.35}
.tt-cards .p1{left:68%;top:9%;background:var(--pink);color:var(--on-ink);rotate:6deg}
.tt-cards .p2{left:74%;top:40%;background:var(--ink);color:var(--on-ink);rotate:-5deg}
.tt-cards .p3{left:82%;top:70%;rotate:8deg}

/* ── 쇼츠: 세로 화면 + 편집 타임라인(재생선이 흐른다) ── */
.tt-shorts{background:radial-gradient(circle,rgba(18,18,18,.16) 1px,transparent 1.5px) 0 0/1.4em 1.4em}
.tt-shorts .ph{left:7%;top:6%;width:8.8em;height:15.6em;border-radius:1.1em;background:linear-gradient(160deg,var(--blue),var(--ink) 80%);overflow:hidden;rotate:-3deg}
.tt-shorts .play{position:absolute;left:50%;top:38%;width:3em;height:3.4em;margin:-1.7em 0 0 -1.2em;background:var(--on-ink);clip-path:polygon(0 0,100% 50%,0 100%)}
:hover>.tt .tt-shorts .play{scale:1.25}
.tt-shorts .cap{position:absolute;left:.6em;right:.6em;bottom:1.6em;font:800 .95em/1.3 var(--sans);text-align:center;padding:.35em .2em;background:var(--yellow);border-radius:.2em;word-break:keep-all}
.tt-shorts .tl{left:38%;top:40%;width:17.5em;padding:.8em;background:var(--card)}
.tt-shorts .trk{display:flex;gap:.25em;height:2em;margin-bottom:.45em}
.tt-shorts .trk i{border:1.5px solid var(--ink);border-radius:.35em}
.tt-shorts .trk:first-child i:nth-child(1){width:42%;background:var(--pink)}
.tt-shorts .trk:first-child i:nth-child(2){width:33%;background:var(--lime)}
.tt-shorts .trk:first-child i:nth-child(3){flex:1;background:var(--yellow)}
.tt-shorts .au{margin:0;height:1.6em}
.tt-shorts .au i{flex:1;background:repeating-linear-gradient(90deg,var(--ink) 0 .15em,transparent .15em .45em) center/100% 55% no-repeat,var(--sky)}
.tt-shorts .head{position:absolute;top:.3em;bottom:.3em;left:30%;width:.22em;background:var(--red);border-radius:.1em}
.tt-shorts .head::before{content:"";position:absolute;top:-.3em;left:-.35em;width:.9em;height:.6em;background:var(--red);clip-path:polygon(0 0,100% 0,50% 100%)}
.fx .tt-shorts .head{animation:tt-head 3.6s linear infinite}
:hover>.tt .tt-shorts .head{animation-duration:1.2s}
.tt-shorts .clap{position:absolute;right:5%;top:8%;display:grid;place-items:center;width:4.4em;height:4.4em;border-radius:50%;background:var(--yellow);border:2px solid var(--ink);box-shadow:.25em .25em 0 var(--ink);rotate:10deg}
.tt-shorts .clap .ico{width:2.1em;height:2.1em}
:hover>.tt .tt-shorts .clap{animation:tt-wig .6s}
.tt-shorts .ok{left:40%;top:13%;background:var(--lime);rotate:-4deg}
