/* Friends City (Me → Friends City): a full-screen page. The city is the header (sky, parallax
   skyline, gates, plazas, shops, stalls, bank), then tabs, one row (you · search · wallet) and the list. */
.fc-page {
  --fc-ink: #17181a; --fc-soft: #55585e; --fc-muted: #8a8e96; --fc-line: #ececef; --fc-box: #f3f4f6;
  --fc-blue: #2a6fd6; --fc-green: #0f6e56; --fc-red: #d92d3f;
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: #fff; color: var(--fc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 14px;
  animation: fc-in .22s ease-out;
}
.fc-page.leaving { animation: fc-out .2s ease-in forwards; }
@keyframes fc-in { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fc-out { to { transform: translateX(28px); opacity: 0; } }
:where(.fc-page) button { all: unset; cursor: pointer; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:where(.fc-page) button:focus-visible { outline: 2px solid var(--fc-ink); outline-offset: 2px; border-radius: 10px; }
.fc-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px)); scrollbar-width: none; }
.fc-scroll::-webkit-scrollbar { display: none; }

/* the city */
.fc-wrap { position: relative; margin: 0 -16px; }
.fc-sky { position: absolute; left: 0; right: 0; top: 0; height: 210px; background: linear-gradient(#7fc1f3 0%, #b9e0fb 42%, #e9f4fb 78%, #f7efe2 100%); }
.fc-sun { position: absolute; right: 70px; top: calc(64px + env(safe-area-inset-top, 0px)); width: 46px; height: 46px; border-radius: 50%; background: #fff3b8; box-shadow: 0 0 0 10px rgb(255 240 170 / .45), 0 0 50px 22px rgb(255 236 160 / .6); }
.fc-head { position: absolute; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; align-items: flex-start; gap: 10px; pointer-events: none; }
.fc-head .fc-title { flex: 1; min-width: 0; }
.fc-head h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.7px; color: #0d2a46; line-height: 1.1; }
.fc-head small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: #2c5a80; }
.fc-round { pointer-events: auto; display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / .75); color: #0d2a46; box-shadow: 0 2px 10px rgb(13 42 70 / .12); }
.fc-street { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; padding-top: env(safe-area-inset-top, 0px); }
.fc-street::-webkit-scrollbar { display: none; }
.fc-in { position: relative; height: 330px; overflow: hidden; }
.fc-far, .fc-mid { position: absolute; left: 0; bottom: 130px; background-repeat: repeat-x; background-position: 0 100%; pointer-events: none; will-change: transform; }
.fc-far { height: 150px; background-size: 360px 150px; opacity: .85; }
.fc-mid { height: 92px; background-size: 520px 92px; }
.fc-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: #eee3cf; }
.fc-floor { position: absolute; bottom: 34px; height: 96px; }
.f-intent { background: radial-gradient(circle at 12px 12px, rgb(229 87 122 / .13) 0 4px, transparent 5px) 0 0 / 24px 24px, #f4e5de; }
.f-skill { background: repeating-linear-gradient(0deg, rgb(140 80 50 / .12) 0 2px, transparent 2px 16px), repeating-linear-gradient(90deg, rgb(140 80 50 / .10) 0 2px, transparent 2px 34px), #efdac6; }
.f-market { background: radial-gradient(ellipse at 50% 50%, rgb(90 70 40 / .10) 0 6px, transparent 7px) 0 0 / 18px 14px, #ebe2cb; }
.f-money { background: linear-gradient(90deg, #f2efe8, #e5e0d4 50%, #f2efe8); }
.fc-road { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: #8d929a; box-shadow: inset 0 5px 0 #d5ccb9; }
.fc-road::after { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 3px; background: repeating-linear-gradient(90deg, #f5f1e6 0 24px, transparent 24px 50px); }
.fc-cloud { position: absolute; z-index: 0; width: 64px; height: 20px; border-radius: 999px; background: rgb(255 255 255 / .85); animation: fc-cloud linear infinite; pointer-events: none; }
.fc-cloud::before { content: ""; position: absolute; left: 14px; top: -12px; width: 30px; height: 26px; border-radius: 50%; background: inherit; }
@keyframes fc-cloud { from { transform: translateX(0); } to { transform: translateX(160px); } }

.fc-sixy { position: absolute; z-index: 10; display: block !important; text-align: center; transform: translateX(-50%); }
.fc-sixy.back { z-index: 9; }
.fc-art { display: block; margin: 0 auto; }
.fc-art svg { display: block; width: 100%; height: 100%; }
.fc-nm { display: inline-block; margin-top: -2px; padding: 1px 7px; border-radius: 999px; background: rgb(255 255 255 / .9); font-size: 11.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.fc-nm.me { background: var(--fc-blue); color: #fff; }
.fc-bubble { position: absolute; left: 50%; bottom: calc(100% - 4px); transform: translateX(-50%); padding: 4px 9px; border-radius: 12px; background: var(--fc-ink); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.fc-bubble::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--fc-ink); }
.waving .fc-art, .waving .fc-sart, .waving .fc-tart { animation: fc-hop .5s ease-in-out 4; }
@keyframes fc-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-in.intro .fc-sixy .fc-art, .fc-in.intro .fc-sart, .fc-in.intro .fc-tart { animation: fc-pop .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d, .2s); }
@keyframes fc-pop { from { opacity: 0; transform: translateY(24px) scale(.3); } to { opacity: 1; transform: none; } }

.fc-gate { position: absolute; bottom: 36px; z-index: 4; width: 134px; height: 156px; }
.fc-gate i { position: absolute; bottom: 0; width: 12px; height: 128px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #fffdf8, #e2d9c8); box-shadow: inset 0 -8px 0 rgb(0 0 0 / .06); }
.fc-gate i:first-of-type { left: 6px; }
.fc-gate i:last-of-type { right: 6px; }
.fc-garch { position: absolute; left: 50%; top: 0; z-index: 1; transform: translateX(-50%); width: max-content; min-width: 100%; box-sizing: border-box; height: 34px; padding: 0 14px; display: grid; place-items: center; border-radius: 20px 20px 7px 7px; background: var(--c); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 0 rgb(0 0 0 / .12), inset 0 0 0 2px rgb(255 255 255 / .35); }
.fc-plat { position: absolute; bottom: 24px; z-index: 2; height: 30px; transform: translateX(-50%); border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 38%, #fff), 0 5px 0 color-mix(in srgb, var(--c) 22%, #e3d6c1); }
.fc-ilabel { position: absolute; top: 118px; z-index: 6; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 38%, transparent); animation: fc-bob 3.2s ease-in-out infinite; }
.fc-ilabel::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--c); }
.fc-ilabel small, .fc-shopsign small { margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgb(255 255 255 / .28); font-size: 11px; }
.fc-shopsign small { background: var(--fc-box); color: var(--fc-soft); }
@keyframes fc-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }
.fc-empty { position: absolute; bottom: 64px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--fc-muted); white-space: nowrap; }
.fc-empty.market { bottom: 90px; }
.fc-more { position: absolute; bottom: 92px; z-index: 11; padding: 4px 9px; border-radius: 999px; background: var(--fc-ink); color: #fff; font-size: 12px; font-weight: 800; }
.fc-lamp { position: absolute; bottom: 44px; z-index: 3; width: 4px; height: 100px; margin-left: -2px; border-radius: 2px; background: #7b818a; }
.fc-lamp::before { content: ""; position: absolute; left: -8px; top: -12px; width: 20px; height: 14px; border-radius: 10px 10px 4px 4px; background: #ffe7a3; box-shadow: 0 0 14px 4px rgb(255 231 163 / .5); }
.fc-tree { position: absolute; bottom: 40px; z-index: 3; width: 12px; height: 46px; margin-left: -6px; border-radius: 3px; background: #9c7a57; }
.fc-tree::before { content: ""; position: absolute; left: -24px; bottom: 34px; width: 60px; height: 64px; border-radius: 50%; background: #93cf9f; box-shadow: inset -8px -8px 0 rgb(0 0 0 / .07); }

.fc-shop { position: absolute; bottom: 130px; z-index: 1; height: 112px; border-radius: 6px 6px 0 0; background: var(--c); box-shadow: inset 0 -6px 0 rgb(0 0 0 / .06); }
.fc-shopsign { position: absolute; left: 8px; right: 8px; top: 8px; height: 28px; display: flex !important; align-items: center; justify-content: center; gap: 2px; padding: 0 6px; border-radius: 6px; background: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; box-shadow: 0 2px 0 rgb(0 0 0 / .08); }
.fc-awn { position: absolute; left: -4px; right: -4px; top: 42px; height: 15px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--a) 0 14px, #fff 14px 28px); box-shadow: 0 3px 0 rgb(0 0 0 / .07); }
.fc-win { position: absolute; bottom: 12px; width: calc(50% - 30px); height: 40px; display: grid; place-items: center; border-radius: 5px; background: #e4eef8; box-shadow: inset 0 0 0 3px #fff; }
.fc-win.l { left: 10px; } .fc-win.r { right: 10px; }
.fc-win i { font-style: normal; font-size: 20px; opacity: .85; }
.fc-door { position: absolute; left: 50%; bottom: 0; width: 32px; height: 54px; margin-left: -16px; border-radius: 5px 5px 0 0; background: #9c6b45; }

.fc-stall { position: absolute; bottom: 36px; z-index: 8; display: block !important; width: 108px; height: 186px; }
.fc-sname { position: absolute; left: 50%; top: -24px; z-index: 2; transform: translateX(-50%); max-width: 112px; overflow: hidden; text-overflow: ellipsis; padding: 3px 9px; border-radius: 5px; background: #6b4a2f; color: #fff4dc; font-size: 11px; font-weight: 800; white-space: nowrap; box-shadow: inset 0 0 0 2px #8b6b4b, 0 2px 4px rgb(0 0 0 / .18); }
.fc-canopy { position: absolute; left: 0; right: 0; top: 0; height: 26px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, var(--s) 0 14px, #fff 14px 28px); box-shadow: 0 3px 0 rgb(0 0 0 / .08); }
.fc-canopy::before, .fc-canopy::after { content: ""; position: absolute; top: 26px; width: 4px; height: 112px; background: #8b6b4b; }
.fc-canopy::before { left: 6px; } .fc-canopy::after { right: 6px; }
.fc-sart { position: absolute; left: 50%; top: 52px; width: 58px; height: 60px; margin-left: -29px; }
.fc-sart svg, .fc-tart svg { display: block; width: 100%; height: 100%; }
.fc-counter { position: absolute; left: 0; right: 0; top: 102px; height: 46px; border-radius: 4px; background: #c79f73; box-shadow: inset 0 6px 0 #dcb88f; }
.fc-goods { position: absolute; left: 8px; top: -14px; font-size: 22px; letter-spacing: 2px; }
.fc-gmore { position: absolute; left: 8px; top: 20px; padding: 0 5px; border-radius: 6px; background: rgb(255 255 255 / .85); font-size: 10.5px; font-weight: 800; color: var(--fc-soft); }
.fc-tag { position: absolute; right: 6px; top: 14px; padding: 2px 6px; border-radius: 4px; background: #fff; font-size: 11.5px; font-weight: 800; }
.fc-stall .fc-nm { position: absolute; left: 50%; top: 154px; transform: translateX(-50%); }

.fc-bank { position: absolute; bottom: 36px; z-index: 8; height: 196px; }
.fc-broof { position: absolute; left: -8px; right: -8px; top: 0; height: 30px; background: #d8cfbd; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fc-bband { position: absolute; left: -4px; right: -4px; top: 30px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 3px; background: #2f5d50; color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.fc-bband b.pos { color: #a8e6c1; } .fc-bband b.neg { color: #ffb3b3; }
.fc-bcols { position: absolute; left: 6px; right: 6px; top: 54px; height: 58px; display: flex; justify-content: space-between; }
.fc-bcols i { width: 12px; height: 100%; border-radius: 2px 2px 0 0; background: linear-gradient(90deg, #fbf8f1, #e6dfcf); }
.fc-teller { position: absolute; top: 0; width: 84px; height: 196px; margin-left: -10px; }
.fc-tart { position: absolute; left: 50%; top: 58px; z-index: 1; width: 60px; height: 62px; margin-left: -30px; }
.fc-bcounter { position: absolute; left: 0; right: 0; top: 108px; z-index: 2; height: 46px; display: grid; place-items: center; border-radius: 4px; background: #e9e2d2; box-shadow: inset 0 6px 0 #f6f1e6, inset 0 -5px 0 #d6ccb7; pointer-events: none; }
.fc-bcounter em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--fc-muted); }
.fc-tgood { position: absolute; left: 6px; top: 96px; z-index: 3; font-size: 20px; }
.fc-ttag { position: absolute; left: 50%; top: 122px; z-index: 3; transform: translateX(-50%); padding: 2px 7px; border-radius: 5px; background: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.fc-ttag.ok { color: var(--fc-green); } .fc-ttag.owe { color: var(--fc-red); }
.fc-tname { position: absolute; left: 50%; top: 160px; z-index: 3; transform: translateX(-50%); padding: 1px 7px; border-radius: 999px; background: rgb(255 255 255 / .9); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

.fc-pop { position: absolute; z-index: 30; width: 220px; box-sizing: border-box; transform: translate(-50%, -100%); padding: 11px 12px 10px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgb(13 42 70 / .25); animation: fc-popup .28s cubic-bezier(.3, 1.5, .5, 1); }
.fc-pop::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); top: 100%; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: #fff; }
.fc-pop b { font-size: 15.5px; }
.fc-pop > span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--fc-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-pacts { display: flex; gap: 6px; margin-top: 9px; }
.fc-pacts button { flex: 1; padding: 7px 0; border-radius: 10px; background: var(--fc-box); font-size: 12.5px; font-weight: 700; text-align: center; }
.fc-pacts button.main { background: var(--fc-ink); color: #fff; }
@keyframes fc-popup { from { opacity: 0; transform: translate(-50%, -88%) scale(.85); } to { opacity: 1; transform: translate(-50%, -100%); } }

/* tabs and mini-map */
.fc-tabs { position: relative; display: flex; gap: 2px; margin-top: 12px; padding: 4px; border-radius: 16px; background: var(--fc-box); }
.fc-tabs button { flex: 1; position: relative; z-index: 1; display: flex !important; flex-direction: column; align-items: center; gap: 1px; padding: 6px 1px 5px; border-radius: 12px; font-size: 11.5px; font-weight: 700; color: var(--fc-soft); white-space: nowrap; }
.fc-dic { font-size: 17px; line-height: 1.2; }
.fc-tabs b { font-size: 10.5px; font-weight: 700; color: var(--fc-muted); }
.fc-tabs button.on { color: var(--fc-ink); }
.fc-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / .1); opacity: 0; transition: left .4s cubic-bezier(.3, 1.3, .5, 1), width .4s cubic-bezier(.3, 1.3, .5, 1); }
.fc-mmap { position: relative; height: 10px; margin: 8px 4px 0; border-radius: 5px; background: var(--fc-box); overflow: hidden; cursor: pointer; }
.fc-mmap span { position: absolute; top: 0; bottom: 0; opacity: .5; }
.fc-mmap i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: rgb(255 255 255 / .45); box-shadow: inset 0 0 0 2px var(--fc-ink); }

/* one row and the list */
.fc-list { padding-top: 6px; }
.fc-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; margin: 0 -16px; padding: 10px 16px; background: #fff; box-shadow: 0 1px 0 var(--fc-line); }
.fc-meav { position: relative; flex: 0 0 auto; display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eef4fd; box-shadow: inset 0 0 0 2px #d6e4fa; }
.fc-meart { width: 34px; height: 35px; }
.fc-meart svg, .fc-epvart svg, .fc-gart svg, .fc-badge svg { display: block; width: 100%; height: 100%; }
.fc-meav i { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--fc-blue); color: #fff; font-style: normal; font-size: 13px; font-weight: 800; box-shadow: 0 0 0 2px #fff; }
.fc-srch { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--fc-box); color: var(--fc-muted); }
.fc-srch input { flex: 1; min-width: 0; padding: 11px 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--fc-ink); outline: none; }
.fc-wal { flex: 0 0 auto; display: flex !important; align-items: center; gap: 5px; height: 42px; padding: 0 12px; border-radius: 999px; background: var(--fc-box); font-size: 13.5px; }
.fc-wal b.pos, .fc-mb.ok { color: var(--fc-green); } .fc-wal b.neg, .fc-mb.owe { color: var(--fc-red); }
.fc-letter { position: sticky; top: 64px; z-index: 2; padding: 12px 0 4px; background: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .4px; color: var(--fc-muted); }
.fc-row { display: flex; align-items: center; gap: 6px; padding-right: 2px; border-bottom: 1px solid var(--fc-line); }
.fc-row-main { flex: 1; min-width: 0; display: flex !important; align-items: center; gap: 12px; padding: 9px 0; }
.fc-av { position: relative; flex: 0 0 auto; width: 44px; height: 44px; }
.fc-av img, .fc-ini { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #e9ecf2; color: #4a5568; font-size: 14px; font-weight: 800; }
.fc-badge { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 21px; padding: 1px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--fc-line); }
.fc-cm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fc-cm b { font-size: 15.5px; }
.fc-cm small { font-size: 11.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: #5b7ba3; }
.fc-tags { display: flex; gap: 5px; overflow: hidden; white-space: nowrap; }
.fc-tags.wrap { flex-wrap: wrap; white-space: normal; }
.fc-t { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: var(--fc-box); font-size: 12px; font-weight: 600; color: var(--fc-soft); }
.fc-t.i { background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.fc-t.big { font-size: 13.5px; padding: 5px 10px; background: #fff; }
.fc-t.more { background: none; color: var(--fc-muted); padding-left: 2px; }
.fc-dim { font-size: 12.5px; color: var(--fc-muted); overflow: hidden; text-overflow: ellipsis; }
.fc-mb { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fc-mb small { font-size: 10.5px; font-weight: 600; color: var(--fc-muted); }
.fc-rchat { flex: 0 0 auto; display: grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fc-box); color: var(--fc-soft); }
.fc-none { padding: 24px 0; text-align: center; color: var(--fc-muted); }

/* sheets */
.fc-scrim { position: absolute; inset: 0; z-index: 32; background: rgb(0 0 0 / .32); }
.fc-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 33; max-height: 88%; overflow-y: auto; box-sizing: border-box; padding: 14px 16px calc(22px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: #fff; animation: fc-sheet .25s cubic-bezier(.2, .9, .3, 1); }
@keyframes fc-sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.fc-sheet h3 { margin: 0; font-size: 19px; font-weight: 800; }
.fc-lead { margin: 8px 0 0; font-size: 14px; color: var(--fc-soft); line-height: 1.4; }
.fc-hero { display: flex; align-items: center; gap: 14px; margin: -14px -16px 0; padding: 18px 16px 14px; border-radius: 22px 22px 0 0; background: linear-gradient(color-mix(in srgb, var(--c) 12%, #fff), #fff); }
.fc-hero .fc-av { width: 64px; height: 64px; }
.fc-hero .fc-av img, .fc-hero .fc-ini { width: 64px; height: 64px; font-size: 20px; }
.fc-hero .fc-badge { width: 28px; height: 29px; }
.fc-ht { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-ht b { font-size: 21px; letter-spacing: -.2px; }
.fc-ht span { color: var(--fc-soft); }
.fc-sec { margin-top: 14px; }
.fc-sec.card { padding: 12px 14px; border-radius: 16px; background: #f7f8fa; }
.fc-sec h4 { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .3px; color: var(--fc-muted); text-transform: uppercase; }
.fc-intent { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 35%, #fff); }
.fc-intent b { color: var(--c); font-size: 15px; }
.fc-intent span { color: var(--fc-soft); }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
button.fc-mini { margin-top: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.fc-prod { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eceef1; }
.fc-prod:last-child { border-bottom: 0; }
.fc-prod button.fc-mini { margin-top: 0; }
.fc-pe { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; font-size: 24px; }
.fc-pm { flex: 1; min-width: 0; }
.fc-pp { font-weight: 800; font-variant-numeric: tabular-nums; }
.fc-mrow { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 13px; border-radius: 14px; }
.fc-mrow > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fc-mrow b { font-size: 15px; } .fc-mrow small { font-size: 12.5px; color: var(--fc-soft); }
.fc-mrow.ok { background: #e1f5ee; } .fc-mrow.ok b { color: var(--fc-green); }
.fc-mrow.owe { background: #fcebeb; } .fc-mrow.owe b { color: var(--fc-red); }
.fc-mrow button.fc-mini { margin-top: 0; }
.fc-btns { display: flex; gap: 8px; margin-top: 16px; }
.fc-btn { flex: 1; padding: 12px 0; border-radius: 13px; background: var(--fc-box); text-align: center; font-size: 15px; font-weight: 700; }
.fc-btn.main { background: var(--fc-ink); color: #fff; }
.fc-glist button { display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--fc-line); font-size: 15px; }
.fc-gart { width: 36px; height: 37px; }
.fc-glist small { margin-left: auto; font-size: 12px; color: var(--fc-muted); }

/* your signs */
.fc-ehead { display: flex; align-items: center; justify-content: space-between; }
.fc-eclose, .fc-xbtn { display: grid !important; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fc-box); font-size: 20px; color: var(--fc-soft); }
.fc-xbtn { width: 30px; height: 30px; font-size: 18px; }
.fc-epv { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 16px; background: #eef5ff; }
.fc-epvart { width: 46px; height: 47px; flex: 0 0 auto; }
.fc-epv .fc-t { background: #fff; }
.fc-etabs { display: flex; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: var(--fc-box); }
.fc-etab { flex: 1; display: flex !important; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; border-radius: 11px; font-size: 12.5px; font-weight: 700; color: var(--fc-soft); }
.fc-eic { font-size: 18px; line-height: 1.2; }
.fc-etab.done .fc-eic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fc-green); color: #fff; font-size: 13px; font-weight: 800; }
.fc-etab.on { background: #fff; color: var(--fc-ink); box-shadow: 0 2px 8px rgb(0 0 0 / .08); }
.fc-ehint { margin: 16px 0 10px; font-size: 14.5px; color: var(--fc-soft); }
.fc-ehint b { color: var(--fc-ink); }
.fc-itiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fc-itile { position: relative; display: flex !important; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 16px; background: color-mix(in srgb, var(--c) 7%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 22%, #fff); font-size: 14.5px; font-weight: 700; }
.fc-itile .ie { font-size: 24px; }
.fc-itile.on { background: var(--c); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 35%, transparent); }
.fc-itile.cust { padding-right: 30px; }
.fc-itile.own, .fc-stile.own { background: #fff; box-shadow: none; outline: 1.5px dashed #b8c2d3; outline-offset: -1.5px; color: var(--fc-soft); }
.fc-stiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fc-stile { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 4px; padding: 14px 4px 11px; border-radius: 16px; background: var(--fc-box); font-size: 12.5px; font-weight: 700; text-align: center; }
.fc-stile .se { font-size: 27px; line-height: 1.1; }
.fc-stile.on { background: color-mix(in srgb, var(--a) 12%, #fff); box-shadow: inset 0 0 0 2px var(--a); }
.fc-stile.on::after { content: "✓"; position: absolute; right: 7px; top: 6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--a); color: #fff; font-size: 11px; font-weight: 800; }
.fc-x { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgb(0 0 0 / .08); font-size: 14px; font-weight: 800; }
.fc-itile.on .fc-x { background: rgb(255 255 255 / .25); }
.fc-stile.cust .fc-x { left: 6px; right: auto; }
.fc-ownrow, .fc-addrow { display: flex; gap: 8px; margin-top: 10px; }
.fc-ownrow input, .fc-addrow input { flex: 1; min-width: 0; padding: 11px 12px; border: 0; border-radius: 12px; background: var(--fc-box); font: inherit; font-size: 16px; color: var(--fc-ink); }
.fc-addrow input { background: #fff; }
.fc-go { padding: 0 14px; border-radius: 12px; background: var(--fc-ink); color: #fff; font-weight: 800; display: grid !important; place-items: center; }
.fc-field { display: block; margin-top: 14px; }
.fc-field > span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: var(--fc-soft); }
.fc-field input { display: block; width: 100%; box-sizing: border-box; padding: 11px 12px; border: 0; border-radius: 12px; background: var(--fc-box); font: inherit; font-size: 16px; color: var(--fc-ink); }
.fc-pvstall { position: relative; width: 170px; height: 158px; margin: 30px auto 4px; }
.fc-pvsign { position: absolute; left: 50%; top: -22px; z-index: 2; transform: translateX(-50%); max-width: 180px; overflow: hidden; text-overflow: ellipsis; padding: 4px 11px; border-radius: 6px; background: #6b4a2f; color: #fff4dc; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: inset 0 0 0 2px #8b6b4b; }
.fc-pvcan { position: absolute; left: 0; right: 0; top: 6px; height: 28px; border-radius: 7px 7px 0 0; background: repeating-linear-gradient(90deg, #f26b4f 0 16px, #fff 16px 32px); }
.fc-pvcan::before, .fc-pvcan::after { content: ""; position: absolute; top: 28px; width: 4px; height: 80px; background: #8b6b4b; }
.fc-pvcan::before { left: 8px; } .fc-pvcan::after { right: 8px; }
.fc-pvart { position: absolute; left: 50%; top: 44px; width: 64px; height: 66px; margin-left: -32px; }
.fc-pvart svg { display: block; width: 100%; height: 100%; }
.fc-pvcounter { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #c79f73; box-shadow: inset 0 6px 0 #dcb88f; }
.fc-pvcounter em { font-style: normal; font-size: 12px; font-weight: 700; color: #6b4a2f; }
.fc-pvgoods { position: absolute; left: 10px; top: -16px; font-size: 24px; letter-spacing: 2px; }
.fc-pvtag { position: absolute; right: 8px; bottom: 10px; padding: 2px 7px; border-radius: 5px; background: #fff; font-size: 12px; font-weight: 800; }
.fc-elist { margin-top: 10px; }
.fc-elist .fc-pe { background: var(--fc-box); }
.fc-addbox { margin-top: 12px; padding: 12px; border-radius: 16px; background: #f7f8fa; }
.fc-addt { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--fc-muted); }
.fc-emojis { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fc-emojis::-webkit-scrollbar { display: none; }
.fc-emo { flex: 0 0 auto; display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; font-size: 22px; }
.fc-emo.on { box-shadow: inset 0 0 0 2px var(--fc-ink); }
.fc-price { display: flex; align-items: center; width: 80px; padding-left: 10px; border-radius: 12px; background: #fff; }
.fc-price i { font-style: normal; font-weight: 800; color: var(--fc-muted); }
.fc-price input { padding: 11px 6px; background: none; }
.fc-efoot { position: sticky; bottom: calc(-22px - env(safe-area-inset-bottom, 0px)); z-index: 3; display: flex; gap: 8px; margin: 18px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--fc-line); background: #fff; }
.fc-efoot .fc-btn.main { flex: 1.6; }

/* Me page row mark */
.main-me-place-mark.fc-mark { display: grid; place-items: center; font-size: 26px; }

@media (min-width: 720px) {
  .fc-page { left: 50%; right: auto; width: 430px; transform: translateX(-50%); box-shadow: 0 0 0 100vmax rgb(0 0 0 / .35); animation: none; }
  .fc-page.leaving { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-page, .fc-ilabel, .fc-cloud, .fc-in.intro .fc-art, .fc-in.intro .fc-sart, .fc-in.intro .fc-tart, .fc-pop, .fc-sheet { animation: none !important; }
  .fc-ind { transition: none; }
}
.main-me-place-copy .main-me-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #2a6fd6; color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; vertical-align: 2px; }
