/* Worlds (js/worlds.js): the hub, a world's home and "What do you want to make?". Every world paints with its two colours,
   --wa and --wb (worlds/<id>/world.json), so a new world needs no CSS. */
.wd { max-width: 720px; margin: 0 auto; }
.wd-hd { margin: 4px 0 18px; }
.wd-hd h1 { font: 900 clamp(40px, 9vw, 64px) / .9 var(--d); letter-spacing: -.03em; }
.wd-hd p { margin-top: 8px; font: 500 15px / 1.45 var(--f); color: var(--text2); }

/* a world's tile: its colours, a slow glow, a fan of its best entries, its icon and name */
.wd-big { display: grid; gap: 12px; }
.wd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.wd-t { position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate; text-align: left; border-radius: 26px; padding: 18px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--wa) 55%, transparent), transparent 55%), radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--wb) 50%, transparent), transparent 60%), #0d0c14;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px -30px color-mix(in srgb, var(--wa) 70%, transparent); transition: transform .35s var(--spring), box-shadow .35s; }
.wd-t:hover { transform: translateY(-3px); }
.wd-t:active { transform: scale(.98); }
.wd-t.xl { min-height: 236px; }
.wd-t.lg { min-height: 190px; }
.wd-t.sm { min-height: 150px; border-radius: 22px; padding: 14px; }
.wd-glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--wa) 30%, transparent), transparent, color-mix(in srgb, var(--wb) 30%, transparent), transparent); filter: blur(30px); animation: wdSpin 14s linear infinite; opacity: .7; }
@keyframes wdSpin { to { transform: rotate(360deg); } }
.wd-col { position: absolute; right: 14px; top: 14px; bottom: 14px; width: 43%; pointer-events: none; }
.wd-t.sm .wd-col { width: 52%; right: 8px; top: 10px; bottom: auto; height: 74px; }
.wd-cl { position: absolute; right: calc(var(--k) * 22%); top: calc(var(--k) * 10px); width: 58%; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; transform: rotate(calc(6deg - var(--k) * 6deg)); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14); background: #111; transition: transform .5s var(--spring); }
.wd-t:hover .wd-cl { transform: rotate(calc(8deg - var(--k) * 8deg)) translateY(-4px); }
.wd-t.sm .wd-cl { width: 46%; border-radius: 10px; }
.wd-cl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-cl q { display: grid; place-items: center; height: 100%; padding: 10px; font: 800 13px / 1.25 var(--d); quotes: none; text-align: center; background: linear-gradient(160deg, var(--wa), var(--wb)); color: #0b0b10; }
.wd-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: #fff; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 12px 30px -10px var(--wa); }
.wd-ic svg { width: 26px; height: 26px; color: #fff; stroke-width: 2.1; }
.wd-t.sm .wd-ic { width: 40px; height: 40px; border-radius: 13px; }
.wd-t.sm .wd-ic svg { width: 21px; height: 21px; }
.wd-tx { position: relative; display: grid; gap: 6px; margin-top: 14px; max-width: 50%; }
.wd-t.xl .wd-tx { margin-top: 46px; }
.wd-t.sm .wd-tx { max-width: none; margin-top: 46px; }
.wd-tx b { font: 900 clamp(26px, 6vw, 38px) / .95 var(--d); letter-spacing: -.02em; }
.wd-t.sm .wd-tx b { font-size: 22px; }
.wd-tx small { font: 500 13.5px / 1.4 var(--f); color: rgba(255, 255, 255, .8); }
.wd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 700 12px var(--f); color: rgba(255, 255, 255, .7); }
.wd-meta em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; padding: 4px 9px; border-radius: 999px; color: #fff; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.wd-meta em svg { width: 13px; height: 13px; color: var(--wa); }

/* open a new world: the empty ones wait here as little coloured icons */
.wd-new { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin-top: 14px; padding: 16px 18px; border-radius: 22px; text-align: left; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); border: 0; color: #fff; transition: background .2s; }
.wd-new:hover { background: rgba(255, 255, 255, .06); }
.wd-nt { display: grid; gap: 4px; }
.wd-nt b { display: inline-flex; align-items: center; gap: 8px; font: 800 17px var(--f); }
.wd-nt b svg { width: 20px; height: 20px; color: #fff; }
.wd-nt small { font: 500 13px var(--f); color: var(--muted); }
.wd-nr { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 46%; }
.wd-nr i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.wd-nr i svg { width: 17px; height: 17px; color: #fff; stroke-width: 2.1; }
.wd-charts { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: 18px; font: 750 15px var(--f); color: #fff; background: rgba(255, 255, 255, .05); border: 0; }
.wd-charts svg:last-child { margin-left: auto; width: 18px; height: 18px; }

/* a world's home */
.wh-hero { position: relative; overflow: hidden; isolation: isolate; margin: -6px -18px 0; padding: 22px 22px 70px; background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--wa) 60%, transparent), transparent 60%), radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--wb) 55%, transparent), transparent 60%), #0b0a12; }
.wh-bg { position: absolute; right: -40px; top: -30px; z-index: -1; opacity: .16; }
.wh-bg svg { width: 260px; height: 260px; color: #fff; stroke-width: 1.2; }
.wh-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px; color: #fff; background: rgba(0, 0, 0, .35); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.wh-back svg { width: 18px; height: 18px; transform: rotate(180deg); color: #fff; }
.wh-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 19px; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 16px 40px -12px var(--wa); }
.wh-ic svg { width: 32px; height: 32px; color: #fff; stroke-width: 2.1; }
.wh-hero h1 { margin-top: 14px; font: 900 clamp(46px, 11vw, 76px) / .86 var(--d); letter-spacing: -.035em; }
.wh-hero p { margin-top: 10px; max-width: 34ch; font: 500 16px / 1.45 var(--f); color: rgba(255, 255, 255, .86); }
.wh-hero .wh-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.wh-hero .wh-note svg { width: 15px; height: 15px; color: #fff; }

/* the dare of the day: a card that sits on the hero's edge */
.wh-dare { position: relative; margin: -48px 0 0; padding: 20px; border-radius: 24px; background: rgba(18, 16, 28, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px -30px rgba(0, 0, 0, .9); }
.wh-tag { display: inline-flex; align-items: center; gap: 8px; font: 850 11px var(--f); letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--wa) 70%, #fff); }
.wh-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 12px var(--wa); animation: whPulse 1.6s infinite; }
@keyframes whPulse { 50% { opacity: .35; } }
.wh-dare h2 { margin-top: 10px; font: 900 clamp(28px, 7vw, 40px) / .95 var(--d); letter-spacing: -.02em; }
.wh-dare p { margin-top: 8px; font: 500 15px / 1.45 var(--f); color: var(--text2); }
.wh-dmeta { margin-top: 12px; }
.wd-dm { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px var(--f); color: var(--text2); }
.wd-dm svg { width: 15px; height: 15px; color: var(--wa); }
.wd-lvl { display: inline-flex; gap: 3px; margin-left: 10px; vertical-align: middle; }
.wd-lvl i { width: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.wd-lvl i.on { background: linear-gradient(90deg, var(--wa), var(--wb)); }
.wh-acts { display: flex; gap: 10px; margin-top: 16px; }
.wh-go { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 16px; border: 0; font: 850 16px var(--f); color: #fff; background: linear-gradient(120deg, var(--wa), var(--wb)); box-shadow: 0 18px 40px -16px var(--wa); transition: transform .2s var(--spring); }
.wh-go:hover { transform: translateY(-2px); }
.wh-go:active { transform: scale(.98); }
.wh-go svg { width: 18px; height: 18px; color: #fff; }

.wh-sec { margin-top: 26px; }
.wh-sec h3 { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; font: 900 22px var(--d); letter-spacing: -.01em; }
.wh-sec h3 small { font: 600 12.5px var(--f); color: var(--muted); }
.wh-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
.wh-row::-webkit-scrollbar { display: none; }
.wh-e { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; scroll-snap-align: start; border: 0; padding: 0; background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); text-align: left; color: #fff; }
.wh-e img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wh-e::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .85)); pointer-events: none; }
.wh-e.k-text { background: linear-gradient(160deg, var(--wa), var(--wb)); color: #0b0a12; }
.wh-e.k-text::after { background: linear-gradient(180deg, transparent 62%, rgba(255, 255, 255, .18)); }
.wh-e q { position: absolute; inset: 14px 14px 52px; display: flex; align-items: center; overflow: hidden; font: 800 19px / 1.12 var(--d); quotes: none; white-space: pre-line; overflow-wrap: anywhere; }
.wh-e.k-text .wh-et small { color: rgba(11, 10, 18, .72); }
.wh-et small svg { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
.wh-chk { position: absolute; z-index: 1; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; font: 700 11px var(--f); color: #fff; background: rgba(0, 0, 0, .55); }
.wh-chk svg { width: 12px; height: 12px; }
.wh-soon { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 14px; font: 700 14px var(--f); color: var(--text2); background: rgba(255, 255, 255, .06); }
.wh-soon svg { width: 16px; height: 16px; }
.wh-empty { display: grid; justify-items: center; gap: 6px; margin-top: 18px; padding: 26px 20px; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wh-empty b { margin-top: 6px; font: 850 18px var(--f); }
.wh-empty span:last-child { font: 500 14px / 1.45 var(--f); color: var(--muted); }
.wh-ic.sm { width: 46px; height: 46px; border-radius: 15px; }
.wh-ic.sm svg { width: 24px; height: 24px; }
.wh-et { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; display: grid; gap: 1px; }
.wh-et b { font: 800 14px / 1.2 var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-et small { font: 500 12px var(--f); color: rgba(255, 255, 255, .72); }
.wh-ep { position: absolute; z-index: 1; right: 10px; top: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.wh-ep svg { width: 14px; height: 14px; margin-left: 2px; color: #fff; }
.wh-dares, .wc-dares { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wh-dc { position: relative; display: grid; align-content: start; gap: 6px; padding: 14px; border-radius: 18px; border: 0; text-align: left; color: #fff; background: radial-gradient(140% 120% at 0% 0%, color-mix(in srgb, var(--wa) 18%, transparent), transparent 60%), rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); transition: transform .2s var(--spring), box-shadow .2s; }
.wh-dc:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 60%, transparent); }
.wh-dc b { font: 850 16px / 1.15 var(--f); }
.wh-dc > span:not(.wh-dcm):not(.wh-tag) { font: 500 13px / 1.4 var(--f); color: var(--muted); }
.wh-dcm { margin-top: 4px; }
.wh-dc.today { grid-column: 1 / -1; box-shadow: inset 0 0 0 1.5px var(--wa); }
.wh-dc.soon { opacity: .5; }
.wh-dc.soon:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }

/* What do you want to make? */
.wc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.wc-t { display: grid; justify-items: center; gap: 8px; padding: 16px 6px 13px; border-radius: 18px; border: 0; color: #fff; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .2s var(--spring), background .2s; }
.wc-t:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .07); }
.wc-t.soon { opacity: .45; }
.wc-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 12px 28px -12px var(--wa); }
.wc-ic svg { width: 31px; height: 31px; color: #fff; stroke-width: 2.1; }
.wc-t b { font: 850 14.5px var(--f); }
/* worlds whose studio isn't in the app yet (Talent until the video studio) */
.wd-soon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wd-soon span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wd-soon i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; opacity: .7; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.wd-soon i svg { width: 17px; height: 17px; color: #fff; }
.wd-soon b { font: 800 14px var(--f); color: var(--text2); }
.wd-soon small { font: 650 12px var(--f); color: var(--muted); }
.wc-t small { font: 600 11.5px var(--f); color: var(--muted); }
.wc-first { color: #1a1205; padding: 2px 7px; border-radius: 999px; background: linear-gradient(115deg, #ffe08a, #f4c55c); }
.wc-head { display: grid; justify-items: center; gap: 10px; }
.wc-head h4 { margin: 0; font-size: 22px; }
.wc-dares { margin: 14px 0; }

/* the viewer: a world's entries, one screen each (above the tab bar, under sheets and toasts) */
html.w-lock, html.w-lock body { overflow: hidden; }
.wv { position: fixed; inset: 0; z-index: 58; background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--wa) 22%, transparent), transparent 70%), #050507; opacity: 0; transition: opacity .25s var(--ease); touch-action: manipulation; }
.wv.on { opacity: 1; }
.wv-sc { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: 0; }
.wv-sc::-webkit-scrollbar { display: none; }
.wv-c { position: relative; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.wv-st { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 80% at 0% 100%, color-mix(in srgb, var(--wb) 26%, transparent), transparent 60%), radial-gradient(100% 70% at 100% 0%, color-mix(in srgb, var(--wa) 24%, transparent), transparent 60%), #0a0910; }
.wv-c.k-text .wv-st { padding: calc(env(safe-area-inset-top) + 70px) 22px 190px; }
.wv-sh { position: absolute; inset: auto 0 0; height: 46%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); }
.wv-c.k-text .wv-sh { height: 30%; }
.wv-top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top) + 12px) 14px 12px; pointer-events: none; }
.wv-top > * { pointer-events: auto; }
.wv-x { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; color: #fff; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wv-x svg { width: 18px; height: 18px; }
.wv-w { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 5px; margin: 0 auto; border-radius: 999px; border: 0; font: 800 14px var(--f); color: #fff; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wv-w i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.wv-w i svg { width: 15px; height: 15px; color: #fff; }
.wv-mk { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; font: 800 13.5px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); }
.wv-mk svg { width: 15px; height: 15px; }
.wv-info { position: absolute; z-index: 2; left: 16px; right: 84px; bottom: calc(env(safe-area-inset-bottom) + 22px); display: grid; justify-items: start; gap: 10px; }
.wv-dare { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; border: 0; font: 800 13px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); }
.wv-dare span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-dare svg { flex: none; width: 15px; height: 15px; }
.wv-by { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 0; border: 0; background: none; color: #fff; text-align: left; }
.wv-by b { font: 800 16px var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.wv-ai { flex: none; padding: 2px 7px; border-radius: 6px; font: 800 10.5px var(--f); font-style: normal; letter-spacing: .06em; color: #0b0a12; background: #fff; }
.wv-cap { max-width: 34ch; font: 500 15px / 1.4 var(--f); color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); overflow-wrap: anywhere; }
.wv-rev { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; font: 650 12.5px var(--f); color: #fff; background: rgba(0, 0, 0, .55); }
.wv-rev svg { width: 14px; height: 14px; }
.wv-rail { position: absolute; z-index: 2; right: 10px; bottom: calc(env(safe-area-inset-bottom) + 22px); display: grid; gap: 14px; justify-items: center; }
.wv-a { display: grid; justify-items: center; gap: 4px; width: 60px; padding: 0; border: 0; background: none; color: #fff; font: 700 12px var(--f); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.wv-a svg { box-sizing: content-box; width: 24px; height: 24px; padding: 11px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .25s var(--spring); }
.wv-a:active svg { transform: scale(.88); }
.wv-a.on svg { color: #ff2d6f; background: rgba(255, 255, 255, .92); }
.wv-a.pop svg { animation: wvPop .45s var(--spring); }
@keyframes wvPop { 40% { transform: scale(1.25); } }
.wv-heart { position: absolute; z-index: 4; width: 110px; height: 110px; margin: -55px 0 0 -55px; pointer-events: none; animation: wvHeart .9s var(--ease) forwards; }
.wv-heart svg { width: 100%; height: 100%; color: #ff2d6f; filter: drop-shadow(0 10px 30px rgba(255, 45, 111, .55)); }
@keyframes wvHeart { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 25% { transform: scale(1.1) rotate(4deg); opacity: 1; } 60% { transform: scale(1) rotate(0); opacity: 1; } 100% { transform: scale(1.2) translateY(-60px); opacity: 0; } }

/* the photo kind's picture in the viewer: whole by default, filling the screen when it has nearly its shape */
.kp-img { width: 100%; height: 100%; object-fit: contain; }
.kp-img.fill { object-fit: cover; }

/* the text kind's card: the words big on the world's colours (in the studio, the viewer and the share page) */
.kt-card { display: grid; place-items: center; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; padding: clamp(22px, 6vw, 40px); border-radius: 28px; color: #0b0a12; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(150deg, var(--wa), var(--wb)); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--wa) 80%, transparent); }
.wv .kt-card { max-height: 100%; }
.kt-card q { display: block; max-height: 100%; overflow: hidden; font: 800 var(--kt, 44px) / 1.08 var(--d); letter-spacing: -.01em; quotes: none; text-align: center; white-space: pre-line; overflow-wrap: anywhere; transition: font-size .2s var(--ease); }
.kt-xl { --kt: clamp(36px, 10vw, 54px); }
.kt-lg { --kt: clamp(30px, 8.2vw, 44px); }
.kt-md { --kt: clamp(25px, 6.6vw, 34px); }
.kt-sm { --kt: clamp(21px, 5.4vw, 28px); }
.kt-xs { --kt: clamp(18px, 4.6vw, 23px); }
.kt-card.ph q { opacity: .42; }
.kt-in { position: relative; display: block; margin-top: 14px; }
.kt-in textarea { display: block; width: 100%; min-height: 96px; padding: 14px 16px 30px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); resize: none; font: 500 16px / 1.45 var(--f); color: #fff; background: rgba(255, 255, 255, .05); outline: 0; transition: border-color .2s; }
.kt-in textarea:focus { border-color: color-mix(in srgb, var(--wa) 70%, transparent); }
.kt-n { position: absolute; right: 14px; bottom: 9px; font: 650 12px var(--f); color: var(--muted); }
.kt-n.hot { color: var(--wa); }
.wsr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the photo kind's studio */
.kp-pick { position: relative; display: grid; place-items: center; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; cursor: pointer; background: radial-gradient(90% 70% at 50% 30%, color-mix(in srgb, var(--wa) 20%, transparent), transparent 70%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); }
.kp-pick input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.kp-ph { display: grid; justify-items: center; gap: 6px; padding: 20px; text-align: center; }
.kp-ph svg { width: 54px; height: 54px; padding: 15px; box-sizing: content-box; border-radius: 26px; color: #fff; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 16px 40px -14px var(--wa); }
.kp-ph b { margin-top: 8px; font: 850 19px var(--f); }
.kp-ph small { font: 500 13.5px var(--f); color: var(--muted); }
.kp-pick img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #000; }
.kp-pick.has { box-shadow: none; }
.kp-pick.has .kp-ph { visibility: hidden; }
.kp-re { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font: 750 13px var(--f); color: #fff; background: rgba(0, 0, 0, .6); }
.kp-re svg { width: 15px; height: 15px; }
.kp-pick.busy::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: wdSpin .8s linear infinite; }
.kp-cap { display: block; margin-top: 14px; }
.kp-cap input { width: 100%; height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); font: 500 16px var(--f); color: #fff; background: rgba(255, 255, 255, .05); outline: 0; }
.kp-cap input:focus { border-color: color-mix(in srgb, var(--wa) 70%, transparent); }
.kp-ok { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 4px 2px; font: 500 14px / 1.45 var(--f); color: var(--text2); cursor: pointer; }
.kp-ok input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--wa); }

/* the studio: one screen to make an entry, Post at the bottom */
.wst { position: fixed; inset: 0; z-index: 58; display: flex; flex-direction: column; background: radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--wa) 20%, transparent), transparent 70%), #07060c; opacity: 0; transform: translateY(18px); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.wst.on { opacity: 1; transform: none; }
.wst-top { display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top) + 12px) 14px 8px; }
.wst-top .wst-w { margin: 0 auto; transform: translateX(-26px); }
.wst-x { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; color: #fff; background: rgba(255, 255, 255, .08); }
.wst-x svg { width: 18px; height: 18px; }
.wst-w { display: inline-flex; align-items: center; gap: 8px; font: 800 15px var(--f); }
.wst-w i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.wst-w i svg { width: 16px; height: 16px; color: #fff; }
.wst-sc { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 18px 24px; }
.wst-sc > * { max-width: 520px; margin-left: auto; margin-right: auto; }
.wst-dare { margin-bottom: 16px; }
.wst-dare h2 { margin-top: 8px; font: 900 clamp(28px, 7.4vw, 40px) / .98 var(--d); letter-spacing: -.02em; }
.wst-dare p { margin-top: 6px; font: 500 15px / 1.45 var(--f); color: var(--text2); }
.wst-body { display: grid; justify-items: center; }
.wst-body > label, .wst-body > .kt-card { width: 100%; }
.wst-bot { padding: 12px 18px calc(env(safe-area-inset-bottom) + 14px); background: linear-gradient(180deg, transparent, rgba(7, 6, 12, .9) 30%); }
.wst-go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 520px; height: 56px; margin: 0 auto; border: 0; border-radius: 18px; font: 850 17px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); box-shadow: 0 18px 40px -16px var(--wa); transition: opacity .2s, transform .2s var(--spring); }
.wst-go svg { width: 19px; height: 19px; }
.wst-go:disabled { opacity: .38; box-shadow: none; }
.wst-go:not(:disabled):active { transform: scale(.98); }
.wst-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(11, 10, 18, .25); border-top-color: #0b0a12; animation: wdSpin .8s linear infinite; }

/* duels (js/worlds.js W.duel): A vs B in the world's colours, the vote, the reveal, the crown */
.wh-go2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 54px; padding: 0 18px; border-radius: 16px; border: 0; font: 850 15px var(--f); color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 55%, transparent); }
.wh-go2 svg { width: 18px; height: 18px; color: var(--wa); }
.wv-duel { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; font: 850 14px var(--f); color: #0b0a12; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); animation: wvNudge 2.4s var(--ease) 1.2s 2; }
.wv-duel svg { width: 17px; height: 17px; color: #0b0a12; }
@keyframes wvNudge { 0%, 100% { transform: none; } 50% { transform: scale(1.05); } }
.wdl { position: fixed; inset: 0; z-index: 58; background: radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--wa) 26%, transparent), transparent 70%), radial-gradient(70% 50% at 50% 100%, color-mix(in srgb, var(--wb) 18%, transparent), transparent 70%), #07060c; opacity: 0; transition: opacity .25s var(--ease); }
.wdl.on { opacity: 1; }
.wdl-sc { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: calc(env(safe-area-inset-top) + 72px) 16px calc(env(safe-area-inset-bottom) + 30px); }
.wdl-sc > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.wdl-hd { display: grid; justify-items: center; gap: 8px; text-align: center; }
.wdl-hd h2 { font: 900 clamp(34px, 8.6vw, 60px) / .92 var(--d); letter-spacing: -.025em; }
.wdl-hd p { max-width: 30ch; font: 800 clamp(17px, 4.4vw, 22px) / 1.2 var(--d); color: color-mix(in srgb, var(--wa) 60%, #fff); }
.wdl-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; align-items: start; }
.wdl-x { position: absolute; z-index: 3; left: 50%; top: calc((min(760px, 100vw - 32px) - 12px) * .3125 - 26px); transform: translateX(-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font: 900 18px var(--d); color: #0b0a12; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 0 0 5px #07060c, 0 14px 34px -10px var(--wa); }
.wdl-s { display: grid; gap: 8px; justify-items: center; min-width: 0; }
.wdl-st { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #0c0b12; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wdl-st[data-dlzoom] { cursor: zoom-in; }
.wdl-st .kp-img { object-fit: cover; }
.wdl-st .kt-card, .wdl-zoom .kt-card { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; padding: 12px; border-radius: 0; box-shadow: none; }
.wdl-st .kt-card q { font-size: clamp(14px, 3.9vw, 26px); }
/* the VS badge sits between the two: the words keep clear of it on the inner side */
.wdl-vs > .wdl-s:first-child .wdl-st .kt-card { padding-right: 28px; }
.wdl-vs > .wdl-s:last-child .wdl-st .kt-card { padding-left: 28px; }
.wdl-q { display: grid; place-items: center; height: 100%; font: 900 clamp(56px, 14vw, 110px) var(--d); color: rgba(255, 255, 255, .16); }
.wdl-s.my .wdl-st { box-shadow: 0 0 0 3px var(--wa); }
.wdl-s.win .wdl-st { box-shadow: 0 0 0 3px #ffd36b, 0 24px 60px -24px #ffd36b; }
.wdl-crown { position: absolute; z-index: 2; left: 50%; top: 10px; transform: translateX(-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #2a1c02; background: linear-gradient(160deg, #fff2b8, #f4c55c); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
.wdl-crown svg { width: 22px; height: 22px; }
.wdl-who { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 15px var(--f); }
.wdl-bar { display: block; width: 100%; height: 8px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.wdl-bar i { display: block; width: var(--w); height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--wa), var(--wb)); transition: width 1s var(--ease); }
.wdl.reveal .wdl-bar i { width: 0; transition: none; }
.wdl-n { font: 750 13px var(--f); color: var(--text2); }
.wdl-vote { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 50px; border: 0; border-radius: 14px; font: 850 15px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); transition: transform .2s var(--spring); }
.wdl-vote:active { transform: scale(.97); }
.wdl-vote svg { width: 17px; height: 17px; }
.wdl-acts { display: grid; justify-items: center; gap: 10px; margin-top: 24px; }
.wdl-acts .wh-go { flex: none; width: min(420px, 100%); }
.wdl-note { max-width: 36ch; text-align: center; font: 500 14px / 1.5 var(--f); color: var(--muted); }
.wdl-no { border: 0; background: none; font: 650 14px var(--f); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.wdl-zoom { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: calc(env(safe-area-inset-top) + 64px) 16px 24px; background: rgba(0, 0, 0, .94); cursor: zoom-out; }
.wdl-zoom > * { width: 100%; max-width: 560px; max-height: 100%; }
.wdl-zoom .kp-img { object-fit: contain; height: auto; max-height: calc(100vh - 120px); }
.wdl-zoom .kt-card { aspect-ratio: 4 / 5; height: auto; border-radius: 26px; }
.wdl-zoom .wdl-crown { display: none; }
.wdc-row { grid-auto-columns: 46%; }
.wdc { display: grid; gap: 6px; padding: 8px 8px 10px; border: 0; border-radius: 18px; text-align: left; color: #fff; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--wa) 16%, transparent), transparent 60%), rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); scroll-snap-align: start; }
.wdc-p { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.wdc-p > span { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: linear-gradient(150deg, var(--wa), var(--wb)); }
.wdc-p img { width: 100%; height: 100%; object-fit: cover; }
.wdc-p q { padding: 6px; font: 800 11px / 1.1 var(--d); color: #0b0a12; quotes: none; text-align: center; overflow: hidden; }
.wdc-q { font: 900 30px var(--d); color: rgba(11, 10, 18, .4); }
.wdc-p > span:first-child q { padding-right: 14px; }
.wdc-p > span:nth-child(2) q { padding-left: 14px; }
.wdc-p i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 900 11px var(--d); font-style: normal; color: #0b0a12; background: #fff; box-shadow: 0 0 0 3px #0e0d15; }
.wdc b { padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 13px var(--f); }
.wdc small { padding: 0 2px; font: 700 12px var(--f); color: var(--muted); }
.wdc small.hot { color: color-mix(in srgb, var(--wa) 75%, #fff); }

/* in the studio the card and the photo frame leave room for the field under them on every screen */
.wst-body .kt-card, .wst-body .kp-pick { aspect-ratio: auto; height: clamp(260px, 52vh, 560px); }
/* the worlds' marks (sprite i-wm-*): solid glyphs on tiles with depth: light on the top edge, the world's glow under it */
.wd-ic, .wh-ic, .wc-ic, .wd-nr i, .wv-w i, .wst-w i, .wd-soon i { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -3px 8px rgba(0, 0, 0, .14), 0 12px 28px -12px var(--wa); }
.wd-ic svg, .wh-ic svg, .wc-ic svg, .wd-nr i svg, .wv-w i svg, .wst-w i svg, .wd-soon i svg { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .22)); }
.wd-ic svg { width: 29px; height: 29px; }
.wd-t.sm .wd-ic svg { width: 23px; height: 23px; }
.wh-ic svg { width: 35px; height: 35px; }
.wc-ic svg { width: 35px; height: 35px; }
.wh-bg { opacity: .09; }
.wh-bg svg { width: 300px; height: 300px; }

/* the desktop panel (js/app.js panel; js/worlds.js W.panel, W.panelDares) */
.pjoin { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 13px; border: 0; border-radius: 999px; font: 750 14.5px var(--f); color: #fff; background: linear-gradient(120deg, rgba(124, 92, 255, .32), rgba(255, 45, 135, .32)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .2s var(--spring), background .2s; }
.pjoin:hover { transform: translateY(-1px); background: linear-gradient(120deg, rgba(124, 92, 255, .48), rgba(255, 45, 135, .48)); }
.pjoin svg { width: 18px; height: 18px; color: #fff; }
.panel .vibes { font-size: 19px; }
.panel .vibes .coin { width: 22px; height: 22px; font-size: 22px; }
.rise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.rg { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; padding: 0; border: 0; border-radius: 14px; text-align: left; color: #fff; background: #111; }
.rg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.rg:hover img { transform: scale(1.06); }
.rg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 28%, transparent 46%, rgba(0, 0, 0, .9)); }
.rg i { position: absolute; z-index: 1; left: 8px; top: 4px; font: 900 19px var(--d); font-style: normal; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.rg-c { position: absolute; z-index: 1; right: 6px; top: 6px; padding: 2px 6px; border-radius: 999px; font: 800 10.5px var(--f); background: rgba(0, 0, 0, .58); }
.rg-c.up { color: #5dffb0; }
.rg-c.down { color: #ff8a98; }
.rg b { position: absolute; z-index: 1; left: 7px; right: 7px; bottom: 20px; overflow-wrap: anywhere; font: 750 12px/1.2 var(--f); }
.rg small { position: absolute; z-index: 1; left: 7px; right: 7px; bottom: 6px; overflow-wrap: anywhere; font: 600 10.5px var(--f); color: rgba(255, 255, 255, .72); }
.pdd-list { display: grid; gap: 8px; margin-top: 4px; }
.pdd { display: grid; grid-template-columns: 40px minmax(0, 1fr) 15px; align-items: center; gap: 11px; width: 100%; padding: 10px 12px 10px 10px; border: 0; border-radius: 16px; text-align: left; color: #fff; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--wa) 26%, transparent), transparent 60%), rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .2s var(--spring), box-shadow .2s; }
.pdd:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 60%, transparent); }
.pdd > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 22px -12px var(--wa); }
.pdd > i svg { width: 23px; height: 23px; color: #fff; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .22)); }
.pdd b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 750 14px/1.25 var(--f); }
.pdd small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12px var(--f); color: var(--muted); }
.pdd > svg { width: 15px; height: 15px; color: var(--muted); }
.pw { display: grid; gap: 14px; padding: 16px; border-radius: 20px; background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--wa) 30%, transparent), transparent 65%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pw-hd { display: flex; align-items: center; gap: 12px; }
.pw-hd > i { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 26px -12px var(--wa); }
.pw-hd > i svg { width: 28px; height: 28px; color: #fff; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .22)); }
.pw-hd b { display: block; font: 900 25px/1 var(--d); }
.pw-hd small { display: block; margin-top: 4px; font: 500 12.5px/1.35 var(--f); color: var(--text2); }
.pw-me { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pw-me div { padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .28); }
.pw-me b { display: block; font: 900 24px/1.05 var(--d); }
.pw-me span { font: 600 12px var(--f); color: var(--muted); }
.pw-how { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.pw-how li { display: flex; align-items: center; gap: 10px; font: 650 13.5px var(--f); color: var(--text2); }
.pw-how i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; font: 900 13px var(--d); font-style: normal; color: #0b0a12; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.pw-others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 4px; }
.pw-others button { display: flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 10px 0 5px; border: 0; border-radius: 12px; text-align: left; font: 700 13px var(--f); color: #fff; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.pw-others button:hover { background: rgba(255, 255, 255, .07); }
.pw-others i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.pw-others i svg { width: 17px; height: 17px; color: #fff; }
.pw-others span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 700px) {
  .wv-sc, .wv .wv-top { left: 50%; right: auto; width: min(560px, 100vw); transform: translateX(-50%); }
  .wdl .wv-top { left: 50%; right: auto; width: min(792px, 100vw); transform: translateX(-50%); }
  .wdc-row { grid-auto-columns: 30%; }
  .wv-c { border-left: 1px solid rgba(255, 255, 255, .06); border-right: 1px solid rgba(255, 255, 255, .06); }
}
@media (min-width: 900px) {
  .wh-hero { margin: -32px 0 0; border-radius: 0 0 30px 30px; padding: 30px 30px 80px; }
  .wh-row { grid-auto-columns: 28%; margin: 0; padding: 0 0 6px; }
  .wd-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .wd-glow, .wh-tag i, .wv-heart, .wv-a.pop svg, .wv-duel { animation: none; } .wv, .wst, .wdl, .wdl-bar i { transition: none; } }

/* battles (js/battles.js): pick the better one; each world in its own look (worlds/<id>/world.json "battle") */
.wbt { position: fixed; inset: 0; z-index: 58; background: radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--wa) 24%, transparent), transparent 70%), #07060c; opacity: 0; transition: opacity .25s var(--ease); }
.wbt.on { opacity: 1; }
.wbt-sc { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 64px) 14px calc(env(safe-area-inset-bottom) + 16px); }
.wbt-sc > * { width: 100%; max-width: 920px; margin-left: auto; margin-right: auto; }
.wbt-q { text-align: center; font: 900 clamp(26px, 6.4vw, 46px) / .95 var(--d); letter-spacing: -.02em; }
.wbt-n { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; font: 800 14px var(--f); color: #fff; background: rgba(0, 0, 0, .45); }
.wbt-n svg { width: 15px; height: 15px; color: var(--wa); }
.wbt-stage { position: relative; display: flex; flex: 1; flex-direction: column; min-height: 0; margin-top: 14px; transition: opacity .2s; }
.wbt-stage.wait { opacity: .35; }
.wbt-stage.in .wbt-c { animation: wbtIn .45s var(--spring) both; }
.wbt-stage.in .wbt-c:last-of-type { animation-delay: .07s; }
@keyframes wbtIn { from { transform: translateY(18px) scale(.97); opacity: 0; } }
.wbt-dare { display: inline-flex; align-self: center; align-items: center; gap: 6px; max-width: 100%; height: 32px; margin-bottom: 10px; padding: 0 12px; border-radius: 999px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 800 13px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); }
.wbt-dare svg { flex: none; width: 14px; height: 14px; }
.wbt-pair { position: relative; display: grid; flex: 1; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; }
.wbt-c { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: stretch; min-height: 0; overflow: hidden; padding: 0; border: 0; border-radius: 22px; text-align: left; color: #fff; background: #0c0b12; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); cursor: pointer; transition: transform .3s var(--spring), opacity .3s, box-shadow .3s; }
.wbt-c:hover { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--wa) 70%, transparent); }
.wbt-c:active { transform: scale(.985); }
.wbt-c.won { z-index: 1; transform: scale(1.02); box-shadow: 0 0 0 3px var(--wa), 0 24px 60px -20px var(--wa); }
.wbt-c.lost { opacity: .32; transform: scale(.97); }
.wbt-pic { position: relative; flex: 1; width: 100%; min-height: 0; }
.wbt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wbt-pic .kt-card { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.wbt-who { position: absolute; z-index: 1; left: 12px; bottom: 10px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 13.5px var(--f); text-shadow: 0 1px 8px rgba(0, 0, 0, .75); }
.wbt-res { position: absolute; z-index: 2; right: 10px; top: 10px; display: grid; justify-items: end; gap: 3px; }
.wbt-res b { padding: 4px 11px; border-radius: 999px; font: 900 16px var(--d); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); animation: wbtPop .4s var(--spring); }
.wbt-res small { padding: 2px 8px; border-radius: 999px; font: 700 11.5px var(--f); color: #fff; background: rgba(0, 0, 0, .62); animation: wbtPop .4s var(--spring) .1s both; }
@keyframes wbtPop { from { transform: scale(.4); opacity: 0; } }
.wbt-vs { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; font: 900 18px var(--d); color: #0b0a12; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 0 0 5px #07060c, 0 12px 30px -10px var(--wa); transition: opacity .2s; }
.wbt-stage.picked .wbt-vs { opacity: 0; }
.wbt-flash { position: absolute; inset: 0; z-index: 10; pointer-events: none; background: #fff; animation: wbtFlash .45s ease-out forwards; }
@keyframes wbtFlash { from { opacity: .85; } to { opacity: 0; } }
.wbt-p { position: fixed; z-index: 11; width: 30px; height: 30px; margin: -15px 0 0 -15px; pointer-events: none; animation: wbtP .9s var(--ease) forwards; }
.wbt-p svg { width: 100%; height: 100%; color: #fff; filter: drop-shadow(0 4px 10px var(--wa)); }
@keyframes wbtP { 0% { transform: translate(0, 0) scale(.3) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--r)); opacity: 0; } }
.wbt-done { display: grid; justify-items: center; gap: 10px; max-width: 380px; margin: auto; padding: 30px 20px; text-align: center; }
.wbt-done b { font: 900 26px / 1.05 var(--d); }
.wbt-done > span:not(.wh-ic) { font: 500 15px / 1.45 var(--f); color: var(--text2); }
.wbt-done .wh-go { flex: none; width: 100%; margin-top: 8px; }
/* polaroid (Pets): tilted instant photos with their caption */
.look-polaroid .wbt-c { padding: 10px 10px 36px; border-radius: 6px; color: #2a2118; background: #f6f1e7; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.look-polaroid .wbt-c:first-child { transform: rotate(-1.6deg); }
.look-polaroid .wbt-c:last-of-type { transform: rotate(1.4deg); }
.look-polaroid .wbt-c.won { transform: rotate(0) scale(1.03); box-shadow: 0 0 0 4px var(--wa), 0 24px 60px -20px var(--wa); }
.look-polaroid .wbt-c.lost { transform: rotate(0) scale(.96); }
.look-polaroid .wbt-pic { overflow: hidden; border-radius: 2px; }
.wbt-cap { position: absolute; left: 12px; right: 12px; bottom: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 13px var(--f); color: #2a2118; }
.look-polaroid .wbt-who { display: none; }
/* lookbook (Style): tall magazine cards, side by side */
.look-lookbook .wbt-pair { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.look-lookbook .wbt-c { border-radius: 4px; }
.look-lookbook .wbt-who { font: 900 14px var(--d); letter-spacing: .14em; text-transform: uppercase; }
/* frame (AI Studio): gallery frames, the dare as a plaque */
.look-frame .wbt-c { padding: 12px; border-radius: 4px; background: linear-gradient(145deg, #2b2440, #120f1c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 20px 50px -20px rgba(0, 0, 0, .9); }
.look-frame .wbt-pic { overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.wbt-plaque { align-self: center; max-width: 34ch; margin-top: 10px; padding: 8px 14px; border-radius: 4px; text-align: center; font: 600 13px / 1.4 var(--f); color: #e2d9b8; background: #1b1710; box-shadow: inset 0 0 0 1px #6b5a2c; }
/* chat (Humour): the dare comes in as a message, the two answers are the replies */
.look-chat .wbt-stage { justify-content: center; }
.wbt-in { display: flex; margin-bottom: 16px; }
.look-chat .wbt-pair { flex: none; grid-template-rows: none; gap: 16px; }
.look-chat .wbt-c { display: grid; justify-items: end; gap: 5px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.look-chat .wbt-c:hover, .look-chat .wbt-c.won { box-shadow: none; transform: none; }
.wbt-bub { position: relative; max-width: 86%; padding: 12px 16px; border-radius: 22px 22px 6px 22px; white-space: pre-line; overflow-wrap: anywhere; font: 800 clamp(17px, 4.6vw, 23px) / 1.25 var(--d); color: #0b0a12; background: linear-gradient(135deg, var(--wa), var(--wb)); box-shadow: 0 14px 30px -16px var(--wa); transition: box-shadow .3s; }
.wbt-bub.in { border-radius: 22px 22px 22px 6px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; }
.look-chat .wbt-c:hover .wbt-bub { box-shadow: 0 0 0 2px rgba(255, 255, 255, .6), 0 14px 30px -16px var(--wa); }
.look-chat .wbt-c.won .wbt-bub { box-shadow: 0 0 0 3px #fff, 0 18px 40px -14px var(--wa); }
.look-chat .wbt-who { position: static; font: 700 12px var(--f); color: var(--muted); text-shadow: none; }
.look-chat .wbt-res { position: static; display: flex; gap: 6px; }
.look-chat .wbt-vs { display: none; }
/* paper (Words): two notes */
.wbt-note { position: relative; display: grid; align-content: center; gap: 10px; height: 100%; padding: 18px 20px; border-radius: 6px; color: #2b2320; background: linear-gradient(180deg, #fff7ee, #f6e9da); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.wbt-note q { overflow: hidden; quotes: none; white-space: pre-line; overflow-wrap: anywhere; font: 700 clamp(16px, 4.4vw, 22px) / 1.35 var(--d); }
.look-paper .wbt-c { overflow: visible; background: none; box-shadow: none; }
.look-paper .wbt-c:first-child .wbt-note { transform: rotate(-1deg); }
.look-paper .wbt-c:last-of-type .wbt-note { transform: rotate(.8deg); }
.look-paper .wbt-c.won .wbt-note { box-shadow: 0 0 0 3px var(--wa), 0 24px 60px -20px var(--wa); }
.look-paper .wbt-who { position: static; font: 700 12px var(--f); color: #8a7568; text-shadow: none; }
/* the world home's way in: two posts, VS, Vote */
.wh-bt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 12px 14px 12px 12px; border: 0; border-radius: 20px; text-align: left; color: #fff; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--wa) 24%, transparent), transparent 60%), rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 45%, transparent); transition: transform .2s var(--spring); }
.wh-bt:hover { transform: translateY(-2px); }
.wh-btp { position: relative; display: grid; grid-template-columns: 46px 46px; gap: 4px; }
.wh-btp > span { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 9px; background: linear-gradient(150deg, var(--wa), var(--wb)); }
.wh-btp img { width: 100%; height: 100%; object-fit: cover; }
.wh-btp q { padding: 4px; overflow: hidden; quotes: none; text-align: center; font: 800 8.5px / 1.1 var(--d); color: #0b0a12; }
.wh-btp i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; transform: translate(-50%, -50%); font: 900 10px var(--d); font-style: normal; color: #0b0a12; background: #fff; box-shadow: 0 0 0 3px #0e0d15; }
.wh-btt b { display: block; font: 850 16px / 1.2 var(--f); }
.wh-btt small { display: block; margin-top: 3px; font: 500 13px / 1.35 var(--f); color: var(--muted); }
.wh-btgo { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font: 850 14px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); }
.wh-btgo svg { width: 15px; height: 15px; }
@media (min-width: 700px) {
  .wbt-pair { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 16px; }
  .look-chat .wbt-pair { grid-template-columns: none; }
}
@media (prefers-reduced-motion: reduce) { .wbt-p, .wbt-flash, .wbt-stage.in .wbt-c, .wbt-res b, .wbt-res small { animation: none; } }

/* DNA across the worlds (js/dna.js): the flower of your worlds, their tabs, a world's own aura and traits */
.fl-hero { position: relative; display: grid; justify-items: center; padding: 6px 0 4px; text-align: center; }
.fl-wrap { width: min(300px, 80vw); aspect-ratio: 1; }
.fl-wrap svg { width: 100%; height: 100%; overflow: visible; }
.fl-p { transform-origin: 50% 50%; transform-box: view-box; animation: flGrow .9s var(--spring) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes flGrow { from { transform: scale(.2) rotate(-24deg); opacity: 0; } }
.fl-hero .tag { margin-top: 4px; }
.fl-hero h2 { margin: 4px 0; font: 900 clamp(28px, 7.4vw, 38px) / 1 var(--d); letter-spacing: -.02em; }
.fl-hero p { max-width: 330px; margin: 0 0 6px; font: 500 14px / 1.45 var(--f); color: var(--text2); }
.fl-tabs { display: flex; gap: 8px; margin: 14px -18px 0; padding: 4px 18px 8px; overflow-x: auto; scrollbar-width: none; }
.fl-tabs::-webkit-scrollbar { display: none; }
.fl-tabs button { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 5px; border: 0; border-radius: 999px; font: 750 13.5px var(--f); color: var(--text2); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.fl-tabs button[aria-selected="true"] { color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); box-shadow: none; }
.fl-tabs i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.fl-tabs button[aria-selected="true"] i { background: rgba(255, 255, 255, .32); }
.fl-tabs i svg { width: 17px; height: 17px; color: #fff; }
.fl-slot.dnax { padding: 0; }
.wdx.dx-hero::before { background: radial-gradient(circle, color-mix(in srgb, var(--wa) 34%, transparent), transparent 66%); }
.wdx.dx-hero h2 { background-image: linear-gradient(100deg, var(--wa), var(--wb)); }
.wdx .dx-bar i { background: linear-gradient(90deg, var(--wa), var(--wb)); }
.wdx .dx-tr.top .dx-trh span { background-image: linear-gradient(90deg, var(--wa), var(--wb)); }
.wdx-cell q { display: grid; place-items: center; aspect-ratio: 1; padding: 10px; overflow: hidden; border-radius: 12px; quotes: none; text-align: center; font: 800 13px / 1.15 var(--d); color: #0b0a12; background: linear-gradient(150deg, var(--wa), var(--wb)); }
.wdx-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.wdx-acts .btn svg { width: 16px; height: 16px; }
.wdna-art { width: 100%; height: 100%; }
.wdna-live { transform-origin: 50% 50%; transform-box: view-box; animation: wdnaBreath 6s ease-in-out infinite; }
@keyframes wdnaBreath { 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .fl-p, .wdna-live { animation: none; } }

/* a world's Vibe Map (js/wmap.js): a sky of posts to fly through, in the world's colours */
.wmap { position: fixed; inset: 0; z-index: 58; overflow: hidden; background: radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, .55), transparent 70%), radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, .5), transparent 70%), radial-gradient(1.5px 1.5px at 86% 64%, rgba(255, 255, 255, .45), transparent 70%), radial-gradient(1px 1px at 28% 82%, rgba(255, 255, 255, .4), transparent 70%), radial-gradient(1px 1px at 54% 46%, rgba(255, 255, 255, .35), transparent 70%), radial-gradient(60% 50% at 50% 50%, color-mix(in srgb, var(--wa) 18%, transparent), transparent 72%), #05040a; opacity: 0; transition: opacity .3s var(--ease); }
.wmap.on { opacity: 1; }
.wmap-sky { position: absolute; inset: 0; touch-action: none; cursor: grab; }
.wmap-sky:active { cursor: grabbing; }
.wmap-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.wmap-s { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: #111; box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 calc(var(--s) * .55) color-mix(in srgb, var(--c, var(--wa)) 65%, transparent); transition: transform .3s var(--spring), box-shadow .3s; }
.wmap-s:hover { z-index: 2; transform: scale(1.15); }
.wmap-s img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wmap-s q { display: grid; place-items: center; width: 100%; height: 100%; padding: 9%; overflow: hidden; quotes: none; text-align: center; font: 800 calc(var(--s) * .12) / 1.1 var(--d); color: #0b0a12; background: linear-gradient(150deg, var(--wa), var(--wb)); }
.wmap-s.k-text { border-radius: 22%; }
.wmap-s.mine { box-shadow: 0 0 0 3px #fff, 0 0 calc(var(--s) * .6) var(--wa); }
.wmap-s.ping { animation: wmPing 1s var(--ease); }
@keyframes wmPing { 30% { transform: scale(1.4); } }
.wmap-lab { position: absolute; z-index: 3; padding: 7px 13px; border-radius: 999px; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; font: 800 15px var(--f); color: #fff; background: rgba(8, 7, 14, .82); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 65%, transparent), 0 8px 24px -8px rgba(0, 0, 0, .8); }
.wmap-hint { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 18px); max-width: calc(100% - 32px); padding: 9px 14px; border-radius: 999px; transform: translateX(-50%); pointer-events: none; text-align: center; font: 600 13px var(--f); color: var(--text2); background: rgba(0, 0, 0, .55); }
.wmap .wbt-done { position: absolute; inset: 0; height: max-content; margin: auto; }
.wh-map { position: absolute; z-index: 2; right: 18px; top: 22px; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; font: 800 13.5px var(--f); color: #fff; background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.wh-map svg { width: 17px; height: 17px; color: #fff; }
@media (prefers-reduced-motion: reduce) { .wmap-s.ping { animation: none; } }

/* the profile by world (js/profile.js): Friends under the stats, the flower card, world chips over Posts, a post from a
   world in the grid, the duel record */
.pf-friends { display: flex; align-items: center; gap: 8px; width: calc(100% - 36px); margin: 10px 18px 0; padding: 0 14px; height: 44px; border: 0; border-radius: 14px; font: 700 14px var(--f); color: var(--text2); background: var(--s1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.pf-friends svg:first-child { width: 17px; height: 17px; color: var(--text2); }
.pf-friends svg:last-child { width: 15px; height: 15px; margin-left: auto; color: var(--muted); }
.pf-wdna .pd-art svg { overflow: visible; }
.pf-wdna .tag { color: color-mix(in srgb, var(--wa) 70%, #fff); }
.pf-wchips { display: flex; gap: 8px; margin: 0 0 12px; padding: 2px 18px 4px; overflow-x: auto; scrollbar-width: none; }
.pf-wchips::-webkit-scrollbar { display: none; }
.pf-wchips button { display: inline-flex; flex: none; align-items: center; gap: 7px; height: 38px; padding: 0 13px 0 6px; border: 0; border-radius: 999px; font: 750 13px var(--f); color: var(--text2); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pf-wchips button:first-child, .pf-wchips button[data-pfw="reposts"] { padding-left: 13px; }
.pf-wchips button[aria-pressed="true"] { color: #0b0a12; background: #fff; box-shadow: none; }
.pf-wchips button[aria-pressed="true"][style] { background: linear-gradient(120deg, var(--wa), var(--wb)); }
.pf-wchips i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.pf-wchips button[aria-pressed="true"] i { background: rgba(255, 255, 255, .32); }
.pf-wchips i svg { width: 15px; height: 15px; color: #fff; }
.pf-wchips > button > svg { width: 15px; height: 15px; }
.pf-wchips em { font-style: normal; font-weight: 800; opacity: .6; }
.pf-ecell { background: linear-gradient(150deg, var(--wa, #7c5cff), var(--wb, #ff2d87)); }
.pf-ecell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-ecell q { position: absolute; inset: 10px 10px 38px; display: flex; align-items: center; overflow: hidden; quotes: none; white-space: pre-line; overflow-wrap: anywhere; font: 800 15px / 1.15 var(--d); color: #0b0a12; }
.pf-ecell:has(q)::after { background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .45)); }
.pf-wtag { position: absolute; z-index: 1; left: 8px; top: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(140deg, var(--wa, #7c5cff), var(--wb, #ff2d87)); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.pf-wtag svg { width: 15px; height: 15px; color: #fff; }
.pf-rec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 18px 14px; }
.pf-rec div { padding: 14px 8px; border-radius: 16px; text-align: center; background: var(--s1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.pf-rec div:first-child { background: linear-gradient(150deg, rgba(255, 211, 107, .22), rgba(255, 211, 107, .05)); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .3); }
.pf-rec b { display: block; font: 900 26px / 1 var(--d); }
.pf-rec span { font: 650 12px var(--f); color: var(--muted); }
.pf-dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 18px; }
@media (min-width: 700px) { .pf-dgrid { grid-template-columns: repeat(3, 1fr); } }

.ma-line { display: flex; align-items: center; gap: 10px; width: calc(100% - 36px); height: 46px; margin: 14px 18px 0; padding: 0 14px; border: 0; border-radius: 14px; font: 700 14px var(--f); color: var(--text2); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.ma-line svg:first-child { width: 17px; height: 17px; color: #ff2d87; }
.ma-line svg:last-child { width: 15px; height: 15px; margin-left: auto; color: var(--muted); }

/* the profile's footer links: a finger-sized target each (the profile is shorter now, so they show on the first screen) */
.pf-foot { gap: 4px 6px; }
.pf-foot a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 8px; border-radius: 10px; }

/* the hub's way into the Worlds feed (js/worlds.js W.feed): every world in one endless swipe */
.wd-feed { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; margin: 0 0 14px; padding: 16px; overflow: hidden; isolation: isolate; border: 0; border-radius: 24px; text-align: left; color: #fff; background: linear-gradient(120deg, rgba(124, 92, 255, .38), rgba(255, 45, 135, .3) 48%, rgba(34, 225, 255, .26)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 60px -30px rgba(124, 92, 255, .9); transition: transform .25s var(--spring); }
.wd-feed:hover { transform: translateY(-2px); }
.wd-feed::before { content: ""; position: absolute; inset: -60%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .14), transparent 28%); animation: wdSpin 7s linear infinite; }
.wd-fcol { position: relative; width: 90px; height: 56px; }
.wd-fcol i { position: absolute; top: 6px; left: calc(var(--k) * 15px); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 0 0 2.5px #17132a, 0 10px 20px -8px var(--wa); transform: rotate(calc(-8deg + var(--k) * 6deg)); }
.wd-fcol i svg { width: 23px; height: 23px; color: #fff; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .22)); }
.wd-ftx b { display: block; font: 900 22px / 1.05 var(--d); }
.wd-ftx small { display: block; margin-top: 4px; font: 600 13px / 1.35 var(--f); color: rgba(255, 255, 255, .82); }
.wd-fgo { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .6); }
.wd-fgo svg { width: 20px; height: 20px; margin-left: 3px; color: #0b0a12; }
.wv-w span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-w.flip { animation: wvFlip .45s var(--spring); }
@keyframes wvFlip { 40% { transform: scale(1.12); } }
.wv.mix { transition: opacity .25s var(--ease), background .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .wd-feed::before, .wv-w.flip { animation: none; } }

/* the video kind (js/kinds/video.js). In the viewer: whole by default, filling the screen when it has nearly its shape;
   a tap pauses (a big play mark), a line along the bottom shows how far it is, a pill asks for a tap while the browser
   keeps the sound off. In battles and duels it fills its box. */
.kv-vid { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.wv-st .kv-vid { object-fit: contain; background: transparent; }
.wv-st .kv-vid.fill { object-fit: cover; }
.wv-pz { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; opacity: 0; transform: scale(.7); transition: opacity .2s var(--ease), transform .3s var(--spring); }
.wv-pz svg { width: 34px; height: 34px; margin-left: 5px; }
.wv-c.paused .wv-pz { opacity: 1; transform: none; }
.wv-prog { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .14); pointer-events: none; }
.wv-prog i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--vp, 0)); background: linear-gradient(90deg, var(--wa), var(--wb)); transition: transform .26s linear; }
.wv-hush { position: absolute; z-index: 3; left: 50%; top: calc(env(safe-area-inset-top) + 66px); display: none; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; transform: translateX(-50%); font: 800 13.5px var(--f); color: #0b0a12; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); animation: wvHush 1.8s var(--ease) infinite; }
.wv-hush svg { width: 17px; height: 17px; }
.wv-c.hush .wv-hush { display: inline-flex; }
@keyframes wvHush { 50% { transform: translateX(-50%) scale(1.06); } }

/* the video studio: the camera (then the finished video) in a tall card; flip, record and pick along its bottom, a ring
   round the record button filling up to the world's longest, the time at the top, 3-2-1 big in the middle */
.kv-stage { position: relative; width: 100%; max-width: 440px; height: clamp(330px, 58vh, 640px); overflow: hidden; border-radius: 28px; isolation: isolate; background: radial-gradient(90% 70% at 50% 30%, color-mix(in srgb, var(--wa) 20%, transparent), transparent 70%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.kv-stage.cam, .kv-stage.done, .kv-stage.busy { background: #000; box-shadow: 0 30px 70px -40px var(--wa); }
.kv-stage [hidden] { display: none !important; }
.kv-live, .kv-play { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv-play { object-fit: contain; cursor: pointer; }
.kv-live.mirror { transform: scaleX(-1); }
.kv-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 20px 20px 120px; text-align: center; }
.kv-empty svg { width: 54px; height: 54px; padding: 15px; box-sizing: content-box; border-radius: 26px; color: #fff; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 16px 40px -14px var(--wa); }
.kv-empty b { margin-top: 8px; font: 850 19px var(--f); }
.kv-empty small { font: 500 13.5px var(--f); color: var(--muted); }
.kv-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.kv-rec { display: grid; place-items: center; width: 78px; height: 78px; padding: 0; border-radius: 50%; border: 4px solid #fff; background: rgba(0, 0, 0, .2); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); cursor: pointer; }
.kv-rec i { display: block; width: 60px; height: 60px; border-radius: 50%; background: #ff2d55; transition: border-radius .25s var(--ease), transform .3s var(--spring); }
.kv-stage.rec .kv-rec i { border-radius: 10px; transform: scale(.5); }
.kv-flip, .kv-pick, .kv-again { position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; color: #fff; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.kv-flip svg, .kv-pick svg, .kv-again svg { width: 21px; height: 21px; }
.kv-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.kv-pick.kv-lab { display: inline-flex; gap: 8px; width: auto; height: 50px; padding: 0 20px; border-radius: 999px; font: 800 15px var(--f); color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); }
.kv-again { display: inline-flex; gap: 7px; width: auto; padding: 0 18px; border-radius: 999px; font: 800 14px var(--f); }
.kv-stage.done .kv-rec, .kv-stage.done .kv-flip, .kv-stage.busy .kv-bar { display: none; }
.kv-stage.rec .kv-flip, .kv-stage.rec .kv-pick { visibility: hidden; }
.kv-stage:not(.cam):not(.done) .kv-rec, .kv-stage:not(.cam):not(.done) .kv-flip { opacity: .35; pointer-events: none; }
.kv-ring { position: absolute; z-index: 4; left: 50%; bottom: 10px; width: 94px; height: 94px; margin-left: -47px; transform: rotate(-90deg); pointer-events: none; }
.kv-ring circle { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 5; }
.kv-ring .kv-prog { stroke: var(--wa); stroke-linecap: round; stroke-dasharray: 289.03px; stroke-dashoffset: calc(289.03px * (1 - var(--p, 0))); }
.kv-t { position: absolute; z-index: 4; left: 50%; top: 14px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; transform: translateX(-50%); font: 800 13.5px var(--f); font-variant-numeric: tabular-nums; color: #fff; background: rgba(0, 0, 0, .55); }
.kv-t i { width: 9px; height: 9px; border-radius: 50%; background: #ff2d55; animation: kvBlink 1s steps(2) infinite; }
.kv-stage.short .kv-t b { opacity: .65; }
@keyframes kvBlink { 50% { opacity: .2; } }
.kv-count { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; font: 900 120px / 1 var(--f); color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, .6); pointer-events: none; }
.kv-count.pop { animation: kvPop .8s var(--ease) both; }
@keyframes kvPop { 0% { transform: scale(1.6); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(.85); opacity: 0; } }
.kv-busy { position: absolute; z-index: 4; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font: 800 15px var(--f); color: #fff; background: rgba(0, 0, 0, .62); }
.kv-busy .wst-spin { width: 34px; height: 34px; border-color: rgba(255, 255, 255, .2); border-top-color: #fff; }
.pf-vid { position: absolute; z-index: 1; right: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.pf-vid svg { width: 12px; height: 12px; margin-left: 2px; color: #fff; }
@media (prefers-reduced-motion: reduce) { .wv-hush, .kv-t i { animation: none; } }

/* Today: the dare of the day in your world (js/engage.js) */
.eg-tdw { margin-bottom: 4px; }
.eg-tdwi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 10px 24px -12px var(--wa), inset 0 1px 0 rgba(255, 255, 255, .3); }
.eg-tdwi svg { width: 22px; height: 22px; }
.eg-tdw .eg-tdgo { color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); }
.eg-tdw.done { opacity: .75; }

/* the song of the day in the video studio (over the camera) and on a post in the viewer (a tap opens the hook) */
.kv-song { position: absolute; z-index: 4; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 16px; color: #fff; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.kv-song img { flex: none; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.kv-song > span { display: grid; min-width: 0; flex: 1; }
.kv-song b, .kv-song small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv-song b { font: 800 13.5px var(--f); }
.kv-song small { font: 600 12px var(--f); color: rgba(255, 255, 255, .7); }
.kv-song > svg { flex: none; width: 18px; height: 18px; color: var(--wa); }
.kv-stage.song .kv-t { top: 66px; }
.kv-stage.song .kv-empty { padding-top: 60px; }
.wv-song { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 32px; padding: 0 13px 0 4px; border-radius: 999px; border: 0; font: 700 13px var(--f); color: #fff; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wv-song i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(140deg, var(--wa), var(--wb)); animation: wvSpin 3.2s linear infinite; }
.wv-song i svg { width: 13px; height: 13px; color: #0b0a12; }
.wv-song span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes wvSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wv-song i { animation: none; } }
/* the profile's empty Posts line: its "drop your own" link gets a finger-sized hit area without moving the words */
.pf-empty .link { padding: 9px 3px; margin: -9px -3px; }

/* the worlds in the app's own pages (js/wx.js). A row of worlds to switch between (Charts) */
.wsw { display: flex; gap: 8px; margin: 0 -18px 4px; padding: 2px 18px 10px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.wsw::-webkit-scrollbar { display: none; }
.wsw-b { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px 0 5px; border-radius: 999px; border: 0; font: 750 13.5px var(--f); color: var(--text2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: background .2s, color .2s, transform .25s var(--spring); }
.wsw-b i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.wsw-b i svg { width: 17px; height: 17px; color: #fff; }
.wsw-b:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.wsw-b.on { color: #0b0a12; background: linear-gradient(120deg, var(--wa), var(--wb)); box-shadow: 0 12px 28px -14px var(--wa); }
.wsw-b.on i { background: rgba(255, 255, 255, .3); box-shadow: none; }
.wsw-b:active { transform: scale(.96); }

/* a world's chart: the podium (second, first, third), then the rows */
.wch-pod { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: 10px; margin: 8px 0 18px; }
.wch-p { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0; padding: 0 0 12px; border: 0; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--wa) 16%, transparent), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .3s var(--spring); }
.wch-p:hover { transform: translateY(-3px); }
.wch-p.p1 { padding-bottom: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--wa) 34%, transparent), color-mix(in srgb, var(--wb) 10%, transparent)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 60%, transparent), 0 26px 60px -30px var(--wa); }
.wch-pic { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px 22px 16px 16px; background: #0c0b12; }
.wch-pic img { width: 100%; height: 100%; object-fit: cover; }
.wch-pic.tx, .wch-th.tx { padding: 10px; color: #0b0a12; background: linear-gradient(150deg, var(--wa), var(--wb)); }
.wch-pic q { font: 800 13px / 1.25 var(--f); quotes: none; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.wch-v { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); }
.wch-v svg { width: 11px; height: 11px; margin-left: 2px; }
.wch-md { display: grid; place-items: center; width: 30px; height: 30px; margin-top: -17px; z-index: 1; border-radius: 50%; font: 900 14px var(--f); color: #0b0a12; background: linear-gradient(160deg, #e9edf5, #9aa3b5); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .7); }
.wch-p.p1 .wch-md { width: 36px; height: 36px; margin-top: -20px; background: linear-gradient(160deg, #fff2bf, #f4c55c 60%, #d99a2b); }
.wch-p.p1 .wch-md svg { width: 19px; height: 19px; }
.wch-p.p3 .wch-md { background: linear-gradient(160deg, #f3c9a3, #b9784a); }
.wch-p b { max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 13.5px var(--f); }
.wch-p small { max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 11.5px var(--f); color: var(--muted); }
.wch-st { display: inline-flex; align-items: center; gap: 4px; font: 750 12px var(--f); color: var(--text2); white-space: nowrap; }
.wch-st svg { width: 13px; height: 13px; color: #ff2d6f; }
.wch-st em { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-style: normal; }
.wch-st em svg { color: #f4c55c; }
.wch-list { display: grid; }
.wch-r { display: grid; grid-template-columns: 30px 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: inherit; background: none; }
.wch-r:hover .wch-tx b { color: #fff; }
.wch-who { grid-template-columns: 30px 44px minmax(0, 1fr) auto; }
.wch-n { font: 800 15px var(--f); color: var(--muted); text-align: center; }
.wch-n.top { color: #f4c55c; }
.wch-th { position: relative; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 14px; background: #0c0b12; }
.wch-th img { width: 100%; height: 100%; object-fit: cover; }
.wch-th q { font: 800 8.5px / 1.2 var(--f); quotes: none; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wch-th .wch-v { right: 3px; top: 3px; width: 18px; height: 18px; }
.wch-th .wch-v svg { width: 8px; height: 8px; }
.wch-tx { display: grid; gap: 2px; min-width: 0; }
.wch-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 750 14.5px var(--f); color: var(--text); }
.wch-tx small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12.5px var(--f); color: var(--muted); }
.wch-cta { display: grid; gap: 10px; margin: 18px 0 8px; }
.wh-bt-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 16px; border: 0; font: 800 14.5px var(--f); color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 55%, transparent); }
.wh-bt-go svg { width: 18px; height: 18px; color: var(--wa); }
.wch-empty { display: grid; justify-items: center; gap: 8px; margin: 18px 0; padding: 30px 20px; border-radius: 24px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--wa) 14%, transparent), transparent); }
.wch-empty b { margin-top: 6px; font: 850 18px var(--f); }
.wch-empty > span:not(.wh-ic) { font: 500 14px var(--f); color: var(--muted); }
.wch-empty .wh-go { flex: none; width: min(280px, 100%); margin-top: 8px; }
@media (max-width: 360px) { .wch-pod { gap: 6px; } .wch-p b { font-size: 12.5px; } }

/* Battles: the world pill next to the league chip, and the sheet of worlds to battle in */
.wb-pill svg:first-child { width: 14px; height: 14px; }
.wbp-sub { margin: -4px 0 14px; font: 500 14px var(--f); color: var(--muted); }
.wbp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wbp-t { position: relative; display: grid; justify-items: start; gap: 2px; min-width: 0; padding: 10px 12px 12px; border: 0; border-radius: 20px; text-align: left; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--wa, #7c5cff) 26%, rgba(255, 255, 255, .04)), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .25s var(--spring); }
.wbp-t:hover { transform: translateY(-2px); }
.wbp-t.on { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.wbp-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; width: 100%; margin-bottom: 8px; }
.wbp-vs i { font: italic 900 11px var(--f); color: rgba(255, 255, 255, .8); }
.wbp-pic { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #0c0b12; }
.wbp-pic img { width: 100%; height: 100%; object-fit: cover; }
.wbp-pic.tx { padding: 5px; color: #0b0a12; background: linear-gradient(150deg, var(--wa), var(--wb)); }
.wbp-pic q { font: 800 8px / 1.15 var(--f); quotes: none; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wbp-pic .wch-v { display: none; }
.wbp-i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.wbp-i.music { background: linear-gradient(140deg, #ff2d87, #7c5cff); }
.wbp-i svg { width: 16px; height: 16px; color: #fff; }
.wbp-t b { margin-top: 4px; font: 800 15px var(--f); }
.wbp-t small { font: 600 12px var(--f); color: var(--muted); }
.wbp-t[data-wbmusic] { justify-content: start; align-content: end; min-height: 100%; }

/* the Vibe Map: a row of the worlds' own maps */
.vm-wrow { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; }
.vm-wrow::-webkit-scrollbar { display: none; }
.vm-wrow > span { flex: none; font: 800 10.5px var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vm-wchip i { display: grid; place-items: center; width: 20px; height: 20px; margin-left: -5px; border-radius: 50%; background: linear-gradient(140deg, var(--wa), var(--wb)); }
.vm-wchip i svg { width: 12px; height: 12px; color: #fff; }

/* the Crate and Liked: the posts from the worlds under the hooks */
.pf-wsec { margin-top: 14px; }
.pf-wsh { display: flex; align-items: center; gap: 8px; padding: 6px 14px 10px; }
.pf-wsh svg { width: 16px; height: 16px; color: var(--muted); }
.pf-wsh b { font: 800 14.5px var(--f); }
.pf-wsh span { padding: 2px 8px; border-radius: 999px; font: 750 11.5px var(--f); color: var(--text2); background: rgba(255, 255, 255, .08); }

/* the viewer's Save: gold once kept */
.wv-a.svd svg { color: #1a1205; background: linear-gradient(160deg, #fff2bf, #f4c55c); }

/* a world nobody has posted in yet: a dashed ring (its chart, battle tile or map opens its home) */
.wsw-b.new i, .vm-wchip.new i { background: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 80%, transparent); }
.wsw-b.new i svg, .vm-wchip.new i svg { color: var(--wa); }
.wsw-b.new.on i { background: rgba(255, 255, 255, .3); box-shadow: none; }
.wsw-b.new.on i svg { color: #fff; }
.wbp-t.soon { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.wbp-t.soon .wbp-pic.tx { color: var(--wa); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 45%, transparent); font: 900 18px var(--f); }
.wbp-t.soon .wbp-pic svg { width: 20px; height: 20px; }
.wbp-t.soon small { color: var(--wa); }

/* ---------------------------------------------------------------- text posts: dark cards lit by their world
   (the owner 4. 11.: "zakaj je cel page rumen? a je to top za user experience?"). A world's colours are a glow, a hairline
   and the quote mark, never the whole card, so a world's page isn't a wall of one colour and the words read first. Every
   place a text post shows (home rows, viewer, studio, profile, charts, battles, duels, DNA, map) uses the same card. */
.wh-e.k-text, .kt-card, .pf-ecell, .wd-cl q, .wdc-p > span, .wh-btp > span, .wdx-cell q, .wmap-s q, .wch-pic.tx, .wch-th.tx, .wbp-pic.tx {
  --tx-ink: #fff;
  color: var(--tx-ink);
  background:
    radial-gradient(120% 75% at 0% 0%, color-mix(in srgb, var(--wa, #7c5cff) 26%, transparent), transparent 62%),
    radial-gradient(110% 80% at 100% 100%, color-mix(in srgb, var(--wb, #ff2d87) 20%, transparent), transparent 64%),
    #14131c;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa, #7c5cff) 26%, rgba(255, 255, 255, .07));
}
.wh-e.k-text::after { background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .55)); }
.wh-e.k-text .wh-et small, .pf-ecell .wh-et small { color: rgba(255, 255, 255, .7); }
.pf-ecell q, .wdx-cell q, .wmap-s q { color: #fff; }
.pf-ecell:has(img) { background: #111; box-shadow: none; }
/* the quote mark in the world's colours */
.wh-e.k-text::before, .kt-card::before { content: "\201C"; position: absolute; z-index: 1; left: 12px; top: 2px; font: 900 64px / 1 var(--d); background: linear-gradient(140deg, var(--wa), var(--wb)); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; }
.kt-card { position: relative; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 30%, rgba(255, 255, 255, .08)), 0 30px 80px -34px color-mix(in srgb, var(--wa) 55%, transparent); }
.kt-card::before { left: clamp(18px, 5vw, 30px); top: clamp(8px, 2.4vw, 16px); font-size: clamp(84px, 20vw, 128px); }
.wh-e.k-text q { inset: 40px 14px 52px; }
/* a row isn't one card three times: every third one writes in the world's colours, every other one glows from below */
.wh-e.k-text:nth-child(3n + 2) { background: radial-gradient(120% 85% at 50% 110%, color-mix(in srgb, var(--wb) 30%, transparent), transparent 62%), #14131c; }
.wh-e.k-text:nth-child(3n) q { background: linear-gradient(140deg, color-mix(in srgb, var(--wa) 70%, #fff), color-mix(in srgb, var(--wb) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kt-card.ph q { color: rgba(255, 255, 255, .42); opacity: 1; }
/* the world's header: a glow, not a flood (its own photo goes behind it once the owner's images are in) */
.wh-hero { background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--wa) 34%, transparent), transparent 60%), radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--wb) 28%, transparent), transparent 60%), #0b0a12; }

/* ---------------------------------------------------------------- the worlds' own icons (the owner's matte 3D tiles:
   design/world-icons, cut into media/w). Every world badge is its tile; the glyph stays only as the faint mark in a
   world's header. A world nobody has posted in yet shows its tile dimmed. */
.wd-ic, .wd-nr i, .wh-ic, .wc-ic, .wd-soon i, .wv-w i, .wst-w i, .pdd > i, .pw-hd > i, .pw-others i, .fl-tabs i, .pf-wchips i, .wd-fcol i, .eg-tdwi, .wsw-b i, .wbp-i, .vm-wchip i, .pf-wtag { background: var(--wi) center / cover no-repeat !important; box-shadow: none !important; border-radius: 24%; }
.wh-ic, .wc-ic, .pw-hd > i, .eg-tdwi { background-image: var(--wil) !important; }
.wd-ic > svg, .wd-nr i > svg, .wh-ic > svg, .wc-ic > svg, .wd-soon i > svg, .wv-w i > svg, .wst-w i > svg, .pdd > i > svg, .pw-hd > i > svg, .pw-others i > svg, .fl-tabs i > svg, .pf-wchips i > svg, .wd-fcol i > svg, .eg-tdwi > svg, .wsw-b i > svg, .wbp-i > svg, .vm-wchip i > svg, .pf-wtag > svg { visibility: hidden; }
.wsw-b.new i, .vm-wchip.new i, .wd-nr i { opacity: .5; filter: saturate(.7); }
.wsw-b.new.on i { opacity: 1; filter: none; }
/* a text card's words start under its quote mark (long ones are cut at the bottom, never under the mark) */
.wh-e.k-text::before { font-size: 54px; top: 4px; }
.wh-e.k-text q { inset: 50px 14px 52px; align-items: flex-start; }

.wh-e.k-text q, .pf-ecell q { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }

/* a world's header: its own photo, fading in from the right (the faint big symbol gives way to it) */
.wh-ph { position: absolute; inset: 0; z-index: -1; background: right 28% / cover no-repeat; opacity: .62; -webkit-mask-image: linear-gradient(90deg, transparent 8%, rgba(0, 0, 0, .55) 42%, #000 78%), linear-gradient(0deg, transparent, #000 34%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 8%, rgba(0, 0, 0, .55) 42%, #000 78%), linear-gradient(0deg, transparent, #000 34%); mask-composite: intersect; }
.wh-hero:has(.wh-ph) .wh-bg { display: none; }

/* ---------------------------------------------------------------- every world its own card and reaction (js/worlds.js) */
/* the reaction in the rail: the world's emoji in a glass circle, a ring that fills with each level (1–5) */
.wv-rx .rx-e { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 24px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; text-shadow: none; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .25s var(--spring); }
.wv-rx .rx-e::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(var(--wa) calc(var(--lv, 0) * 20%), rgba(255, 255, 255, .14) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); transition: background .3s; }
.wv-rx.on .rx-e { background: color-mix(in srgb, var(--wa) 30%, rgba(0, 0, 0, .5)); }
.wv-rx:active .rx-e { transform: scale(.86); }
.wv-rx.rx-go .rx-e { animation: rxGo .42s var(--spring); }
@keyframes rxGo { 0% { transform: scale(.8); } 55% { transform: scale(1.28) rotate(-8deg); } 100% { transform: none; } }
.rx-p { position: absolute; z-index: 6; pointer-events: none; font: 30px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; transform: translate(-50%, -50%); animation: rxFly 1.1s cubic-bezier(.15, .7, .3, 1) both; }
.rx-p.max { font-size: 34px; }
@keyframes rxFly { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.25) rotate(var(--rot)); } }
.rx-max { position: absolute; z-index: 7; left: 50%; top: 42%; transform: translate(-50%, -50%); padding: 10px 20px; border-radius: 999px; pointer-events: none; font: 900 34px/1 var(--d); color: #fff; background: linear-gradient(115deg, var(--wa), var(--wb)); box-shadow: 0 20px 60px -14px var(--wa); animation: rxMax 1.3s var(--spring) both; }
@keyframes rxMax { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 75% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -70%) scale(.96); } }

/* Humour: the dare comes in as a message, the answer types itself (the dots, then the words) when the card is on */
.wv-c .hx { display: grid; gap: 14px; width: min(100%, 520px); align-content: center; }
.hx-in, .hx-out { max-width: 86%; padding: 14px 18px; border-radius: 24px; font: 800 clamp(20px, 5.6vw, 28px) / 1.2 var(--d); }
.hx-in { justify-self: start; border-bottom-left-radius: 8px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hx-in b { font-weight: 800; }
.hx-out { position: relative; justify-self: end; min-width: 80px; border-bottom-right-radius: 8px; color: #0b0a12; background: linear-gradient(135deg, var(--wa), var(--wb)); box-shadow: 0 18px 40px -18px var(--wa); font-size: clamp(22px, 6.4vw, 34px); }
.hx-out p { margin: 0; }
.hx-dots { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 6px; border-radius: inherit; background: inherit; }
.hx-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(11, 10, 18, .7); animation: hxDot 1s infinite; }
.hx-dots i:nth-child(2) { animation-delay: .15s; } .hx-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hxDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.wv-c.play .hx-out { animation: hxIn .4s var(--spring) .45s both; }
.wv-c.play .hx-dots { display: flex; animation: hxFade .25s ease 1.3s forwards; }
.wv-c.play .hx-out p { opacity: 0; animation: hxShow .45s ease 1.4s forwards; }
@keyframes hxIn { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes hxFade { to { opacity: 0; visibility: hidden; } }
@keyframes hxShow { to { opacity: 1; } }

/* Pets: a polaroid (a tap on it is a boop) */
.wv-c .pz { position: relative; width: min(86%, 440px); padding: 14px 14px 0; border-radius: 6px; background: #f6f2ea; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .06); transform: rotate(-2deg); }
.wv-c .pz .kp-img { position: static; display: block; width: 100%; height: auto; max-height: 56vh; object-fit: cover; border-radius: 2px; }
.pz-cap { margin: 0; padding: 12px 6px 16px; font: 700 20px/1.2 var(--d); color: #2b2620; text-align: center; overflow-wrap: anywhere; }
.wv-c.w-pets .wv-st { cursor: pointer; }

/* Photo: the loupe that follows the pointer on a computer */
.wv-loupe { position: absolute; z-index: 4; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; pointer-events: none; background-repeat: no-repeat; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wa), 0 20px 50px -10px rgba(0, 0, 0, .8); }
.w-photo .kp-img { cursor: zoom-in; }

/* Dance: half speed, mirrored, to learn the moves */
.wv-learn { position: absolute; z-index: 3; left: 14px; top: calc(env(safe-area-inset-top) + 70px); display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; color: #fff; font: 700 13px var(--f); background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.wv-learn b { font: 900 14px var(--d); color: var(--wa); }
.wv-c.learn .wv-learn { color: #0b0a12; background: var(--wa); }
.wv-c.learn .wv-learn b { color: #0b0a12; }
.wv-c.learn video.kv-vid { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .rx-p, .rx-max, .wv-rx.rx-go .rx-e, .wv-c.play .hx-out, .hx-dots i { animation: none !important; } .wv-c.play .hx-out p { opacity: 1; animation: none; } .wv-c.play .hx-dots { display: none; } }

/* Style: a lookbook page (a thin white edge, the look's style label), Steal the look under the name */
.wv-c .lb { position: relative; display: grid; width: min(88%, 460px); padding: 8px; background: #fff; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.wv-c .lb .kp-img { position: static; display: block; width: 100%; height: auto; max-height: 60vh; object-fit: cover; }
.lb-tag { position: absolute; left: 18px; top: 18px; padding: 6px 12px; font: 900 12px var(--f); letter-spacing: .18em; text-transform: uppercase; color: #fff; background: linear-gradient(115deg, var(--wa), var(--wb)); }
.wv-steal { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; font: 750 13px var(--f); color: #0b0a12; background: #fff; }
.wv-steal svg { width: 16px; height: 16px; }
/* Skills: the replay */
.wv-c.replay::after { content: "SLOW-MO"; position: absolute; z-index: 3; right: 16px; top: calc(env(safe-area-inset-top) + 112px); padding: 6px 12px; font: 900 13px var(--d); letter-spacing: .2em; color: #0b0a12; background: var(--wa); animation: rpBlink .8s steps(2) infinite; }
.wv-c.replay .wv-st { box-shadow: inset 0 0 120px 30px rgba(0, 0, 0, .55); }
@keyframes rpBlink { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .wv-c.replay::after { animation: none; } }

/* ---------------------------------------------------------------- making it (phase 3) */
.wc-head { position: relative; width: 100%; }
.wc-other { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; font: 700 12.5px var(--f); color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.wc-other svg { width: 15px; height: 15px; }
/* the best answers in the studio */
.wst-best { display: grid; gap: 8px; width: 100%; margin: 4px 0 6px; }
.wst-bk { display: inline-flex; align-items: center; gap: 6px; font: 800 11.5px var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--wa); }
.wst-bk svg { width: 14px; height: 14px; }
.wst-bl { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.wst-bl::-webkit-scrollbar { display: none; }
.wst-bc { flex: none; display: grid; place-items: center; width: 92px; height: 116px; overflow: hidden; padding: 8px; border-radius: 14px; background: #14131c; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 30%, transparent); }
.wst-bc img { width: calc(100% + 16px); height: calc(100% + 16px); margin: -8px; object-fit: cover; }
.wst-bc q { quotes: none; font: 800 12.5px / 1.25 var(--d); text-align: center; color: #fff; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
/* the first time in a world's studio */
.wst-intro { position: absolute; z-index: 20; inset: 0; display: grid; place-items: center; background: rgba(5, 5, 7, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.wst-intro.on { opacity: 1; }
.wsi-in { display: grid; justify-items: center; gap: 16px; padding: 24px; text-align: center; transform: translateY(14px); transition: transform .45s var(--spring); }
.wst-intro.on .wsi-in { transform: none; }
.wsi-ic { width: 84px; height: 84px; border-radius: 24%; background: center / cover no-repeat; box-shadow: 0 18px 44px -14px var(--wa); }
.wsi-in > b { font: 900 34px / 1 var(--d); }
.wsi-in ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.wsi-in li { display: flex; align-items: center; gap: 12px; font: 700 16px / 1.3 var(--f); }
.wsi-in li i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; font: 900 16px var(--d); font-style: normal; color: var(--wink, #0b0a12); background: linear-gradient(135deg, var(--wa), var(--wb)); }
.wsi-in li:nth-child(1) { animation: wsiIn .4s var(--spring) .15s both; } .wsi-in li:nth-child(2) { animation: wsiIn .4s var(--spring) .35s both; } .wsi-in li:nth-child(3) { animation: wsiIn .4s var(--spring) .55s both; }
@keyframes wsiIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
/* posted: you're in the battle */
.wps { display: grid; justify-items: center; gap: 10px; text-align: center; }
.wps-ic { width: 76px; height: 76px; border-radius: 24%; background: center / cover no-repeat; box-shadow: 0 18px 44px -14px var(--wa); animation: wpsPop .55s var(--spring) both; }
@keyframes wpsPop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.wps-got { padding: 8px 16px; border-radius: 999px; font: 700 14px var(--f); color: #2a1c02; background: linear-gradient(160deg, #fff2bf, #f4c55c 60%, #d99a2b); }
.wps-got b { font: 900 18px var(--d); }
.wps-acts { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
.wps .btn.hot { color: var(--wink, #0b0a12); background: linear-gradient(115deg, var(--wa), var(--wb)); }
@media (prefers-reduced-motion: reduce) { .wps-ic, .wsi-in li { animation: none; } }

/* blind battles: the side's letter until you pick, then the name fades in */
.wbt-who.blind { letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.wbt-who.shown { animation: whoIn .45s ease both; }
@keyframes whoIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* the golden reaction */
.rx-gold { position: absolute; z-index: 8; left: 50%; top: 40%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 18px 26px; border-radius: 26px; pointer-events: none; color: #2a1c02; background: linear-gradient(160deg, #fff6cf, #f4c55c 55%, #c9871d); box-shadow: 0 0 0 3px rgba(255, 255, 255, .6), 0 30px 80px -20px rgba(244, 197, 92, .95); animation: rxGold 2.2s var(--spring) both; }
.rx-gold b { font: 56px / 1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.rx-gold span { font: 900 20px var(--d); letter-spacing: .02em; }
.rx-gold em { font: 900 16px var(--d); font-style: normal; }
@keyframes rxGold { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.4) rotate(-10deg); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(3deg); } 30% { transform: translate(-50%, -50%) scale(1) rotate(0); } 82% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -62%) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .rx-gold { animation: none; } }

/* I can do better: the pill next to the dare, and the swipe's reveal */
.wv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wv-beat { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 10px; border: 0; border-radius: 999px; font: 800 12.5px var(--f); color: var(--wink, #0b0a12); background: linear-gradient(115deg, var(--wa), var(--wb)); box-shadow: 0 10px 24px -12px var(--wa); }
.wv-beat svg { width: 15px; height: 15px; }
.wv-beatgo { position: absolute; z-index: 6; left: 0; top: 0; bottom: 0; width: 46%; display: grid; place-content: center; justify-items: center; gap: 10px; pointer-events: none; color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--wa) 85%, transparent), transparent); opacity: var(--bx, 0); transform: translateX(calc((var(--bx, 0) - 1) * 40%)); }
.wv-beatgo svg { width: 46px; height: 46px; transform: scale(calc(.6 + var(--bx, 0) * .5)); }
.wv-beatgo b { font: 900 20px var(--d); text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.wv-c.beat-ready .wv-beatgo b { color: #fff; }
.wv-c.beat-ready .wv-beatgo svg { animation: beatGo .4s var(--spring) infinite alternate; }
@keyframes beatGo { to { transform: scale(1.2) rotate(-8deg); } }

/* Quick judge (js/battles.js W.quick) */
.qj { position: fixed; z-index: 70; inset: 0; display: grid; grid-template-rows: auto auto 1fr; padding: calc(env(safe-area-inset-top) + 12px) 14px calc(env(safe-area-inset-bottom) + 16px); background: radial-gradient(70% 45% at 50% 40%, color-mix(in srgb, var(--wa, #7c5cff) 24%, transparent), transparent 70%), #07070b; opacity: 0; transition: opacity .25s, background .4s; }
.qj.on { opacity: 1; }
.qj-top { display: flex; align-items: center; gap: 12px; }
.qj-time { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--wa, #7c5cff) calc(var(--qp, 1) * 100%), rgba(255, 255, 255, .1) 0); }
.qj-time i { display: none; }
.qj-time::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #07070b; }
.qj-time b { position: relative; font: 900 22px var(--d); font-variant-numeric: tabular-nums; }
.qj-time { --qp: 1; }
.qj.hurry .qj-time b { color: #ff5470; animation: qjHurry .5s ease infinite alternate; }
@keyframes qjHurry { to { transform: scale(1.15); } }
.qj-n { margin-left: auto; font: 700 14px var(--f); color: var(--text2); }
.qj-n b { font: 900 26px var(--d); color: #fff; }
.qj-combo { min-height: 40px; display: flex; justify-content: center; align-items: center; gap: 8px; font: 800 13px var(--f); letter-spacing: .14em; text-transform: uppercase; color: #ffe39b; }
.qj-combo b { font: 900 30px var(--d); letter-spacing: 0; }
.qj-combo.go { animation: qjCombo .35s var(--spring); }
@keyframes qjCombo { from { transform: scale(1.5); } to { transform: none; } }
.qj-st { display: grid; align-content: center; gap: 14px; }
.qj-st.in .qj-vs { animation: wbcIn .3s var(--spring) both; }
.qj-w { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.qj-w img { width: 34px; height: 34px; border-radius: 24%; }
.qj-w b { font: 900 clamp(24px, 6.6vw, 34px) / 1 var(--d); }
.qj-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 560px); justify-self: center; min-height: 54vh; }
.qj-s { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: #14131c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .2s var(--spring); }
.qj-s:active { transform: scale(.96); }
.qj-s.won { box-shadow: inset 0 0 0 3px var(--wa); }
.qj-s:first-child .wbc-pic { padding-right: 32px; } .qj-s:last-child .wbc-pic { padding-left: 32px; }
.qj-end { display: grid; justify-items: center; gap: 8px; text-align: center; }
.qj-k { font: 900 14px var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--wa, #ffe39b); }
.qj-big { font: 900 120px / .9 var(--d); }
.qj-best, .qj-pay { padding: 6px 14px; border-radius: 999px; font: 800 14px var(--f); color: #2a1c02; background: linear-gradient(160deg, #fff2bf, #f4c55c 60%, #d99a2b); }
.qj-pay:empty { display: none; }
.qj-acts { display: flex; gap: 10px; margin-top: 10px; }
.wd-qj { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; margin: 4px 0 14px; padding: 14px 16px; border: 0; border-radius: 20px; text-align: left; color: #fff; background: linear-gradient(115deg, rgba(244, 197, 92, .16), rgba(255, 138, 61, .1)); box-shadow: inset 0 0 0 1px rgba(244, 197, 92, .3); }
.wd-qj b { display: block; font: 900 20px var(--d); }
.wd-qj small { font: 500 13px var(--f); color: var(--text2); }
.wd-qji { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #2a1c02; background: linear-gradient(160deg, #fff2bf, #f4c55c 60%, #d99a2b); }
.wd-qj > svg { width: 18px; height: 18px; opacity: .7; }
.wbc-qj { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; font: 800 13px var(--f); color: #2a1c02; background: linear-gradient(160deg, #fff2bf, #f4c55c 60%, #d99a2b); }
.wbc-qj svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .qj.hurry .qj-time b, .qj-combo.go, .qj-st.in .qj-vs { animation: none; } }

/* the studio names whom you're beating (I can do better, a rematch) */
.wst-vs { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 10px 13px; border-radius: 14px; font: 700 13.5px / 1.35 var(--f); color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 55%, transparent); }
.wst-vs svg { flex: none; width: 18px; height: 18px; color: var(--wa); }

/* the gift button on a post's rail: the dearest gift it got (js/worlds.js W.giftBtn) */
.wv-gift .gtok { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
.wv-gift.pop .gtok, .wv-gift.pop svg { animation: gPop .5s var(--spring); }
@keyframes gPop { 40% { transform: scale(1.35) rotate(-8deg); } }

/* friends on a post, where your post stands, the rainbow reaction of level 20 (js/worlds.js) */
.wv-fr { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; padding: 4px 11px 4px 4px; border: 0; border-radius: 999px; font: 600 12.5px var(--f); color: #fff; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wv-fr b { font-weight: 800; }
.wv-rank { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 2px; padding: 6px 12px 6px 10px; border-radius: 999px; font: 700 12.5px var(--f); color: #fff; background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 50%, transparent); }
.wv-rank svg { width: 15px; height: 15px; color: var(--wa); }
.wv-rank.top { color: #ffe39b; }
.wv-by .lvr { margin-right: 0; }
.rx-p.rb { filter: drop-shadow(0 0 7px hsl(var(--rh, 0) 100% 62%)) drop-shadow(0 0 2px hsl(var(--rh, 0) 100% 72%)); }
.wv-rx.rb.on .rx-e { filter: drop-shadow(0 0 6px #ff7ad1) drop-shadow(0 0 10px #7ad8ff); }

/* Battle Hour, leagues, the Hall of Fame, the mystery dare (js/worlds.js, src/wgame.js) */
.wch.bh { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; color: #fff; background: rgba(255, 70, 90, .14); box-shadow: inset 0 0 0 1px rgba(255, 90, 110, .45); }
.wch.bh svg { width: 15px; height: 15px; color: #ff6b7d; }
.wch.bh b { font: 800 12.5px var(--f); white-space: nowrap; }
.wch.bh.live { background: linear-gradient(115deg, #ff2d55, #ff7a3d); box-shadow: 0 8px 22px -10px #ff2d55; }
.wch.bh.live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: bhDot 1s ease-in-out infinite alternate; }
.wch.bh.live span { font: 800 12px var(--d); font-variant-numeric: tabular-nums; opacity: .92; }
@keyframes bhDot { to { opacity: .25; transform: scale(.7); } }
.eg-bh { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 16px; text-align: left; color: #fff; background: rgba(255, 70, 90, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 110, .35); }
.eg-bh.live { background: linear-gradient(115deg, rgba(255, 45, 85, .35), rgba(255, 122, 61, .25)); }
.eg-bhi { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(140deg, #ff2d55, #ff7a3d); }
.eg-bhi svg { width: 22px; height: 22px; }
.eg-bht { flex: 1; display: grid; gap: 2px; }
.eg-bht b { font: 800 14px var(--f); }
.eg-bht small { font: 600 12.5px var(--f); color: var(--text2); }
.eg-myst { display: inline-block; margin-top: 3px; font: 800 11px var(--f); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #ffe39b; }
.bhs-k { display: inline-flex; align-items: center; gap: 7px; font: 800 12px var(--d); letter-spacing: .16em; text-transform: uppercase; color: #ff6b7d; }
.bhs-k svg { width: 16px; height: 16px; }
.bhs h4 { margin-top: 6px; }
.bh-live, .bh-done, .bh-soon { display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 10px 12px; border-radius: 14px; font: 700 13.5px var(--f); background: rgba(255, 255, 255, .05); }
.bh-live { color: #fff; background: linear-gradient(115deg, rgba(255, 45, 85, .3), rgba(255, 122, 61, .2)); }
.bh-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff2d55; box-shadow: 0 0 0 4px rgba(255, 45, 85, .25); animation: bhDot 1s ease-in-out infinite alternate; }
.bh-list { display: grid; gap: 8px; margin: 8px 0 14px; }
.bh-r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px 8px 8px; border: 0; border-radius: 14px; text-align: left; color: #fff; background: rgba(255, 255, 255, .045); }
.bh-n { flex: none; width: 22px; font: 900 15px var(--d); text-align: center; color: var(--text2); }
.bh-r:first-child .bh-n { color: #ffd65c; }
.bh-th { flex: none; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.bh-th img { width: 100%; height: 100%; object-fit: cover; }
.bh-th q { padding: 3px; font: 700 7.5px / 1.15 var(--f); text-align: center; quotes: none; color: var(--text2); }
.bh-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bh-t b { overflow: hidden; font: 700 13.5px var(--f); white-space: nowrap; text-overflow: ellipsis; }
.bh-t small { overflow: hidden; font: 600 12px var(--f); white-space: nowrap; text-overflow: ellipsis; color: var(--text2); }
.bh-w { flex: none; display: inline-flex; align-items: center; gap: 4px; font: 800 13px var(--d); color: #ffe39b; }
.bh-w svg { width: 14px; height: 14px; }
.bh-w.wk { font: 700 12px var(--f); color: var(--text2); }
.bh-e { margin: 10px 0 14px; font: 600 13.5px / 1.45 var(--f); color: var(--text2); }
.bh-go { margin-top: 4px; }
.wh-lgw { margin: 0 0 14px; }
.wlg { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 18px; text-align: left; color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wlg-b { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: linear-gradient(140deg, #c98a4b, #7a4a22); }
.wlg-b svg { width: 22px; height: 22px; }
.wlg-b.big { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 8px; }
.wlg-b.big svg { width: 34px; height: 34px; }
.t1 .wlg-b { background: linear-gradient(140deg, #e9edf5, #8d95a8); color: #2b2f3a; }
.t2 .wlg-b { background: linear-gradient(140deg, #fff2bf, #f4c55c 50%, #c98f2b); color: #3a2a08; }
.t3 .wlg-b { background: linear-gradient(140deg, #d7fff6, #5fd3c4 50%, #2a8f8a); color: #0b2a28; }
.t4 .wlg-b { background: conic-gradient(#b8f2ff, #7ab8ff, #c9a6ff, #ffb8f0, #b8f2ff); color: #1d1240; }
.wlg-t { flex: 1; display: grid; gap: 2px; }
.wlg-t b { font: 800 15px var(--f); }
.wlg-t small { font: 600 12.5px var(--f); color: var(--text2); }
.wlg-e { display: inline-flex; align-items: center; gap: 4px; flex: none; font: 700 12px var(--f); color: var(--text2); }
.wlg-e svg { width: 14px; height: 14px; }
.wlgs { text-align: center; }
.wlg-l { display: grid; gap: 6px; margin: 14px 0 6px; padding: 0; list-style: none; text-align: left; }
.wlg-i { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.wlg-i.up { box-shadow: inset 3px 0 0 #4dffb8; }
.wlg-i.down { box-shadow: inset 3px 0 0 rgba(255, 107, 125, .7); }
.wlg-i.me { background: rgba(124, 92, 255, .18); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .5); }
.wlg-n { flex: none; width: 22px; font: 900 14px var(--d); text-align: center; color: var(--text2); }
.wlg-i b { flex: 1; min-width: 0; overflow: hidden; font: 700 14px var(--f); white-space: nowrap; text-overflow: ellipsis; }
.wlg-p { font: 800 14px var(--d); }
.wlg-sep { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 2px 0; font: 800 11px var(--f); letter-spacing: .12em; text-transform: uppercase; color: #4dffb8; }
.wlg-sep svg { width: 13px; height: 13px; }
.wd-hall svg:first-child { color: #ffd65c; }
.hall-pub { margin-top: 6px; }
.wh-dare.myst { text-align: center; }
.wh-mys { display: grid; justify-items: center; gap: 6px; width: 100%; margin: 10px 0 14px; padding: 18px 12px; border: 0; border-radius: 18px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--wa) 35%, #1a1626), #12101a); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 50%, transparent); }
.wh-mys b { font: 900 54px / 1 var(--d); color: var(--wa); animation: mysQ 1.6s ease-in-out infinite alternate; }
.wh-mys span { font: 700 13px var(--f); color: var(--text2); }
@keyframes mysQ { to { transform: rotate(-8deg) scale(1.08); } }
.wh-dare.flip { animation: mysFlip .3s ease-in both; }
@keyframes mysFlip { to { transform: rotateX(90deg); opacity: .4; } }
.qj-x2 { margin-right: 6px; padding: 2px 7px; border-radius: 8px; font: 900 12px var(--d); font-style: normal; color: #fff; background: linear-gradient(115deg, #ff2d55, #ff7a3d); }
@media (prefers-reduced-motion: reduce) { .wch.bh.live i, .bh-live i, .wh-mys b { animation: none; } }

/* creation (batch E): ideas, "already have one", the looks, the export, the long-press ring (js/worlds.js, js/kinds) */
.wst-idea { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 13px 7px 10px; border: 0; border-radius: 999px; font: 700 13px var(--f); color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 45%, transparent); }
.wst-idea svg { width: 16px; height: 16px; color: var(--wa); }
.wst-ideas { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.wst-ideas[hidden] { display: none; }
.wst-ideas span { padding: 7px 12px; border-radius: 12px; font: 600 13px / 1.3 var(--f); color: #fff; background: color-mix(in srgb, var(--wa) 18%, rgba(255, 255, 255, .04)); }
.wst-have { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font: 600 12.5px / 1.4 var(--f); color: var(--text2); }
.wst-have svg { flex: none; width: 15px; height: 15px; }
.wd-took svg { width: 13px; height: 13px; }
.kt-looks, .kp-frs { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 2px; }
.kt-lk, .kp-fr { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 8px; border: 0; border-radius: 999px; font: 700 12.5px var(--f); color: var(--text2); background: rgba(255, 255, 255, .06); }
.kt-lk.on, .kp-fr.on { color: #fff; background: color-mix(in srgb, var(--wa) 30%, rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1.5px var(--wa); }
.kt-lk i, .kp-fr i { width: 18px; height: 18px; border-radius: 6px; background: var(--wa); }
.lk-note i { background: #ffe58a; } .lk-meme i { background: #fff; box-shadow: inset 0 0 0 3px #0b0a12; } .lk-neon i { background: #0b0a12; box-shadow: 0 0 6px #ff3df2, inset 0 0 0 2px #ff3df2; }
.fr-none i { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); } .fr-polaroid i { background: #fff; } .fr-film i { background: #111; box-shadow: inset 0 0 0 2px #f2c14e; } .fr-gold i { background: linear-gradient(135deg, #fff2bf, #d99a2b); }
/* Humour's card styles: the text card and the chat */
.kt-card.wl-note, .hx.wl-note .hx-out { background: #ffe58a; color: #3a2a08; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); transform: rotate(-1.2deg); }
.kt-card.wl-meme, .hx.wl-meme .hx-out { background: #0b0a12; color: #fff; text-transform: uppercase; font-weight: 900; -webkit-text-stroke: 1px #000; text-shadow: 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000; box-shadow: inset 0 0 0 3px #fff; }
.kt-card.wl-neon, .hx.wl-neon .hx-out { background: #0b0a12; color: #ffd6fb; text-shadow: 0 0 6px #ff3df2, 0 0 18px #ff3df2; box-shadow: 0 0 0 2px #ff3df2, 0 0 26px -4px #ff3df2, inset 0 0 22px -8px #ff3df2; }
/* Photo's frames: in the studio's preview and on the stage */
.kp-pick[data-fr="polaroid"] img, .pfr-polaroid img, .pfr-polaroid .kp-img { padding: 12px 12px 46px; background: #fff; box-shadow: 0 22px 50px -20px rgba(0, 0, 0, .8); }
.kp-pick[data-fr="film"] img, .pfr-film img, .pfr-film .kp-img { padding: 22px 6px; background: repeating-linear-gradient(90deg, #111 0 14px, #f2c14e 14px 22px, #111 22px 36px) top / 100% 12px no-repeat, repeating-linear-gradient(90deg, #111 0 14px, #f2c14e 14px 22px, #111 22px 36px) bottom / 100% 12px no-repeat, #111; }
.kp-pick[data-fr="gold"] img, .pfr-gold img, .pfr-gold .kp-img { padding: 10px; background: linear-gradient(135deg, #fff2bf, #f4c55c 30%, #b8862b 60%, #fff2bf); box-shadow: 0 0 0 2px #7a5a1a, 0 22px 50px -18px rgba(0, 0, 0, .8); }
.pfr { display: contents; }
/* the export sheet */
.wx { margin-top: 12px; }
.wx-prog { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.wx-prog i { display: block; width: 8%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c5cff, #ff2d87); transition: width .3s; }
.wx-st { margin: 10px 0 0; font: 600 13px var(--f); color: var(--text2); }
.wx-pv { display: block; width: min(100%, 300px); max-height: 52vh; margin: 0 auto; border-radius: 18px; object-fit: contain; background: #000; }
.wx-acts { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.wx-acts .btn svg { width: 17px; height: 17px; }
.wx-tip { margin: 12px 0 0; font: 600 12.5px / 1.4 var(--f); color: var(--text2); text-align: center; }
/* the long-press ring (no system callout or text selection on a held post) */
.wv-st, .wv-st img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.wring { position: fixed; z-index: 120; width: 0; height: 0; pointer-events: none; }
.wr-c { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); animation: wrIn .2s ease-out both; }
.wr-a { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 3px; width: 70px; margin: -32px 0 0 -35px; transform: translate(var(--x), var(--y)); animation: wrPop .26s var(--spring) both; pointer-events: auto; }
.wr-a svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; color: #fff; background: rgba(20, 18, 30, .92); box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .15s, background .15s; }
.wr-a b { font: 700 11px var(--f); color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); white-space: nowrap; }
.wr-a.hot svg { transform: scale(1.18); background: linear-gradient(140deg, #7c5cff, #ff2d87); }
@keyframes wrPop { from { transform: translate(0, 0) scale(.4); opacity: 0; } }
@keyframes wrIn { from { transform: scale(.3); opacity: 0; } }

/* growth (batch F): creators to watch, crews, the music bridge (js/worlds.js) */
.wd-crs { margin-top: 4px; }
.wd-crl { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.wd-crl::-webkit-scrollbar { display: none; }
.wd-cr { flex: none; display: grid; justify-items: center; gap: 6px; width: 86px; padding: 0; border: 0; color: #fff; background: none; }
.wd-cr b { max-width: 86px; overflow: hidden; font: 700 12.5px var(--f); white-space: nowrap; text-overflow: ellipsis; }
.wd-cr small { display: inline-flex; align-items: center; gap: 4px; font: 800 12px var(--d); color: #ffe39b; }
.wd-cr small i { width: 16px; height: 16px; border-radius: 5px; background: center / cover no-repeat; }
.wd-cr small svg { width: 13px; height: 13px; }
.wcr-b { background: linear-gradient(140deg, var(--wa, #7c5cff), var(--wb, #ff2d87)) !important; color: var(--wink, #fff) !important; }
.wcr-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); }
.wcr-ic svg { width: 17px; height: 17px; }
.wcr-n { flex: none; font: 600 12px var(--f); color: var(--text2); }
.wcr-acts { display: flex; justify-content: center; gap: 10px; margin: 12px 0 4px; }
.wcr-acts .btn svg { width: 17px; height: 17px; }
.wcr-f { display: flex; gap: 8px; margin: 12px 0 0; }
.wcr-f input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 14px; font: 600 15px var(--f); color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wcr-leave { display: block; margin: 14px auto 0; padding: 6px 10px; border: 0; font: 600 13px var(--f); color: var(--text2); background: none; text-decoration: underline; }
.xchip.wbr svg { width: 14px; height: 14px; }
.wbr-i { background: linear-gradient(140deg, var(--wa), var(--wb)) !important; color: var(--wink, #0b0a12) !important; }
.sha small { display: block; font: 600 12px var(--f); color: var(--text2); }

/* the Voice world: the studio (js/kinds/audio.js) and a voice on the stage */
.ka { display: grid; gap: 12px; }
.ka-song { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa) 40%, transparent); }
.ka-song img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.ka-song span { display: grid; gap: 2px; min-width: 0; }
.ka-song b { overflow: hidden; font: 800 15px var(--f); white-space: nowrap; text-overflow: ellipsis; }
.ka-song small { font: 600 12.5px var(--f); color: var(--text2); }
.ka-tip { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 13px / 1.4 var(--f); color: var(--text2); }
.ka-tip svg { flex: none; width: 18px; height: 18px; color: var(--wa); }
.ka-stage { display: grid; justify-items: center; gap: 8px; padding: 22px 16px; border-radius: 22px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--wa) 22%, transparent), rgba(255, 255, 255, .03)); }
.ka-meter { width: 100%; height: 10px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.ka-meter i { display: block; width: 100%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--wa), var(--wb)); transform: scaleX(0); transform-origin: left; transition: transform .06s linear; }
.ka-meter i.hot { background: linear-gradient(90deg, var(--wa), #ff4d5e); }
.ka-time { font: 900 46px / 1 var(--d); font-variant-numeric: tabular-nums; }
.ka.cnt .ka-time { color: var(--wa); animation: kaCnt .7s ease-out infinite; }
@keyframes kaCnt { from { transform: scale(1.4); opacity: .4; } }
.ka-lim { font: 600 12px var(--f); color: var(--text2); }
.ka-bar { display: flex; justify-content: center; }
.ka-rec { display: grid; place-items: center; width: 78px; height: 78px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 4px #fff; }
.ka-rec i { width: 58px; height: 58px; border-radius: 50%; background: #ff3b5c; transition: all .2s; }
.ka.rec .ka-rec i { width: 28px; height: 28px; border-radius: 8px; }
.ka-rec:disabled { opacity: .6; }
.ka-review { display: flex; justify-content: center; gap: 10px; }
.ka-review[hidden] { display: none; }
.ka-review .btn svg { width: 17px; height: 17px; }
.ka-v { position: relative; display: grid; place-items: center; align-content: center; gap: 22px; width: 100%; height: 100%; min-height: 360px; overflow: hidden; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--wa) 35%, #16131f), #0b0a12); }
.ka-bg { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(30px) brightness(.45) saturate(1.3); }
.ka-pp { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border: 0; border-radius: 50%; color: var(--wink, #0b0a12); background: linear-gradient(140deg, var(--wa), var(--wb)); box-shadow: 0 20px 50px -14px var(--wa); }
.ka-pp svg { width: 40px; height: 40px; }
.ka-pp svg + svg, .ka-on .ka-pp svg:first-child { display: none; }
.ka-on .ka-pp svg + svg { display: block; }
.ka-bars { position: relative; display: flex; align-items: center; gap: 4px; height: 70px; }
.ka-bars i { width: 5px; height: calc(var(--h) * 70px); border-radius: 3px; background: rgba(255, 255, 255, .55); transform: scaleY(.35); transition: transform .3s; }
.ka-on .ka-bars i { animation: kaBar .9s ease-in-out var(--d) infinite alternate; background: #fff; }
@keyframes kaBar { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.ka-st { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font: 700 13px var(--f); color: #fff; background: rgba(0, 0, 0, .35); }
.ka-st svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .ka-on .ka-bars i, .ka.cnt .ka-time { animation: none; } }

/* seasons and sponsored dares (js/worlds.js, src/wgame.js) */
.wd-ssn { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, color-mix(in srgb, var(--sa) 40%, #16131f), color-mix(in srgb, var(--sb) 30%, #0f0d16)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sa) 45%, transparent); }
.wd-ssk { grid-column: 1 / -1; font: 800 11px var(--d); letter-spacing: .18em; text-transform: uppercase; color: var(--sa); }
.wd-ssn b { font: 900 22px / 1.1 var(--d); }
.wd-ssn small { grid-column: 1 / -1; font: 600 12.5px / 1.4 var(--f); color: rgba(255, 255, 255, .78); }
.wd-ssp { grid-column: 1; height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .12); align-self: center; }
.wd-ssp i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sa), var(--sb)); }
.wd-ssn em { font: 800 13px var(--d); font-style: normal; }
.wh-tag.sd { color: #ffe39b; }
.wh-sd { box-shadow: inset 0 0 0 1.5px rgba(255, 214, 92, .55); }
.sd-prize { display: flex; align-items: center; gap: 7px; font: 700 13.5px var(--f); color: #ffe39b; }
.sd-prize svg { width: 16px; height: 16px; }
.sd-url { text-decoration: none; }

/* Made with AI in the studios (photo, video, text) */
.kp-ai { display: inline-flex; align-items: center; gap: 9px; margin: 2px 0; font: 700 13.5px var(--f); color: var(--text2); }
.kp-ai input { width: 18px; height: 18px; accent-color: var(--wa); }
.kt-ai { margin: 10px 0 0; }

/* polish 1 */
.hall-pub { text-decoration: none; }
.wst-bc { position: relative; }
.wst-mic { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #0b0a12; background: var(--wa); }
.wst-mic svg { width: 13px; height: 13px; }
