.tea-weather { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; container-type:size; }
.tea-clouds { position:absolute; inset:0; overflow:hidden; mask-image:linear-gradient(90deg,transparent 10%,#000 29% 71%,transparent 90%); }
.tea-clouds i { position:absolute; top:var(--sky,31%); left:-35%; width:40%; height:9%; opacity:.55; filter:blur(5px); background:radial-gradient(ellipse at 47% 58%,#e4e3d280 0,transparent 63%),radial-gradient(ellipse at 63% 40%,#fff5e374 0,transparent 56%),radial-gradient(ellipse at 28% 49%,#fff7eb64 0,transparent 56%); animation:tea-cloud-drift 65s linear infinite; animation-delay:-18s; }
.tea-clouds i:nth-child(2) { top:calc(var(--sky,31%) + 3%); width:33%; height:7%; opacity:.4; animation-duration:77s; animation-delay:-55s; }
.tea-weather[data-scenery=banquet] .tea-clouds { opacity:.51; }
@keyframes tea-cloud-drift { to { transform:translateX(350%); } }

.tea-weather-flight { position:absolute; left:18%; top:var(--flight-start); opacity:0; animation:tea-gull-glide 6.4s linear both; }
.tea-weather-bird { display:block; position:relative; width:clamp(24px,4.2vw,57px); height:clamp(10px,2vw,27px); transform:rotate(-8deg); filter:drop-shadow(0 1px 2px #2c30357d); }
.tea-weather-wing { position:absolute; top:33%; width:53%; height:62%; background:linear-gradient(#fffdf1,#c9d6da 78%,#53616c); }
.tea-weather-wing.left { left:0; clip-path:polygon(0 0,40% 27%,100% 70%,100% 100%,39% 62%); transform-origin:right 90%; animation:tea-gull-flap .95s ease-in-out infinite; }
.tea-weather-wing.right { right:0; clip-path:polygon(0 70%,60% 26%,100% 0,63% 68%,0 100%); transform-origin:left 90%; animation:tea-gull-flap .95s ease-in-out infinite; }
@keyframes tea-gull-glide { 0% { opacity:0; transform:translate(0,0) scale(.64); } 12%,77% { opacity:.86; } 47% { transform:translate(calc(var(--flight-end) * .52),calc(var(--flight-rise) - 1.4cqh)) scale(1); } 100% { opacity:0; transform:translate(var(--flight-end),var(--flight-rise)) scale(.73); } }
@keyframes tea-gull-flap { 0%,100% { transform:scaleY(.68); } 50% { transform:scaleY(1.24); } }

.tea-weather-jump { position:absolute; width:3px; height:3px; animation:tea-squid-event 2s linear both; }
.tea-weather-squid { position:absolute; width:clamp(14px,2.4vw,34px); height:12px; transform-origin:left center; animation:tea-squid-leap 1.62s cubic-bezier(.39,.01,.55,.95) both; }
.tea-weather-mantle { position:absolute; left:24%; top:7%; width:76%; height:80%; background:linear-gradient(155deg,#e4f6f7,#b0c9d0 50%,#738996); clip-path:polygon(0 27%,28% 12%,79% 2%,100% 48%,71% 96%,28% 88%,0 74%); }
.tea-weather-arms { position:absolute; top:32%; left:0; width:35%; height:40%; border-block:2px solid #d9e9e9; border-radius:36%; transform:rotate(-10deg); }
.tea-weather-ripple { position:absolute; left:-10px; top:0; width:29px; height:7px; border:1px solid #e7f2eccc; border-radius:50%; animation:tea-squid-splash .8s ease-out 1.15s both; }
@keyframes tea-squid-event { to { opacity:1; } }
@keyframes tea-squid-leap { 0% { opacity:0; transform:rotate(-60deg); } 14%,81% { opacity:.93; } 46% { transform:translate(24px,-34px) rotate(-12deg); } 100% { opacity:0; transform:translate(47px,3px) rotate(59deg); } }
@keyframes tea-squid-splash { 0% { opacity:0; transform:translateX(43px) scale(.27); } 23% { opacity:.9; } 100% { opacity:0; transform:translateX(52px) scale(1.64); } }

.tea-weather-bolt { position:absolute; left:63%; top:32%; width:11%; height:14%; opacity:0; background:radial-gradient(ellipse at 47% 48%,#a4c5ff50,transparent 68%); animation:tea-distant-lightning 1.08s ease-out both; }
.tea-weather-branch { position:absolute; inset:7% 17% 10% 19%; background:#c7ddf4; clip-path:polygon(56% 0,47% 31%,61% 28%,42% 55%,52% 56%,32% 100%,45% 62%,33% 65%,49% 34%,36% 39%); filter:blur(.55px); }
@keyframes tea-distant-lightning { 0%,100% { opacity:0; } 23% { opacity:.64; } 58% { opacity:.24; } }

.tea-envoy { position:absolute; inset:0; z-index:6; pointer-events:none; overflow:hidden; }
.tea-envoy-figure,.tea-envoy-product { display:block; background-image:var(--envoy-art); background-size:200% 200%; background-repeat:no-repeat; }
.tea-envoy-figure { position:absolute; bottom:23%; left:5%; width:min(43vw,470px); aspect-ratio:1; background-position:0 0; filter:drop-shadow(0 14px 16px #1e1514b0); animation:tea-envoy-arrive 9.3s ease-in-out both; }
.tea-envoy-card { position:absolute; left:50%; top:26%; width:min(45vw,265px); transform:translateX(-50%); padding:4px 11px 14px; border:1px solid #f1d89a80; border-radius:18px; background:radial-gradient(ellipse at 52% 15%,#46341b,#17120e 82%); box-shadow:0 12px 46px #1e1514b8; color:#ffe8b2; text-align:center; animation:tea-envoy-letter 9.3s ease both; }
.tea-envoy-card strong { display:block; font:700 clamp(16px,2.6vw,24px) "Yu Mincho",serif; letter-spacing:.08em; }
.tea-envoy-card small { display:block; margin-top:5px; font-size:clamp(9px,1.6vw,12px); color:#e9d6aa; }
.tea-envoy-product { width:min(100%,196px); aspect-ratio:1; margin:-2px auto -13px; filter:drop-shadow(0 7px 8px #0008); }
.tea-envoy-product.squid { background-position:100% 0; }
.tea-envoy-product.manju { background-position:0 100%; }
.tea-envoy-product.bowl { background-position:100% 100%; }
.tea-envoy-seal { position:absolute; right:6%; top:7%; display:grid; place-items:center; width:32px; height:32px; border:1px solid #ffc6a577; border-radius:50%; background:#872d25; color:#ffe9cb; font:700 12px "Yu Mincho",serif; transform:rotate(10deg); }
@keyframes tea-envoy-arrive { 0% { opacity:0; transform:translateX(-82%) scale(.86); } 16%,81% { opacity:1; transform:translateX(0) scale(1); } 100% { opacity:0; transform:translateX(-18%) scale(.94); } }
@keyframes tea-envoy-letter { 0%,8% { opacity:0; transform:translate(-68%,21%) scale(.68); } 21%,84% { opacity:1; transform:translate(-50%,0) scale(1); } 100% { opacity:0; transform:translate(-50%,-3%) scale(.93); } }

@media(max-width:760px) {
  .tea-envoy-figure { left:-2%; bottom:26%; width:56vw; }
  .tea-envoy-card { left:58%; top:29%; width:min(52vw,220px); }
}
.motion-off .tea-weather,.motion-off .tea-envoy { display:none; }
@media(prefers-reduced-motion:reduce) {
  .tea-weather,.tea-envoy { display:none; }
}
