/* The phone animation, shared by chat.jigsawapps.com and jigsawapps.com. Its own colours and the few small pieces it
   needs, so it looks the same on either site. */
.showcase { --paper: #ECEDEF; --card: #FFFFFF; --ink: #14161A; --graphite: #6B7078; --line: #DCDEE2; --cobalt: #2B50E0; --tint: #E8EEFD; --sky: #9DB2F5; color: var(--ink); }
.showcase .row { display: flex; align-items: center; gap: .6rem; }
.showcase .grow { flex: 1; min-width: 0; }
.showcase .glyph { width: 22px; height: 22px; flex: none; display: inline-block; }
.showcase .glyph svg, .showcase .chev svg { width: 100%; height: 100%; display: block; }
.showcase .face { box-shadow: none; margin: 0; font-style: normal; border-radius: 50%; background: var(--tone, var(--ink)); color: var(--ink); font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.showcase .gav { --size: 38px; width: var(--size); height: var(--size); flex: none; border-radius: 13px; display: inline-grid; place-items: center; background: var(--tone); font-size: calc(var(--size) * .52); }
@keyframes sc-settle { from { opacity: 0; translate: 0 14px; } }
/* The sign-in showcase: a plain chat, the ask, then the whole chat as its new self. */
.showcase { display: grid; gap: 1rem; justify-items: center; width: 100%; max-width: 300px; }
/* The screen is drawn at an iPhone's real size (393 x 852) and shrunk evenly into the phone, so nothing is squashed. */
.sc-device { width: 300px; height: 629px; padding: 11px; border-radius: 56px; background: #0E0F12; box-shadow: inset 0 0 0 2px #2B2E35, 0 30px 60px -20px rgba(20, 22, 26, .45), 0 12px 24px -12px rgba(20, 22, 26, .3); }
.sc-view { position: relative; width: 278px; height: 607px; border-radius: 45px; overflow: hidden; }
.sc-screen { --top: 54px; position: absolute; top: 0; left: 0; width: 393px; height: 852px; transform: scale(.7074); transform-origin: 0 0; overflow: hidden;
  background: var(--paper) radial-gradient(rgba(20, 22, 26, .13) 1px, transparent 1px) 0 0 / 18px 18px; font-size: 16px; }
.sc-view::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: rgba(20, 22, 26, .75); z-index: 4; }
.sc-status { position: absolute; inset: 0 0 auto; height: var(--top); display: flex; align-items: center; padding: 0 32px 0 44px; font-size: 17px; z-index: 3; }
.sc-status b { flex: 1; font-weight: 700; }
.sc-status .island { width: 124px; height: 36px; border-radius: 18px; background: #000; }
.sc-status .sig { flex: 1; display: flex; justify-content: flex-end; align-items: flex-end; gap: 2px; }
.sc-status .sig i { width: 4px; border-radius: 1px; background: currentColor; }
.sc-status .sig i:nth-child(1) { height: 6px; } .sc-status .sig i:nth-child(2) { height: 8px; } .sc-status .sig i:nth-child(3) { height: 10px; } .sc-status .sig i:nth-child(4) { height: 12px; }
.sc-status .sig em { margin-left: 6px; width: 25px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; box-shadow: inset 0 0 0 1.5px var(--paper), inset 0 0 0 12px currentColor; }
.sc-head { position: absolute; top: 0; left: 0; right: 0; padding-top: var(--top); height: calc(var(--top) + 58px); box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding-inline: 12px; background: rgba(236, 237, 239, .92); border-bottom: 1px solid var(--line); z-index: 2; color: var(--ink); }
.sc-head .chev svg { width: 22px; height: 22px; display: block; }
.sc-head .grow { display: grid; line-height: 1.25; }
.sc-head b { font-size: 16px; } .sc-head small { font-size: 13px; color: var(--graphite); }
.sc-head .gav.small { --size: 38px; border-radius: 13px; }
.sc-head .glyph { width: 32px; height: 32px; color: var(--cobalt); }
.sc-screen.dark .sc-status { color: #fff; }
.sc-screen.dark .sc-status .sig em { box-shadow: inset 0 0 0 1.5px #000, inset 0 0 0 12px #fff; }
.sc-screen.dark .sc-head { background: rgba(0, 0, 0, .35); color: #fff; border-color: rgba(255, 255, 255, .08); }
.sc-screen.dark .sc-head small { color: rgba(255, 255, 255, .65); } .sc-screen.dark .sc-head .glyph { color: #fff; }
.sc-view:has(.dark)::after { background: rgba(255, 255, 255, .8); }
.sc-plain, .sc-theme { position: absolute; inset: 0; padding: calc(var(--top) + 70px) 14px 34px; display: flex; flex-direction: column; gap: 10px; }
.sc-plain { justify-content: flex-end; }
.sc-plain .line { animation: sc-settle .42s cubic-bezier(.3, 1.4, .5, 1) both; }
.sc-theme { opacity: 0; transform: scale(1.04); transition: opacity .75s, transform .75s cubic-bezier(.2, .8, .2, 1); }
.sc-theme.in { opacity: 1; transform: none; }
.sc-approve { background: var(--tint); border: 1px solid #CFDAFA; border-radius: 18px; padding: 12px; display: grid; gap: 8px; font-size: 15px; }
.sc-approve .row { gap: 8px; }
.sc-approve .glyph { width: 22px; height: 22px; }
.sc-approve .faces .face { width: 24px; height: 24px; font-size: 10px; margin-right: -7px; box-shadow: 0 0 0 2px var(--tint); }
.sc-approve .faces { margin-right: 6px; }
.sc-approve span { font-size: 13px; font-weight: 700; color: var(--graphite); } .sc-approve span.done { color: #14703C; }
.said { display: flex; align-items: flex-end; gap: 6px; max-width: 86%; }
.said.mine { align-self: flex-end; }
.said .face { width: 24px; height: 24px; font-size: 10px; flex: none; }
.said .bub { background: #fff; border-radius: 18px 18px 18px 6px; padding: 8px 12px; font-size: 15px; line-height: 1.3; display: grid; }
.said .bub b { font-size: 11px; color: var(--graphite); }
.said.mine .bub { background: var(--cobalt); color: #fff; border-radius: 18px 18px 6px 18px; }
.sc-box { display: flex; align-items: center; gap: 8px; height: 40px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 4px 0 14px; color: #A2A7AF; font-size: 14px; flex: none; }
.sc-box span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-box i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-weight: 800; }
.sc-under { display: grid; gap: .6rem; justify-items: center; }
.sc-step { display: flex; justify-content: center; align-items: center; gap: .55rem; font-size: 1rem; color: var(--graphite); }
.sc-step i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.sc-step b { font-weight: 500; }
.sc-dots { display: flex; justify-content: center; gap: 6px; }
.sc-dots button { width: 6px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(20, 22, 26, .18); cursor: pointer; transition: width .2s; }
.sc-dots button.on { width: 18px; background: var(--ink); }
/* Pitch */
.sc-theme.pitch { background: repeating-linear-gradient(#2E8B43 0 4.17%, #2A8040 4.17% 8.33%); padding: 0; }
.pitch .turf { position: absolute; inset: calc(var(--top) + 68px) 16px 100px; border: 2px solid rgba(255, 255, 255, .55); }
.pitch .turf > i { position: absolute; border: 2px solid rgba(255, 255, 255, .55); }
.pitch .arc { left: 50%; top: -2px; width: 120px; height: 60px; margin-left: -60px; border-top: 0 !important; border-radius: 0 0 60px 60px; }
.pitch .box18 { left: 22%; right: 22%; bottom: -2px; height: 78px; border-bottom: 0 !important; }
.pitch .box6 { left: 38%; right: 38%; bottom: -2px; height: 30px; border-bottom: 0 !important; }
.pitch .player { position: absolute; width: 240px; margin: -18px 0 0 -120px; display: grid; justify-items: center; }
.pitch .player > i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: #F97316; color: #fff; border: 3px solid #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); box-sizing: border-box; }
.pitch .player > i.keeper { background: #D9F99D; color: #1A2E05; }
.pitch .player > span { margin-top: 4px; color: #fff; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, .28); border-radius: 6px; padding: 0 6px; }
.pitch .says { position: absolute; bottom: 56px; background: #fff; border-radius: 16px 16px 16px 4px; padding: 7px 12px; font-size: 14px; white-space: nowrap; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.pitch .sc-box { position: absolute; left: 14px; right: 14px; bottom: 34px; background: rgba(8, 28, 15, .55); box-shadow: none; color: rgba(255, 255, 255, .7); }
.pitch .sc-box i { background: #F97316; }
/* Mystery */
.sc-theme.mystery { background: #15120F; }
.mystery .evidence { background: #F1E7CE; border-radius: 4px; padding: .75rem; rotate: -1.2deg; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); font-family: Courier, monospace; color: #2A1E12; }
.mystery .evidence b { color: #A3271B; border: 1.5px solid #A3271B; border-radius: 3px; padding: 0 5px; font-size: .62rem; letter-spacing: .1em; }
.mystery .evidence span { color: #7C6A55; font-size: .62rem; margin-left: auto; }
.mystery .evidence p { margin: .4rem 0 0; font-size: .85rem; }
.mystery .said .bub { background: #2A231D; color: #EDE6DA; }
.mystery .said .bub b { color: #D9A38F; }
.mystery .said.mine .bub { background: #7A2A20; color: #F8EEE4; }
.mystery .vote { background: #211B16; border-radius: 14px; padding: .6rem; display: grid; gap: .45rem; }
.mystery .vote small { color: #B8A996; font-size: .66rem; font-weight: 700; letter-spacing: .05em; }
.mystery .vote .row > div { flex: 1; text-align: center; background: #2E2620; border-radius: 10px; padding: .35rem; color: #fff; display: grid; font-size: .75rem; }
.mystery .vote .row > div span { color: rgba(255, 255, 255, .65); font-size: .62rem; }
.mystery .vote .row > div.on { background: #B3352A; }
.mystery .sc-box { background: #211B16; box-shadow: none; color: #7D6F60; }
.mystery .sc-box i { background: #B3352A; }
/* Market */
.sc-theme.market { background: #E9F5EE; }
.market .market { background: #fff; border-radius: 16px; padding: .7rem; display: grid; gap: .5rem; box-shadow: 0 3px 8px rgba(15, 61, 37, .08); }
.market .market b { font-size: .85rem; }
.market .pct { display: grid; justify-items: end; }
.market .pct strong { font-size: 1.2rem; letter-spacing: -.02em; }
.market .pct span { font-size: .66rem; font-weight: 700; }
.market .up { color: #16A34A; } .market .down { color: #DC2626; }
.market .yes, .market .no { flex: 1; text-align: center; border-radius: 10px; padding: .4rem; font-weight: 800; font-size: .8rem; }
.market .yes { background: #DCF5E5; color: #14703C; } .market .no { background: #FBE1E1; color: #A22020; }
.market .said .bub { background: #fff; } .market .said .bub b { color: #0F7A4A; }
.market .sc-box { box-shadow: none; } .market .sc-box i { background: #16A34A; }
/* Guild */
.sc-theme.guild { background: #17120E; }
.guild .quests { background: #251C14; border: 1px solid rgba(232, 176, 75, .35); border-radius: 14px; padding: .7rem; display: grid; gap: .45rem; color: #B3A184; font-size: .75rem; }
.guild .quests b { color: #E8B04B; font-size: .8rem; }
.guild .xp { height: 6px; border-radius: 3px; background: #3A2D20; } .guild .xp i { display: block; width: 66%; height: 100%; border-radius: 3px; background: #E8B04B; }
.guild .said .bub { background: #2A2119; color: #F1E6D2; } .guild .said .bub b { color: #E8B04B; }
.guild .said.mine .bub { background: #6B4A1B; color: #FBF1DD; }
.guild .event { align-self: center; background: rgba(232, 176, 75, .14); color: #F3D08A; border-radius: 999px; padding: .35rem .8rem; font-size: .75rem; font-weight: 700; }
.guild .sc-box { background: #251C14; box-shadow: none; color: #7E6E58; } .guild .sc-box i { background: #C98A2B; }
