/* 유미타코 메뉴쇼: 80년대 미국 TV 만화풍. 굵은 먹선, 단색 셀 채색, 햇살 배경, 브라운관 주사선. */
.toon-section{background:var(--ink);color:#fff}
.toon-section .kicker{color:var(--yellow)}
.toon-section h2{color:#fff}
.toon-section .text-link{color:#fff}
.toon-tv{max-width:880px;margin:0 auto;background:#3a2a20;border:4px solid #111;border-radius:28px;padding:18px 18px 12px;box-shadow:0 10px 0 #111,inset 0 0 0 3px #5a4334}
.toon{position:relative;container-type:inline-size;aspect-ratio:4/3;max-width:100%;overflow:hidden;border:4px solid #111;border-radius:5% / 6.5%;background:#111;color:#111;font-family:Rix,Pretendard,sans-serif;line-height:1}
.toon p{margin:0;white-space:nowrap}
.toon i{font-style:normal}
.toon.paused *,.toon.paused *::before,.toon.paused *::after{animation-play-state:paused!important}
.tn-s{position:absolute;inset:0;overflow:hidden;visibility:hidden}
.tn-s.on{visibility:visible;animation:tn-cut .28s steps(4)}
.tn-rays{position:absolute;left:50%;top:50%;width:190cqw;height:190cqw;margin:-95cqw 0 0 -95cqw;background:repeating-conic-gradient(var(--a) 0 10deg,var(--b) 10deg 20deg);animation:tn-spin 24s linear infinite}
.tn-dots{position:absolute;inset:0;background:radial-gradient(#111 22%,transparent 24%) 0 0/2.4cqw 2.4cqw;opacity:.1;-webkit-mask-image:linear-gradient(120deg,transparent 30%,#000);mask-image:linear-gradient(120deg,transparent 30%,#000)}
.tn-title{--a:#E41B22;--b:#FF4A3D}
.tn-c1{--a:#FF3EA5;--b:#FF74BF}.tn-c2{--a:#12B5E5;--b:#5FD2F2}.tn-c3{--a:#FF8A1F;--b:#FFB13D}.tn-c4{--a:#8A3FE0;--b:#A96BEE}.tn-c5{--a:#1FAE55;--b:#55CC7C}
.tn-end{--a:#FBE300;--b:#FFF06A}

/* 제목 장면 */
.tn-title-burst{position:absolute;left:12%;top:3%;width:76%;animation:tn-pulse 1.2s ease-in-out infinite}
.tn-logo{position:absolute;left:29%;top:19%;width:42%;height:auto;filter:drop-shadow(.35cqw .35cqw 0 #111)}
.tn-show{position:absolute;left:0;right:0;top:41%;text-align:center;font-family:Freshman,Rix,sans-serif;font-size:8.4cqw;color:#FFE600;-webkit-text-stroke:.5cqw #111;paint-order:stroke fill;text-shadow:.5cqw .5cqw 0 #111,1cqw 1cqw 0 #12B5E5,1.5cqw 1.5cqw 0 #111;transform:rotate(-4deg)}
.tn-show span{font-size:.55em;vertical-align:.5em}
.tn-sub{position:absolute;left:0;right:0;top:56%;text-align:center;font-size:5cqw;color:#fff;-webkit-text-stroke:.35cqw #111;paint-order:stroke fill;text-shadow:.35cqw .35cqw 0 #111}
.tn-star{position:absolute;font-size:7cqw;color:#FFE600;-webkit-text-stroke:.3cqw #111;animation:tn-twinkle .9s ease-in-out infinite}
.tn-star.s1{left:8%;top:12%}.tn-star.s2{right:9%;top:20%;animation-delay:.3s}.tn-star.s3{left:14%;bottom:14%;animation-delay:.6s}
.tn-title.on .tn-logo{animation:tn-slam .5s cubic-bezier(.3,1.5,.5,1) both}
.tn-title.on .tn-show{animation:tn-slam-r .55s .25s cubic-bezier(.3,1.5,.5,1) both}
.tn-title.on .tn-sub{animation:tn-up .4s .6s cubic-bezier(.16,1,.3,1) both}
.tn-title.on .tn-host{animation:tn-jump .7s .5s cubic-bezier(.3,1.4,.5,1) both}

/* 진행자 */
.tn-host{position:absolute;right:3%;bottom:-2%;width:24%;height:auto;overflow:visible}
.tn-host.big{right:auto;left:38%;width:26%;bottom:-3%}
.tn-host.cool{right:auto;left:8%;width:30%;bottom:-2%}
.tn-host .tn-shades{display:none}.tn-host.cool .tn-shades{display:block}
.tn-host *{transform-box:fill-box}
.tn-s.on .tn-host>g{animation:tn-bob .5s ease-in-out infinite alternate;transform-origin:50% 100%}
.tn-s.on .tn-arm-r{animation:tn-wave .45s ease-in-out infinite alternate;transform-origin:0% 100%}
.tn-s.on .tn-arm-l{animation:tn-wave .6s ease-in-out infinite alternate-reverse;transform-origin:100% 0%}
.tn-s.on .tn-eyes{animation:tn-look 2.4s steps(1) infinite}

/* 메뉴 장면 */
.tn-food{position:absolute;left:1%;top:15%;width:58%;aspect-ratio:1}
.tn-pow{position:absolute;inset:-4%;width:108%;height:108%}
.tn-food img{position:absolute;left:8%;top:8%;width:84%;height:84%;object-fit:contain}
.tn-no{position:absolute;left:4%;top:10%;font-family:Freshman,Rix,sans-serif;font-size:4.4cqw;color:#111;background:#FFE600;border:.45cqw solid #111;padding:.8cqw 1.8cqw;transform:rotate(-5deg);box-shadow:.5cqw .5cqw 0 #111}
.tn-name{position:absolute;right:3%;top:8%;max-width:58%;text-align:right;white-space:normal!important;word-break:keep-all;font-size:9.4cqw;line-height:1.02;color:#fff;-webkit-text-stroke:.55cqw #111;paint-order:stroke fill;text-shadow:.45cqw .45cqw 0 #111,.9cqw .9cqw 0 #FFE600,1.35cqw 1.35cqw 0 #111}
.tn-en{position:absolute;right:0;top:35%;font-family:Freshman,Rix,sans-serif;font-size:3.6cqw;letter-spacing:.06em;color:#FFE600;background:#111;padding:1.1cqw 3cqw 1.1cqw 3.6cqw;transform:skewX(-12deg) translateX(1cqw)}
.tn-price{position:absolute;right:26%;top:44%;width:30%;aspect-ratio:1;transform:rotate(-9deg)}
.tn-price-bg{position:absolute;inset:0;width:100%;height:100%}
.tn-price b{position:absolute;inset:0;display:grid;place-items:center;align-content:center;font-family:Freshman,Rix,sans-serif;font-weight:400;font-size:6.6cqw;color:#FFE600;-webkit-text-stroke:.3cqw #111;paint-order:stroke fill}
.tn-price small{font-family:Rix,sans-serif;font-size:.5em;margin-left:.1em}
.tn-say{position:absolute;right:28%;bottom:5%;max-width:48%;white-space:normal!important;word-break:keep-all;font-family:Pretendard,sans-serif;font-weight:800;font-size:2.9cqw;line-height:1.35;background:#fff;border:.45cqw solid #111;border-radius:2.4cqw;padding:1.5cqw 2.2cqw;box-shadow:.5cqw .5cqw 0 #111}
.tn-say::after{content:"";position:absolute;right:-2.4cqw;bottom:22%;border:1.3cqw solid transparent;border-left-color:#111}
.tn-menu.on .tn-pow{animation:tn-pop .45s cubic-bezier(.3,1.6,.5,1) both,tn-spin 14s .45s linear infinite}
.tn-menu.on .tn-food img{animation:tn-spin-in .7s .1s cubic-bezier(.2,1.3,.4,1) both,tn-float 1.6s .8s ease-in-out infinite alternate}
.tn-menu.on .tn-no{animation:tn-pop-r .35s .05s cubic-bezier(.3,1.6,.5,1) both}
.tn-menu.on .tn-name{animation:tn-zip .4s .45s cubic-bezier(.16,1,.3,1) both}
.tn-menu.on .tn-en{animation:tn-zip-skew .4s .65s cubic-bezier(.16,1,.3,1) both}
.tn-menu.on .tn-price{animation:tn-price .5s 1s cubic-bezier(.3,1.7,.5,1) both,tn-wobble .8s 1.5s ease-in-out infinite alternate}
.tn-menu.on .tn-say{animation:tn-up .35s 1.4s cubic-bezier(.16,1,.3,1) both}
.tn-menu.on .tn-host{animation:tn-jump .5s .2s cubic-bezier(.3,1.4,.5,1) both}

/* 마지막 장면 */
.tn-stay{position:absolute;left:36%;right:2%;top:14%;text-align:center;font-family:Freshman,Rix,sans-serif;font-size:10cqw;color:#E41B22;-webkit-text-stroke:.5cqw #111;paint-order:stroke fill;text-shadow:.5cqw .5cqw 0 #111,1cqw 1cqw 0 #fff,1.5cqw 1.5cqw 0 #111;transform:rotate(-3deg)}
.tn-next{position:absolute;left:36%;right:2%;top:40%;text-align:center;font-size:4.6cqw;color:#111}
.tn-go{position:absolute;left:44%;top:56%;font-family:Pretendard,sans-serif;font-weight:800;font-size:max(13px,3.4cqw);color:#fff;background:#E41B22;border:.5cqw solid #111;border-radius:99px;padding:1.6cqw 3.4cqw;text-decoration:none;box-shadow:.6cqw .6cqw 0 #111;transition:transform .15s}
.tn-go:hover{transform:translate(-.3cqw,-.3cqw)}
.tn-end.on .tn-stay{animation:tn-slam-r .5s .1s cubic-bezier(.3,1.5,.5,1) both}
.tn-end.on .tn-next{animation:tn-up .4s .5s cubic-bezier(.16,1,.3,1) both}
.tn-end.on .tn-go{animation:tn-pop-flat .45s .8s cubic-bezier(.3,1.6,.5,1) both}
.tn-end.on .tn-host{animation:tn-jump .6s .2s cubic-bezier(.3,1.4,.5,1) both}

/* 브라운관 */
.tn-vhs{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 2px,rgba(0,0,0,.13) 2px 3px);box-shadow:inset 0 0 9cqw rgba(0,0,0,.45)}
.tn-vhs span{position:absolute;top:3%;left:4%;font-family:"Courier New",monospace;font-weight:700;font-size:2.8cqw;color:#fff;text-shadow:.15cqw .15cqw 0 #111;opacity:.9}
.tn-vhs span+span{left:auto;right:4%}
.tn-vhs i{position:absolute;left:0;right:0;top:0;height:5%;background:linear-gradient(transparent,rgba(255,255,255,.22),transparent);animation:tn-track 7s linear infinite}
.toon-knobs{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.toon-knobs span{margin-right:auto;font-family:Freshman,sans-serif;font-size:13px;letter-spacing:.14em;color:#c9b39d}
.toon-knobs button{font:inherit;font-size:13px;font-weight:700;color:#fff;background:#111;border:2px solid #c9b39d;border-radius:99px;padding:7px 14px;cursor:pointer}
.toon-knobs button:hover{background:#E41B22}

@keyframes tn-cut{from{filter:brightness(2.2) saturate(0)}to{filter:none}}
@keyframes tn-spin{to{transform:rotate(360deg)}}
@keyframes tn-pulse{50%{transform:scale(1.05) rotate(4deg)}}
@keyframes tn-twinkle{50%{transform:scale(.55) rotate(40deg)}}
@keyframes tn-slam{from{opacity:0;transform:scale(3)}to{opacity:1;transform:none}}
@keyframes tn-slam-r{from{opacity:0;transform:scale(3) rotate(8deg)}to{opacity:1}}
@keyframes tn-up{from{opacity:0;transform:translateY(5cqw)}to{opacity:1}}
@keyframes tn-jump{from{transform:translateY(60cqw)}to{transform:none}}
@keyframes tn-bob{to{transform:translateY(-3%) scale(1.02,.98)}}
@keyframes tn-wave{to{transform:rotate(16deg)}}
@keyframes tn-look{0%,60%{transform:none}65%,80%{transform:translateX(-4px)}85%,95%{transform:translateX(4px)}}
@keyframes tn-pop{from{transform:scale(0) rotate(-40deg)}to{transform:none}}
@keyframes tn-pop-r{from{opacity:0;transform:scale(0) rotate(-30deg)}to{opacity:1;transform:rotate(-5deg)}}
@keyframes tn-pop-flat{from{opacity:0;transform:scale(0)}to{opacity:1;transform:none}}
@keyframes tn-spin-in{from{opacity:0;transform:scale(.1) rotate(-320deg)}to{opacity:1;transform:none}}
@keyframes tn-float{to{transform:translateY(-3%) rotate(3deg)}}
@keyframes tn-zip{from{opacity:0;transform:translateX(50cqw) skewX(-20deg)}to{opacity:1;transform:none}}
@keyframes tn-zip-skew{from{opacity:0;transform:skewX(-12deg) translateX(50cqw)}to{opacity:1;transform:skewX(-12deg) translateX(1cqw)}}
@keyframes tn-price{from{opacity:0;transform:scale(0) rotate(40deg)}to{opacity:1;transform:rotate(-9deg)}}
@keyframes tn-wobble{to{transform:rotate(-3deg) scale(1.07)}}
@keyframes tn-track{0%,82%{top:-6%}100%{top:106%}}
@media (max-width:700px){.toon-tv{padding:10px 10px 8px;border-radius:18px}.tn-say{font-size:3.4cqw}}
@media (prefers-reduced-motion:reduce){.toon *,.toon *::before,.toon *::after{animation:none!important}}
