/* v57.31 (#203): the Threads card uses the game's gold frame and jade/navy plates. The measured foot leaves the select actions below it;
   the docked 聊天室 keeps its own column. The scrim dims the whole select screen, including its actions. */
#follow{position:absolute;inset:0;z-index:20;display:grid;grid-template-rows:minmax(0,1fr);place-items:center;padding:calc(var(--top) + 12px) 16px var(--follow-foot,96px)}
body.gchat-dock #follow{right:var(--gchat-w)}
.follow-scrim{position:absolute;inset:0;background:#06151dcc}
.follow-card{position:relative;width:min(100%,360px);min-height:0;max-height:100%;overflow:auto;touch-action:pan-y;overscroll-behavior:contain;padding:48px 14px 16px;border:20px solid transparent;border-image:url(ui/panel.webp) 16% fill/20px/0 stretch;border-image-source:image-set(url(ui/panel.avif) type("image/avif"),url(ui/panel.webp) type("image/webp"));filter:drop-shadow(0 12px 30px #000b);text-align:center}
#follow-title{margin:0 0 12px;font-size:24px;line-height:1.3;font-weight:900;font-style:italic;color:#ffe9a8;text-shadow:0 3px 0 #6b3f00,0 0 3px #000;overflow-wrap:anywhere}
#follow-text{margin:0 0 20px;font-size:16px;line-height:1.6;color:var(--paper)}
#follow-go{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 18px;background:url(ui/btn-jade.webp) center/100% 100% no-repeat;color:#0c1f33;font-size:17px;font-weight:900;font-style:italic;text-shadow:0 1px 0 #ffffff99;text-decoration:none;filter:drop-shadow(0 5px 8px #020f19aa);touch-action:manipulation}
#follow-go:active{transform:translateY(3px) scale(.98)}
#follow-go:focus-visible,#follow-x:focus-visible{outline:2px solid #ffe9a8;outline-offset:3px}
#follow-x{position:absolute;top:0;right:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:url(ui/btn-navy.webp) center/100% 100% no-repeat;color:#ffe9a8;font-size:20px;font-weight:800;filter:drop-shadow(0 3px 6px #020f19aa)}
#follow-x:active{transform:scale(.97)}
#follow:not(.hidden){animation:follow-fade .22s ease-out}
#follow:not(.hidden) .follow-card{animation:follow-rise .26s cubic-bezier(.2,.8,.2,1)}
@keyframes follow-fade{from{opacity:0}}
@keyframes follow-rise{from{opacity:0;transform:translateY(18px)}}
@media(max-height:500px){#follow{padding-top:calc(var(--top) + 4px)}.follow-card{padding:44px 10px 8px;border-width:12px;border-image-width:12px}#follow-title{font-size:20px;margin-bottom:6px}#follow-text{font-size:14px;line-height:1.4;margin-bottom:10px}#follow-go{font-size:15px}}
/* v57.44: the new character's intro in the cheer's place (follow.js); a tap on it turns the sound on */
#follow.cheer #follow-title{white-space:pre-line}
.follow-film{position:relative;aspect-ratio:9/16;height:min(36dvh,300px);margin:-6px auto 10px;overflow:hidden;border:2px solid #c9a24a;border-radius:6px;background:#06151d;cursor:pointer}
.follow-stage{display:block;width:100%;height:100%;object-fit:cover}
.follow-sound{position:absolute;right:6px;bottom:6px;padding:2px 6px;border-radius:6px;background:#06151dcc;font-size:15px;line-height:1.3}
@media(max-height:680px){.follow-film{height:26dvh}}
@media(max-height:500px){.follow-film{height:40dvh;margin:-4px auto 6px}}
@media(prefers-reduced-motion:reduce){#follow:not(.hidden),#follow:not(.hidden) .follow-card{animation:none}}
