/* lander-more.css: the front page below its first screen (loaded right after the hero, so the first paint doesn't wait for it). The game's palette and shapes (app/app.css):
   plum glass, honey-gold edges, ribbon titles, chunky round buttons. */

/* ---- sections ---- */
.sec { padding: clamp(44px, 6.5vw, 88px) 0 0; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ribbon { position: relative; display: inline-block; margin: 0 22px; padding: 7px 18px 8px; border: 2px solid #4a0f1c; border-radius: 6px; background: linear-gradient(#cf4656, #962638); box-shadow: 0 3px 0 #4a1020, inset 0 1px 0 rgba(255, 255, 255, .3);
  font: 400 clamp(20px, 2.2vw, 26px)/1 var(--title); letter-spacing: 1.5px; text-transform: uppercase; color: #fff1c8; text-shadow: 0 2px 0 #5a1424; white-space: nowrap; z-index: 0; }
.ribbon::before, .ribbon::after { content: ''; position: absolute; top: 8px; width: 30px; height: 100%; z-index: -1; background: linear-gradient(#8f2132, #6a1626); border: 2px solid #4a0f1c; box-sizing: border-box; }
.ribbon::before { left: -22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%); } .ribbon::after { right: -22px; clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%); }
.sub { margin: -8px 0 26px; color: var(--dim); font-size: clamp(15px, 1.3vw, 18px); }
.glass { border: 2px solid var(--gold-line); background: linear-gradient(180deg, #2a2840, #1a192b); box-shadow: 0 0 0 1px #000, 0 10px 34px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 40px rgba(0, 0, 0, .25); border-radius: 16px; }
/* a gentle rise as things scroll in (only ever set by the script, on what is still below the fold) */
.rv { opacity: 0; translate: 0 22px; transition: opacity .55s ease-out, translate .55s cubic-bezier(.2, .9, .3, 1); }
.rv.in { opacity: 1; translate: 0 0; }

/* ---- what is fruityfly: three wide showcases, a big framed picture with a glass card over its edge, left and right in turn ---- */
.showcase { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: center; }
.showcase + .showcase { margin-top: clamp(28px, 4.5vw, 64px); }
.show-stage { min-width: 0; grid-column: 1; grid-row: 1; }
.show-txt { position: relative; z-index: 1; grid-column: 2; grid-row: 1; margin-left: -64px; padding: 20px 22px 22px; display: grid; justify-items: start; gap: 9px; }
.showcase.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); }
.showcase.flip .show-stage { grid-column: 2; } .showcase.flip .show-txt { grid-column: 1; margin: 0 -64px 0 0; }
.kick { font: 400 12.5px/1 var(--title); letter-spacing: 1.1px; text-transform: uppercase; color: var(--gold); }
.show-txt h3 { margin: 0; font: 400 clamp(28px, 3vw, 42px)/1.02 var(--title); letter-spacing: .5px; color: var(--honey); text-shadow: 0 3px 0 #2a1840; }
.show-txt p { margin: 0; color: #efe5cf; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.42; }
.say-line { min-height: 4.3em; font-weight: 600; color: var(--cream); }
.facts { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 5px; font: 400 14.5px/1.15 var(--title); letter-spacing: .3px; color: var(--cream); }
.btn .to { width: 1em; height: 1em; rotate: 90deg; transition: translate .14s ease-out; } .btn:hover .to { translate: 3px 0; }
.btn.ghost:hover { color: var(--honey); }
.facts li { display: flex; align-items: center; gap: 8px; } .facts .ico { width: 22px; height: 22px; }
/* the framed picture: pictures stacked in it, one on */
.frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; border: 2px solid var(--gold-line); background: #2a2440; box-shadow: 0 0 0 1px #000, 0 14px 44px rgba(0, 0, 0, .55); isolation: isolate; }
.frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .38s ease-out; }
.frame img.on { opacity: 1; z-index: 1; }
.frame video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity .38s ease-out; pointer-events: none; }
.frame video.on { opacity: 1; }
.frame.slow img { transition: opacity 1.5s ease-in-out; }
.frame.slow.live img.on { animation: drift 11s ease-out both; }
@keyframes drift { from { scale: 1; } to { scale: 1.055; } }
.cap { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 6px 11px 7px; border-radius: 10px; font: 400 15px/1 var(--title); letter-spacing: .5px; color: #fff3d6; background: rgba(20, 18, 36, .86); border: 2px solid var(--gold-line); box-shadow: 0 0 0 1px #000, 0 3px 10px rgba(0, 0, 0, .4); }
.cap.pop { animation: capPop .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes capPop { from { scale: .75; opacity: 0; } to { scale: 1; opacity: 1; } }
.frame.shine::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 244, 200, .6) 50%, transparent 65%) 0 0 / 260% 100% no-repeat; animation: frameShine 1.1s ease-out both; }
@keyframes frameShine { from { background-position: 130% 0; } to { background-position: -60% 0; } }
.frame.thunk { animation: thunk .24s ease-out; } @keyframes thunk { 40% { scale: 1.012; } }
/* dots */
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; min-height: 30px; }
.dots button { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.dots button::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: #3a3752; box-shadow: 0 0 0 2px #000; transition: transform .15s, background .15s; }
.dots button:hover::before { background: var(--gold-line); }
.dots button[aria-pressed="true"]::before { background: var(--gold); transform: scale(1.25); box-shadow: 0 0 0 2px #000, 0 0 8px rgba(246, 194, 74, .7); }
/* the builder's steps: back, the numbered beads on a thread, on, watch again */
.steps { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.steps[hidden] { display: none; }
.stepbar { position: relative; flex: 1; display: flex; justify-content: space-between; min-width: 0; }
.stepbar::before, .stepbar i { content: ''; position: absolute; left: 15px; right: 15px; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 3px; background: #15142a; box-shadow: 0 0 0 1px #000; }
.stepbar i { right: auto; width: 0; background: repeating-linear-gradient(-45deg, #ffd25a 0 6px, #f0a020 6px 12px); transition: width .35s ease-out; box-shadow: none; }
.bead { position: relative; width: 30px; height: 30px; padding: 0; border-radius: 50%; font: 400 15px/1 var(--title); color: var(--dim); background: linear-gradient(#4a476a, #35334f); border: 2px solid #000; box-shadow: 0 2px 0 #15142a; cursor: pointer; transition: transform .12s; }
.bead.done { color: #4a2a05; background: linear-gradient(#ffe08a, #e0a02a); border-color: #4a1f08; box-shadow: 0 2px 0 #8a5a0c; }
.bead[aria-current="step"] { transform: scale(1.18); box-shadow: 0 2px 0 #8a5a0c, 0 0 10px rgba(246, 194, 74, .7); }
.nudge { flex: none; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border-radius: 10px; border: 2px solid #000; color: var(--cream); cursor: pointer; background: linear-gradient(#4a476a, #35334f); box-shadow: 0 2px 0 #15142a, inset 0 1px 0 rgba(255, 255, 255, .18); }
.nudge:active { transform: translateY(2px); box-shadow: none; } .nudge:disabled { opacity: .4; cursor: default; }
.nudge .ico { width: 20px; height: 20px; transform: rotate(90deg); } .nudge.back .ico { transform: rotate(-90deg); }
/* or make it yours: the two other rooms */
.make { width: 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin: 2px 0 6px; }
.make[hidden] { display: none; }
.make b { grid-column: 1 / -1; font: 400 14.5px/1.1 var(--title); letter-spacing: .4px; color: var(--cream); }
.room { position: relative; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; border: 2px solid #000; cursor: pointer; background: #2a2440; transition: transform .12s, border-color .12s; }
.room img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room:hover { transform: translateY(-2px); border-color: var(--gold-line); } .room[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 8px rgba(246, 194, 74, .6); }
.make.new .room { animation: roomIn .4s cubic-bezier(.3, 1.6, .5, 1) both; } .make.new .room:nth-of-type(2) { animation-delay: .08s; } .make.new .room:nth-of-type(3) { animation-delay: .16s; }
@keyframes roomIn { from { scale: .6; opacity: 0; } }
/* the games: a row of seven tile buttons under it all, each in the game's own banner */
.tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.tiles[hidden] { display: none; }
.tile { position: relative; padding: 0 0 8px; display: grid; justify-items: center; gap: 5px; min-width: 0; border-radius: 12px; overflow: hidden; border: 2px solid #000; color: var(--cream); background: #1d1c30; cursor: pointer; box-shadow: 0 3px 0 #15142a; transition: transform .12s, border-color .12s, box-shadow .12s; }
.tile:hover { transform: translateY(-3px); border-color: var(--gold-line); }
.tile:active { transform: translateY(1px); }
.tile[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 3px 0 #8a5a0c, 0 0 12px rgba(246, 194, 74, .5); transform: translateY(-3px); }
.tile-art { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.tile-art img { width: 46%; height: auto; max-height: 86%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .4)); transition: scale .2s cubic-bezier(.3, 1.6, .5, 1); }
.tile:hover .tile-art img, .tile[aria-pressed="true"] .tile-art img { scale: 1.16; }
.tile b { font: 400 14px/1 var(--title); letter-spacing: .3px; white-space: nowrap; }
.tile small { display: flex; align-items: center; gap: 3px; font: 600 11.5px/1 var(--font); color: var(--dim); }
.tile small .ico { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .showcase, .showcase.flip { grid-template-columns: minmax(0, 1fr); }
  .show-stage, .showcase.flip .show-stage { grid-column: 1; grid-row: auto; }
  .show-txt, .showcase.flip .show-txt { grid-column: 1; grid-row: auto; margin: 8px 0 0; padding: 16px 16px 18px; }
  .say-line { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px; padding: 4px 16px 8px; margin: 12px -16px 0; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 112px; scroll-snap-align: center; }
}
@media (max-width: 900px) { .showcase + .showcase { margin-top: 44px; } }
@media (max-width: 520px) { .show-txt .facts { display: none; } .steps { gap: 5px; } .cap { font-size: 13.5px; left: 7px; top: 7px; padding: 5px 9px 6px; } }

/* ---- meet the locals: a row of portraits, a word from each on a hover or a tap ---- */
.locals-box { position: relative; }
.locals { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.local { position: relative; min-width: 0; padding: 4px 4px 9px; display: grid; justify-items: center; gap: 1px; border-radius: 14px; border: 2px solid #000; color: var(--cream); cursor: pointer; text-align: center;
  background: linear-gradient(180deg, #2a2840, #1a192b); box-shadow: 0 3px 0 #15142a, inset 0 1px 0 rgba(255, 255, 255, .12); transition: border-color .12s, transform .12s; }
@supports (color: color-mix(in srgb, red 50%, blue)) { .local { background: radial-gradient(90% 62% at 50% 40%, color-mix(in srgb, var(--c) 42%, transparent), transparent 74%), linear-gradient(180deg, #2a2840, #1a192b); } }
.local img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); transition: transform .24s cubic-bezier(.3, 1.7, .5, 1); transform-origin: 50% 90%; }
.local:hover, .local.on { border-color: var(--gold-line); }
.local:hover img, .local.on img { transform: translateY(-5px) scale(1.07); }
.local.talk img { animation: talk .5s ease-in-out; } @keyframes talk { 25% { rotate: -3deg; } 60% { rotate: 3deg; } }
.local b { font: 400 15px/1.05 var(--title); letter-spacing: .3px; color: var(--honey); }
.local small { font: 500 12px/1.15 var(--font); color: var(--dim); }
.local-say { position: absolute; left: 0; top: 0; z-index: 4; max-width: 240px; width: max-content; padding: 7px 13px; text-align: center; text-wrap: balance; font: 600 14.5px/1.28 var(--font); border-radius: 13px; background: #fffaf0; color: #241a10; box-shadow: 0 3px 0 rgba(0, 0, 0, .25), 0 0 0 2px #241a10; opacity: 0; scale: .92; transform-origin: var(--tail, 50%) 100%; transition: opacity .14s, scale .14s; pointer-events: none; }
.local-say::after { content: ''; position: absolute; left: var(--tail, 50%); bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: #fffaf0; border-radius: 0 0 2px 0; transform: rotate(45deg); box-shadow: 2px 2px 0 #241a10; }
.local-say.show { opacity: 1; scale: 1; animation: bubPop .34s ease-out; }
.locals .rise { animation: localIn .5s cubic-bezier(.3, 1.45, .5, 1) both paused; animation-delay: var(--d, 0s); } .locals.go .rise { animation-play-state: running; }
@keyframes localIn { from { opacity: 0; translate: 0 18px; scale: .9; } }
@media (max-width: 1000px) {
  .locals { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
  .locals::-webkit-scrollbar { display: none; }
  .local { flex: 0 0 136px; scroll-snap-align: center; }
}

/* ---- news: a masthead, one big feature, the promo, then a grid of two; cards lift a touch on hover ---- */
.masthead { padding-bottom: 12px; border-bottom: 3px double var(--gold-line); }
.times { font-size: 14px; color: var(--dim); text-align: right; } .times b { font: 400 15px/1 var(--title); letter-spacing: .4px; color: var(--honey); }
@media (max-width: 560px) { .times { display: none; } }
.news { display: grid; gap: 16px; }
.post { position: relative; display: grid; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s ease-out, border-color .18s, box-shadow .18s; }
.post:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 0 0 1px #000, 0 12px 28px rgba(0, 0, 0, .5), 0 0 0 4px rgba(246, 194, 74, .12), inset 0 1px 0 rgba(255, 255, 255, .1); }
.post .pic { position: relative; overflow: hidden; background: #2a2440; }
.post .pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease-out; }
.post:hover .pic img { scale: 1.04; }
.post .txt { padding: 14px 16px 16px; display: grid; align-content: start; gap: 6px; min-width: 0; }
.post h3 { margin: 0; font: 400 19px/1.15 var(--title); letter-spacing: .3px; color: var(--cream); }
.post p { margin: 0; color: #e6dcc6; font-size: 15px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--dim); }
.cat { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border-radius: 999px; font: 400 12px/1 var(--title); letter-spacing: .8px; text-transform: uppercase; color: #1a1206; background: var(--gold); }
.cat .ico { width: 15px; height: 15px; }
.cat.Event { background: var(--pink); } .cat.Community { background: var(--leaf); } .cat.Safety { background: var(--sky); }
/* a post with no picture: a banner, its own little scene (the list and its drawings: lander-art.js). It moves only while .live (lander.js: on screen, and in a list across its middle) or under the mouse;
   otherwise it holds still in the pose it is drawn in, the same as with reduced motion */
.art { --a: #6a3a1a; --b: #c9842a; position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(135deg, var(--a), var(--b)); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.post:hover .art svg { scale: 1.06; } .post:active .art svg { scale: .97; }
.art text { font-family: var(--font); } .art text.t { font-family: var(--title); }
.art i { position: absolute; display: block; pointer-events: none; }
.post:not(:hover) .art:not(.live) *, .art:not(.live):not(.post .art) * { animation: none !important; }
.live.art svg g[class], .post:hover .art svg g[class] { will-change: transform; }
.pr-crown, .pr-crown *, .pr-shine, .promo .pr-pic img, .promo .pr-say { animation-play-state: paused; }
.live *, .live.promo .pr-crown { animation-play-state: running !important; }
.tw { animation: bTwinkle 3.4s ease-in-out infinite; } .tw2 { animation-delay: -1.2s; } .tw3 { animation-delay: -2.3s; }
@keyframes bTwinkle { 0%, 60%, 100% { scale: .55; opacity: .35; } 78% { scale: 1.1; opacity: 1; rotate: 30deg; } }

/* the megaphone: it shouts, a slow sunburst behind it */
.art.b-megaphone { --a: #6a3a1a; --b: #c9842a; }
.rays { left: 50%; top: 50%; width: 220%; aspect-ratio: 1; margin: -110% 0 0 -110%; background: repeating-conic-gradient(rgba(255, 224, 138, .13) 0 12deg, transparent 12deg 24deg); animation: bSpin 48s linear infinite; }
@keyframes bSpin { to { rotate: 360deg; } }
.shout { animation: bShout 4.2s ease-in-out infinite; }
@keyframes bShout { 0%, 70%, 100% { rotate: 0deg; scale: 1; } 75% { rotate: -9deg; scale: 1.08; } 83% { rotate: 5deg; scale: 1.04; } 91% { rotate: -3deg; } }
.wv { animation: bWave 4.2s ease-out infinite; } .wv2 { animation-delay: .14s; } .wv3 { animation-delay: .28s; }
@keyframes bWave { 0%, 72%, 100% { opacity: .55; scale: 1; } 80% { opacity: 1; scale: 1.08; } 92% { opacity: .35; scale: 1.02; } }

/* new stuff: gift wrap for a background, and the lid hops */
.art.b-parcel { --a: #0e4a50; --b: #27a89a; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px), radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(135deg, var(--a), var(--b)); }
.b-parcel .lid { animation: bLid 5s cubic-bezier(.3, 1.3, .5, 1) infinite; }
@keyframes bLid { 0%, 62%, 100% { translate: 0 0; rotate: 0deg; } 72% { translate: 0 -15px; rotate: -7deg; } 82% { translate: 0 -11px; rotate: 4deg; } 90% { translate: 0 1px; rotate: 0deg; } }
.b-parcel .box { animation: bBox 5s ease-in-out infinite; }
@keyframes bBox { 0%, 58%, 100% { scale: 1 1; } 64% { scale: 1.04 .95; } 74% { scale: .98 1.03; } 90% { scale: 1.03 .96; } }
.b-parcel .tw { animation-duration: 5s; animation-delay: 0s; } .b-parcel .tw2 { animation-delay: .1s; } .b-parcel .tw3 { animation-delay: .2s; }

/* a party: the paper falls, the fly rocks, the blower goes */
.art.b-party { --a: #6b1f4a; --b: #e2507e; }
.cf { animation: bFall 8s linear infinite; } .cf1 { animation-duration: 9.5s; } .cf2 { animation-duration: 7s; }
@keyframes bFall { from { translate: 0 -150px; rotate: -240deg; } to { translate: 0 150px; rotate: 240deg; } }
.b-party .cf { transform-box: fill-box; transform-origin: center; }
.rock { animation: bRock 3.6s ease-in-out infinite; } @keyframes bRock { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.blow { animation: bBlow 5.4s ease-out infinite; } @keyframes bBlow { 0%, 66%, 100% { scale: .22 1; } 72%, 84% { scale: 1 1; } }
.bal { animation: bFloat 6s ease-in-out infinite; } .bal2 { animation-delay: -2.4s; } @keyframes bFloat { 50% { translate: 0 -7px; rotate: 3deg; } }

/* a fix: blueprint paper; two gears meet, the wrench gives it a nudge, and the bug leaves */
.art.b-wrench { --a: #232a3a; --b: #56637e; background: linear-gradient(rgba(190, 215, 255, .08) 1px, transparent 1px) 0 0 / 100% 16px, linear-gradient(90deg, rgba(190, 215, 255, .08) 1px, transparent 1px) 0 0 / 16px 100%, linear-gradient(135deg, var(--a), var(--b)); }
.gearA { animation: bSpin 22s linear infinite; } .gearB { animation: bSpinBack 12.8s linear infinite; } @keyframes bSpinBack { to { rotate: -360deg; } }
.wr { rotate: 22deg; animation: bWrench 4.4s cubic-bezier(.3, 1.2, .5, 1) infinite; } @keyframes bWrench { 0%, 50%, 100% { rotate: 22deg; } 62% { rotate: 44deg; } 72% { rotate: 38deg; } 88% { rotate: 22deg; } }
.spark { opacity: 0; animation: bSpark 4.4s ease-out infinite; } @keyframes bSpark { 0%, 58%, 100% { opacity: 0; scale: .5; } 64% { opacity: 1; scale: 1; } 74% { opacity: 0; scale: 1.25; } }
.bug { animation: bBug 16s linear infinite; } @keyframes bBug { from { translate: -100px 0; } to { translate: 200px 0; } }

/* the Fruit Times: newsprint dots, and it spins in once when it comes on screen */
.art.b-paper { --a: #4e1620; --b: #a8343f; background: radial-gradient(rgba(255, 220, 180, .13) 1.5px, transparent 2px) 0 0 / 11px 11px, radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(135deg, var(--a), var(--b)); }
.spinin { animation: bSpinIn 1.1s cubic-bezier(.2, .9, .3, 1.08) both; } @keyframes bSpinIn { from { rotate: -900deg; scale: .1; opacity: 0; } 20% { opacity: 1; } to { rotate: 0deg; scale: 1; } }
.been .spinin { animation: none; }
.flut { animation: bFlut 6s ease-in-out infinite; } @keyframes bFlut { 0%, 100% { rotate: -1.6deg; } 50% { rotate: 1.6deg; } }

/* the locals: they take turns */
.art.b-locals { --a: #15452a; --b: #3fa860; }
.say { animation: bSay 8s ease-out infinite; } .say2 { animation-delay: -4s; } @keyframes bSay { 0%, 46%, 100% { opacity: 0; scale: .5; } 5% { opacity: 1; scale: 1.08; } 8%, 40% { opacity: 1; scale: 1; } }
.nod { animation: bNod 8s ease-in-out infinite; } .nod2 { animation-delay: -4s; } @keyframes bNod { 0%, 44%, 100% { rotate: 0deg; translate: 0 0; } 8%, 24% { rotate: -4deg; translate: 0 -2px; } 16%, 32% { rotate: 4deg; translate: 0 0; } }

/* a game: neon floor, Fruit Catch running on the screen */
.art.b-arcade { --a: #120b2e; --b: #3a1f86; background: radial-gradient(70% 90% at 50% 45%, rgba(255, 90, 220, .28), transparent 70%), linear-gradient(135deg, var(--a), var(--b)); }
.fruit { animation: bFruit 3s ease-in infinite; } @keyframes bFruit { 0% { translate: -12px -2px; opacity: 0; } 8% { opacity: 1; } 42%, 50% { translate: -12px 20px; opacity: 0; } 51% { translate: 12px -2px; opacity: 0; } 58% { opacity: 1; } 92%, 100% { translate: 12px 20px; opacity: 0; } }
.catcher { animation: bCatch 3s ease-in-out infinite; } @keyframes bCatch { 0%, 40% { translate: -12px 0; } 52%, 92% { translate: 12px 0; } 100% { translate: -12px 0; } }
.stick { animation: bStick 3s ease-in-out infinite; } @keyframes bStick { 0%, 40% { rotate: -18deg; } 52%, 92% { rotate: 18deg; } 100% { rotate: -18deg; } }
.lamp { animation: bLamp 3s steps(1) infinite; } .lamp2 { animation-delay: -1.5s; } @keyframes bLamp { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* a shiny rare: a warm glow, the amber bobs, its facets catch the light */
.art.b-rare { --a: #2a0f40; --b: #7a2474; }
.glow { left: 50%; top: 42%; width: 90%; aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 216, 106, .55), rgba(255, 216, 106, .12) 55%, transparent); animation: bGlow 4.6s ease-in-out infinite; }
@keyframes bGlow { 50% { opacity: .65; scale: .92; } }
.jewel { animation: bJewel 4.6s ease-in-out infinite; } @keyframes bJewel { 50% { translate: 0 -5px; } }
.glint { opacity: 0; animation: bGlint 4.6s ease-in-out infinite; } .glint2 { animation-delay: .25s; } @keyframes bGlint { 0%, 62%, 100% { opacity: 0; } 72% { opacity: .75; } 82% { opacity: 0; } }

/* the Juice Press: down it goes, a drop falls, the cup fills */
.art.b-press { --a: #8a2f10; --b: #f0762a; }
.screw { animation: bScrew 6s ease-in-out infinite; } @keyframes bScrew { 0%, 100% { translate: 0 0; } 45%, 60% { translate: 0 9px; } }
.turn { animation: bTurn 6s ease-in-out infinite; } @keyframes bTurn { 0%, 100% { scale: 1 1; } 12% { scale: .1 1; } 24% { scale: -1 1; } 36% { scale: -.1 1; } 48%, 60% { scale: 1 1; } 72% { scale: .1 1; } 84% { scale: -1 1; } 94% { scale: -.1 1; } }
.drop { opacity: 0; animation: bDrop 2s ease-in infinite; } @keyframes bDrop { 0%, 30% { translate: 0 -3px; scale: .4; opacity: 0; } 40% { translate: 0 -3px; scale: 1; opacity: 1; } 68% { translate: 0 6px; opacity: 1; } 72%, 100% { translate: 0 6px; opacity: 0; } }
.fill { animation: bFill 6s ease-in-out infinite; } @keyframes bFill { 0%, 8% { scale: 1 .25; } 85%, 92% { scale: 1 1; } 100% { scale: 1 .25; } }
.bub { animation: bBub 7s ease-in infinite; } .bub2 { animation-delay: -2.5s; } .bub3 { animation-delay: -5s; } @keyframes bBub { 0% { translate: 0 10px; opacity: 0; } 20% { opacity: 1; } 100% { translate: 8px -75px; opacity: 0; } }

/* safety: rings go out, the shield stays put */
.art.b-shield { --a: #1a3260; --b: #4d8fe0; }
.ring { opacity: .3; animation: bRing 5s ease-out infinite; } .ring2 { animation-delay: -1.7s; } .ring3 { animation-delay: -3.4s; } @keyframes bRing { 0% { scale: .5; opacity: 0; } 25% { opacity: .75; } 100% { scale: 1.5; opacity: 0; } }
.guard { animation: bGuard 5s ease-in-out infinite; } @keyframes bGuard { 50% { scale: 1.04; } }
.feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.feature .pic { aspect-ratio: 16 / 9; }
.feature .txt { padding: 22px 24px; align-content: center; gap: 10px; }
.feature h3 { font-size: clamp(24px, 2.6vw, 34px); }
.feature p { font-size: 16px; }
.feature .go { margin-top: 6px; justify-self: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { grid-template-columns: 132px minmax(0, 1fr); }
.mini .pic { min-height: 112px; }
.mini .pic img, .mini .art { position: absolute; inset: 0; }
.mini .txt { padding: 12px 14px; }
.mini p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
#promos:not(:empty) { margin-top: 24px; }
.more { display: flex; justify-content: center; margin-top: 20px; }
.empty { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 18px 20px; }
.empty .pic { position: relative; width: 96px; height: 72px; overflow: hidden; border-radius: 10px; border: 2px solid var(--gold-line); }
.empty b { display: block; font: 400 19px/1.2 var(--title); color: var(--honey); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .pic { aspect-ratio: 2 / 1; } .feature .txt { padding: 16px 18px 18px; } }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } .mini { grid-template-columns: 104px minmax(0, 1fr); } }

/* ---- a promo banner. .club: the Fly Club's own look (plum velvet, gold, like its chips in the game) ---- */
.promo { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 22px; overflow: hidden; padding: 18px 8px 18px 24px; border-radius: 16px; text-decoration: none; color: var(--cream); transition: transform .18s ease-out, box-shadow .18s; }
.promo:hover { transform: translateY(-3px); }
.promo.club { border: 2px solid #c9902a; box-shadow: 0 0 0 1px #000, 0 10px 34px rgba(90, 42, 138, .45), inset 0 1px 0 rgba(255, 216, 106, .35); background: radial-gradient(70% 140% at 12% 50%, rgba(255, 216, 106, .2), transparent 60%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px), linear-gradient(115deg, #2e1648, #5a2a8a 55%, #33174f); }
.promo.club:hover { box-shadow: 0 0 0 1px #000, 0 14px 38px rgba(138, 90, 200, .5), 0 0 0 4px rgba(255, 216, 106, .14), inset 0 1px 0 rgba(255, 216, 106, .35); }
.pr-shine { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 236, 170, .2) 50%, transparent 58%) 0 0 / 250% 100% no-repeat; animation: prShine 7s ease-in-out infinite; }
@keyframes prShine { 0%, 40% { background-position: 150% 0; } 100% { background-position: -80% 0; } }
.pr-crown { position: relative; width: clamp(84px, 11vw, 150px); aspect-ratio: 1; display: grid; place-items: center; }
.pr-crown::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 216, 106, .4), transparent); }
.pr-crown .ico { position: relative; width: 76%; height: 76%; filter: drop-shadow(0 8px 8px rgba(20, 6, 36, .6)); animation: crown 3.4s ease-in-out infinite; }
@keyframes crown { 50% { translate: 0 -7%; rotate: 4deg; } }
.pr-crown i { position: absolute; width: 11%; aspect-ratio: 1; background: #fff3a6; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: twinkle 2.6s ease-in-out infinite; }
.pr-crown i:nth-child(1) { left: 6%; top: 18%; } .pr-crown i:nth-child(2) { right: 4%; top: 8%; animation-delay: .6s; } .pr-crown i:nth-child(3) { right: 0; bottom: 26%; animation-delay: 1.2s; width: 8%; } .pr-crown i:nth-child(4) { left: 2%; bottom: 14%; animation-delay: 1.7s; width: 8%; } .pr-crown i:nth-child(5) { left: 48%; top: 0; animation-delay: 2.1s; width: 7%; }
@keyframes twinkle { 50% { opacity: 1; scale: 1.25; rotate: 40deg; } }
.pr-txt { min-width: 0; display: grid; justify-items: start; gap: 5px; }
.pr-kick { font: 400 12.5px/1 var(--title); letter-spacing: 1.2px; text-transform: uppercase; color: #ffd86a; }
.promo h3 { margin: 0; font: 400 clamp(28px, 3.2vw, 44px)/1 var(--title); letter-spacing: .6px; color: #ffe9a8; text-shadow: 0 3px 0 #2a0f40, 0 0 22px rgba(255, 216, 106, .35); }
.promo p { margin: 0; max-width: 40em; color: #f0e4f6; font-size: 15px; line-height: 1.38; }
.pr-perks { list-style: none; margin: 5px 0 7px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.pr-perks li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 5px; border-radius: 9px; font: 400 13px/1.2 var(--title); letter-spacing: .3px; color: #ffe9a8; background: rgba(36, 12, 54, .72); border: 1px solid #c9902a; }
.pr-perks .ico { width: 17px; height: 17px; }
.pr-pic { position: relative; align-self: end; width: clamp(120px, 15vw, 210px); margin: -8px 0 -18px; }
.pr-pic img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(20, 6, 36, .65)); }
.pr-say { position: absolute; right: 62%; top: 7%; width: max-content; max-width: 150px; padding: 5px 9px; font: 600 12.5px/1.22 var(--font); text-align: center; color: #241a10; background: #fffaf0; border-radius: 11px; box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 0 0 2px #241a10; animation: saySoft 7s ease-in-out infinite; }
.pr-say::after { content: ''; position: absolute; right: -3px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #fffaf0; transform: rotate(45deg); box-shadow: 2px -2px 0 #241a10; }
@keyframes saySoft { 0%, 8%, 92%, 100% { opacity: 0; translate: 0 5px; } 16%, 84% { opacity: 1; translate: 0 0; } }
@media (max-width: 760px) {
  .promo { grid-template-columns: auto minmax(0, 1fr); padding: 14px 14px 16px; gap: 2px 8px; }
  .pr-crown { grid-column: 1; grid-row: 1; width: 62px; }
  .pr-txt { display: contents; }
  .pr-kick, .promo h3 { grid-column: 2; } .pr-kick { align-self: end; grid-row: 1; margin-bottom: 40px; }
  .promo h3 { grid-row: 1; font-size: 30px; align-self: center; margin-top: 12px; }
  .promo p, .pr-perks, .pr-go { grid-column: 1 / -1; } .pr-go { justify-self: start; }
  .pr-pic { display: none; }
}

/* ---- safety & parents ---- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { padding: 20px 22px; }
.box h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--line); font: 400 24px/1.1 var(--title); letter-spacing: .3px; color: var(--honey); text-shadow: 0 2px 0 #2a1840; }
.box h3 .ico { width: 32px; height: 32px; color: #ff5f86; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tips li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; font-size: 15px; color: #ece2cc; line-height: 1.36; }
.tips li .ico { width: 34px; height: 34px; padding: 5px; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); color: #ff5f86; }
.tips b { color: var(--cream); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.age { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 400 14px/1 var(--title); color: #1a1206; background: var(--gold); border: 2px solid #4a1f08; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---- footer: a tiny fly keeps walking along the top of it ---- */
footer { position: relative; margin-top: clamp(48px, 7vw, 96px); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 2px solid var(--gold-line); background: linear-gradient(180deg, #17162a, #0d0c18); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
footer nav a:hover { color: var(--honey); }
footer small { display: block; width: 100%; color: #8f8670; font-size: 13px; }
.foot-fly { position: absolute; left: 0; top: -27px; width: 26px; height: 26px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); animation: footFly 70s linear infinite; pointer-events: none; }
@keyframes footFly { 0% { left: -30px; transform: translateY(0); } 25% { transform: translateY(0); } 25.4% { transform: translateY(-7px); } 25.8% { transform: translateY(0); } 62% { transform: translateY(0); } 62.4% { transform: translateY(-7px); } 62.8% { transform: translateY(0); } 100% { left: 100%; } }

/* ---- a post or all the news, in their own view ---- */
.view { padding: 28px 0 0; min-height: 70vh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.article { max-width: 780px; margin: 0 auto; overflow: hidden; }
.article .pic { aspect-ratio: 16 / 9; background: #2a2440; border-bottom: 2px solid var(--gold-line); }
.article .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article .body { padding: 22px clamp(16px, 4vw, 36px) 28px; }
.article h1 { margin: 10px 0 8px; font: 400 clamp(28px, 4vw, 42px)/1.08 var(--title); color: var(--cream); }
.article .html { font-size: 17px; line-height: 1.6; color: #efe5cf; }
.article .html p { margin: 0 0 1em; } .article .html b { color: var(--honey); font-weight: 600; }
.cta-strip .cta-box { position: relative; max-width: none; margin: 0; padding: 18px clamp(18px, 3vw, 32px); justify-content: center; gap: 14px clamp(16px, 3vw, 32px); background: radial-gradient(60% 120% at 50% 50%, rgba(246, 194, 74, .16), transparent 70%), linear-gradient(180deg, #2a2840, #1a192b); }
.cta-strip .cta-box b { font-size: clamp(22px, 2.6vw, 32px); text-align: center; }
.cta-fly { flex: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); transform-origin: 50% 90%; transition: rotate .2s cubic-bezier(.3, 1.7, .5, 1); }
.cta-strip:hover .cta-fly { rotate: -9deg; }
.cta-strip.in .cta-fly { animation: ctaHop .7s cubic-bezier(.3, 1.4, .5, 1) .35s; } @keyframes ctaHop { 30% { translate: 0 -16px; scale: .94 1.08; } 62% { translate: 0 0; scale: 1.1 .9; } }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; max-width: 780px; margin: 18px auto 0; padding: 16px 20px; }
.cta-box b { font: 400 20px/1.2 var(--title); color: var(--honey); }
.list { display: grid; gap: 16px; }
/* a handful of paper */
.paper { position: fixed; left: 0; top: 0; z-index: 45; width: 9px; height: 13px; border-radius: 2px; pointer-events: none; }

.btn:disabled { filter: grayscale(.5) brightness(.8); cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .post, .post .pic img, .sw, .promo, .frame img, .rv, .tile, .local img, .local-say { transition: none; }
  .post:hover, .promo:hover { transform: none; } .post:hover .pic img { scale: 1; }
  .rv { opacity: 1; translate: none; }
  .art *, .pr-crown *, .pr-shine, .frame.slow.live img.on, .foot-fly, .local.talk img, .locals .rise, .local-say.show, .cap.pop { animation: none !important; }
  .art svg { transition: none; } .post:hover .art svg, .post:active .art svg { scale: 1; }
  .tw { opacity: .85; } .ring { opacity: .5; scale: .9; } .ring2 { scale: 1.15; } .ring3 { scale: 1.4; opacity: .25; } .spark, .drop, .glint { opacity: 0; } .pr-say { animation: none !important; }
  .foot-fly { left: 40px; }
}
