*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{color-scheme:light}
body{font-family:Roboto,"Noto Sans",system-ui,Arial,sans-serif;color:#1c2433;background:#f6f1fb;min-height:100vh;overscroll-behavior-y:contain}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(165deg,#fff0e6 0%,#fbeef4 30%,#f1edfc 60%,#e8f7f0 100%)}
#app{max-width:480px;margin:0 auto;min-height:100vh;padding-bottom:96px;padding-bottom:calc(100px + env(safe-area-inset-bottom,0px));position:relative}/* QA82 (Y5): room under the last button for the 💬 (+ the iPhone bottom bar) */
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
input,textarea,select{font-family:inherit;font-size:16px;color:#1c2433}
a{color:#2f6fe4;text-decoration:none}
img{display:block}
.sp{flex:1;min-width:0}
.row{display:flex;align-items:center;gap:8px}
.hidden{display:none!important}
.muted{color:#6b778c}
/* buttons */
.btn{border-radius:14px;font-size:15.5px;font-weight:800;padding:12px 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;line-height:1.15}
.b1{background:#2f6fe4;color:#fff}
.b2{background:#fff;color:#2f6fe4;border:1.5px solid #cfdcf3}
.b3{background:#eef4ff;color:#2f6fe4}
.bred{background:#fff0ef;color:#d63a30}
.bgreen{background:#e3f6ea;color:#1d7a43}
.wide{width:100%}
.btn:disabled{opacity:.55}
.btn:active,.tap:active{transform:scale(.97)}
/* top bars */
.top{padding:12px 16px 6px;display:flex;align-items:center;gap:10px}
.mecirc{width:42px;height:42px;border-radius:50%;flex:none;border:2px solid #fff;box-shadow:0 1px 4px rgba(30,60,120,.18);overflow:hidden;background:#ffd7a8}
.mecirc img{width:100%;height:100%;object-fit:cover}
.ib{width:48px;height:48px;border-radius:14px;background:#fff;border:1.5px solid #cfdcf3;display:flex;align-items:center;justify-content:center;font-size:23px;flex:none;position:relative}
.evb{height:48px;flex:1;border-radius:14px;background:#2f6fe4;color:#fff;font-size:17px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px}
.bar{display:flex;align-items:center;padding:10px 10px 6px;gap:6px;min-height:56px}
.bar .bk{width:44px;height:44px;font-size:30px;color:#2f6fe4;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none;line-height:1}
.bar h1{font-size:21px;font-weight:800;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar .act{min-width:44px;height:44px;font-size:22px;display:flex;align-items:center;justify-content:center;border-radius:12px;flex:none}
.bar .act.txt{font-size:14.5px;font-weight:800;color:#2f6fe4;padding:0 8px}
.hi{font-size:14px;color:#6b778c;font-weight:600;margin:6px 18px 0}
/* sections & cards */
.sec{font-size:15px;font-weight:800;color:#5b6a82;margin:14px 18px 7px;display:flex;align-items:center;gap:6px}
.sec .lk{margin-left:auto;font-size:14px;color:#2f6fe4;font-weight:700;padding:4px 0}
.sec small{font-weight:600;color:#8a97ab;font-size:12.5px}
.card{background:#fff;border-radius:18px;margin:0 14px 10px;box-shadow:0 1px 3px rgba(30,60,120,.08)}
.pad{padding:14px 16px}
.badge{background:#ff3b30;color:#fff;font-size:12px;font-weight:800;border-radius:11px;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
.tag{font-size:12px;font-weight:700;border-radius:8px;padding:3px 8px;display:inline-block;white-space:nowrap}
.t-family{background:#e3f6ea;color:#1d7a43}.t-kids{background:#fff1d6;color:#a35b00}.t-shiur{background:#eef4ff;color:#2f6fe4}.t-simcha{background:#fde7ef;color:#b8326a}.t-party{background:#f1ecfb;color:#6b48b8}
.t-friends{background:#fff1d6;color:#a35b00}.t-community{background:#e8f7f0;color:#167a5a}.t-shul{background:#eef4ff;color:#2f6fe4}
.t-lock{background:#f1f3f7;color:#5b6a82}.t-pub{background:#e8f7f0;color:#167a5a}
.empty{text-align:center;color:#8a97ab;font-size:14.5px;padding:22px 16px;line-height:1.45}
/* avatars */
.av{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:none;background:#e6ecf7}
.av.sq{border-radius:14px}
.av.s{width:36px;height:36px}
.av.l{width:58px;height:58px}
.adm{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5a6cf0,#8c7bff);color:#fff;font-size:22px}
.av.s.adm{font-size:17px}
.gone{display:flex;align-items:center;justify-content:center;background:#e1e5ec;color:#8a97ab;font-size:20px}
/* home next card */
.next{margin:10px 14px 0;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 3px 12px rgba(30,60,120,.12)}
.next .ph{height:92px;background:#dfe6f2 center 35%/cover;position:relative}
.pill{position:absolute;left:12px;top:10px;background:#fff;color:#2f6fe4;font-weight:800;font-size:12.5px;border-radius:12px;padding:5px 10px;letter-spacing:.3px}
.when{position:absolute;right:12px;top:10px;background:#ff8a3d;color:#fff;font-weight:800;font-size:12.5px;border-radius:12px;padding:5px 10px}
.next .bd{padding:10px 14px 12px}
.nt{font-size:18.5px;font-weight:800;line-height:1.2}
.nsub{font-size:13.5px;color:#6b778c;margin-top:2px}
.nmeta{font-size:14px;color:#2a3a55;margin-top:5px;font-weight:600;line-height:1.4}
.jn{margin-top:9px;display:flex;gap:8px}
.jn .btn{flex:1;min-height:42px;padding:8px 10px;font-size:14.5px}
/* list rows */
.li{display:flex;align-items:center;gap:11px;padding:9px 14px;border-bottom:1px solid #eef2f8;min-height:62px;position:relative;background:#fff}
.li:last-child{border-bottom:none}
.card>.li:first-child{border-top-left-radius:18px;border-top-right-radius:18px}
.card>.li:last-child{border-bottom-left-radius:18px;border-bottom-right-radius:18px}
.mn{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt{font-size:13.5px;color:#6b778c;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm{font-size:12px;color:#8a97ab;text-align:right;white-space:nowrap}
.rt{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.cu{display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid #eef2f8;font-size:14.5px;min-height:56px}
.cu:last-child{border-bottom:none}
.dt{width:46px;text-align:center;flex:none;background:#eef4ff;border-radius:10px;padding:4px 0;line-height:1.1}
.dt b{display:block;font-size:11px;color:#2f6fe4;font-weight:800}
.dt span{font-size:17px;font-weight:800}
.cg{font-size:12.5px;color:#8a97ab}
/* notices strip */
.ntc{margin:10px 14px 0;background:#fffbe8;border:1.5px solid #f6e3a1;border-radius:16px;padding:10px 12px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
/* empty home */
.welcome{text-align:center;padding:20px 22px 0}
.welcome h2{font-size:26px;font-weight:800;margin-top:8px}
.welcome p{font-size:15px;color:#6b778c;margin-top:6px;line-height:1.4}
.rnd{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 18px 0}
.rnd button{background:#fff;border-radius:22px;padding:18px 8px 14px;box-shadow:0 2px 8px rgba(30,60,120,.1);display:flex;flex-direction:column;align-items:center;gap:9px;font-size:15px;font-weight:800;color:#2a3a55;line-height:1.2}
.rnd .ci{width:66px;height:66px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px}
/* fab */
#fab{position:fixed;right:max(16px,calc(50vw - 224px));bottom:18px;width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,#2f80ed,#7b5cff);box-shadow:0 6px 18px rgba(47,128,237,.45);display:flex;align-items:center;justify-content:center;font-size:28px;z-index:50;border:3px solid #fff}
#fab b{position:absolute;top:-5px;right:-5px;background:#ff3b30;color:#fff;font:800 12.5px system-ui;min-width:22px;height:22px;border-radius:11px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;padding:0 5px}
/* forms */
.f{margin:0 18px 14px}
.f label{display:block;font-size:14px;font-weight:800;color:#5b6a82;margin:0 2px 6px}
.in{width:100%;border:1.5px solid #d7e1f1;background:#fff;border-radius:14px;padding:13px 14px;font-size:17px;min-height:50px;outline:none}
.in:focus{border-color:#2f6fe4}
textarea.in{min-height:90px;resize:vertical;line-height:1.35}
.chips{display:flex;gap:7px;flex-wrap:wrap}
.chips.scroll{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 14px 4px;margin:0 -0px}
.chips.scroll::-webkit-scrollbar{display:none}
.ch{font-size:14.5px;font-weight:700;padding:10px 13px;border-radius:20px;background:#fff;border:1.5px solid #d7e1f1;color:#3c4b63;white-space:nowrap;min-height:42px;display:inline-flex;align-items:center;gap:5px}
.ch.on{background:#2f6fe4;border-color:#2f6fe4;color:#fff}
.ch .badge{min-width:19px;height:19px;font-size:11px;padding:0 5px}
.yn{display:flex;gap:8px}
.yn button{flex:1;border:1.5px solid #d7e1f1;background:#fff;border-radius:14px;min-height:48px;font-size:16px;font-weight:800;color:#3c4b63}
.yn button.on{background:#2f6fe4;border-color:#2f6fe4;color:#fff}
.pick{width:116px;height:116px;border-radius:50%;margin:4px auto 0;background:#fff;border:3px dashed #b9c8e4;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:#2f6fe4;overflow:hidden;position:relative}
.pick span{font-size:34px}
.pick img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pick.sq{border-radius:22px;width:100%;height:150px}
.pin{letter-spacing:14px;text-align:center;font-size:26px;font-weight:800}
.err{color:#d63a30;font-size:14px;font-weight:700;margin:0 20px 10px;min-height:0}
.hint{font-size:13px;color:#8a97ab;margin:6px 2px 0;line-height:1.35}
.sw{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:56px;font-size:15.5px;font-weight:600}
.tog{width:52px;height:30px;border-radius:15px;background:#cfd6e3;position:relative;flex:none;transition:.2s}
.tog::after{content:"";position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.tog.on{background:#2fbf71}.tog.on::after{left:25px}
/* brand */
.brand{text-align:center;padding:38px 20px 18px}
.logo{width:92px;height:92px;border-radius:50%;margin:0 auto;display:block;box-shadow:0 8px 22px rgba(230,180,0,.35)}
.brand h1{font-size:32px;font-weight:900;margin-top:12px;letter-spacing:.3px}
.brand .av{margin:0 auto}
div.logo{display:flex;align-items:center;justify-content:center;font-size:44px;background:linear-gradient(135deg,#2f80ed,#7b5cff)}
.brand p{color:#6b778c;font-size:15.5px;margin-top:4px}
/* profile */
.pf{text-align:center;padding:4px 16px 4px}
.pf .big{width:112px;height:112px;border-radius:50%;margin:0 auto;object-fit:cover;border:4px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.15);background:#e6ecf7}
.pf .big.adm{font-size:52px}
.pf h2{font-size:23px;font-weight:800;margin-top:8px}
.pf .ln{font-size:14.5px;color:#6b778c;margin-top:3px}
.acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 14px 4px}
.acts .btn{font-size:14.5px;padding:10px 8px}
.gstrip{display:flex;gap:4px;overflow-x:auto;padding:12px 8px;scrollbar-width:none}
.gstrip::-webkit-scrollbar{display:none}
.gi{width:80px;text-align:center;flex:none}
.gi img,.gi .plus{width:62px;height:62px;border-radius:18px;object-fit:cover;margin:0 auto}
.gi .plus{display:flex;align-items:center;justify-content:center;background:#eef4ff;color:#2f6fe4;font-size:28px;font-weight:800}
.gi div.n{font-size:12px;font-weight:700;margin-top:4px;line-height:1.15;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow-wrap:anywhere;max-height:2.35em}/* QA82 (Y11): long names end in … */
.menu .li{min-height:56px;font-size:16px;font-weight:700}
.menu .ic{width:36px;height:36px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:19px;background:#f1f4fa;flex:none}
.chev{color:#b7c2d4;font-size:20px}
/* group page */
.gh{position:relative;height:120px;background:#dfe6f2 center/cover;margin:0 14px;border-radius:20px;overflow:hidden}
.gh::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(10,20,40,.6))}
.gh .gt{position:absolute;left:14px;right:14px;bottom:10px;color:#fff;z-index:1}
.gh .gt b{font-size:21px;font-weight:800;display:block;line-height:1.15}
.gh .gt span{font-size:13px;font-weight:600;opacity:.95}
.tabs{display:flex;gap:4px;margin:10px 14px 6px;background:#e6edf8;border-radius:14px;padding:4px}
.tabs button{flex:1;font-size:13.5px;font-weight:800;padding:9px 1px;letter-spacing:-.1px;border-radius:11px;color:#5b6a82;min-height:42px;white-space:nowrap;position:relative}
.tabs button.on{background:#fff;color:#2f6fe4;box-shadow:0 1px 3px rgba(30,60,120,.15)}
.tabs .badge{position:absolute;top:-6px;right:-2px;min-width:19px;height:19px;font-size:11px}
/* events list */
.areas{display:flex;gap:2px;margin:6px 10px 0;border-bottom:1.5px solid #dfe6f2;overflow-x:auto;scrollbar-width:none}
.areas::-webkit-scrollbar{display:none}
.ar{font-size:15.5px;font-weight:800;color:#7c889c;padding:10px 11px 10px;border-bottom:3px solid transparent;margin-bottom:-1.5px;white-space:nowrap;min-height:44px}
.ar.on{color:#2f6fe4;border-color:#2f6fe4}
.ar small{font-size:12px;color:#a0abbd;font-weight:700}
.note{font-size:12.5px;color:#8a97ab;margin:7px 18px 0}
.tg{margin-left:auto;display:flex;background:#e6edf8;border-radius:12px;padding:3px;flex:none}
.tg button{font-size:13.5px;font-weight:800;padding:8px 9px;white-space:nowrap;border-radius:10px;color:#5b6a82;min-height:38px}
.tg .on{background:#fff;color:#2f6fe4;box-shadow:0 1px 3px rgba(30,60,120,.15)}
.ec{display:flex;gap:12px;padding:11px;margin-top:10px}
.ep{width:92px;height:92px;border-radius:14px;object-fit:cover;flex:none;background:#e6ecf7}
.et{font-size:16.5px;font-weight:800;line-height:1.2}
.em{font-size:13.5px;color:#5b6a82;margin-top:4px;line-height:1.4}
.bot{display:flex;align-items:center;gap:6px;margin-top:7px;flex-wrap:wrap}
.lock{font-size:12px;color:#8a97ab;margin-top:5px}
.open{color:#1fa97a}
/* event page */
.cover{height:170px;background:#dfe6f2 center/cover;position:relative}
.cover .bk{position:absolute;left:10px;top:10px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);font-size:28px;color:#2f6fe4;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1}
.evh{margin:-26px 14px 10px;position:relative;background:#fff;border-radius:20px;padding:14px 16px;box-shadow:0 3px 12px rgba(30,60,120,.12)}
.evh h2{font-size:21px;font-weight:800;line-height:1.2}
.kv{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.4;margin-top:9px}
.kv .k{width:24px;text-align:center;flex:none;font-size:17px}
.addr{color:#2f6fe4;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.dir{display:inline-flex;align-items:center;gap:4px;background:#eef4ff;color:#2f6fe4;font-weight:800;font-size:13.5px;border-radius:10px;padding:6px 10px;margin-top:6px}
.faces{display:flex;align-items:center;margin-top:8px}
.faces img,.faces .av{width:32px;height:32px;border-radius:50%;border:2px solid #fff;margin-left:-8px;object-fit:cover}
.faces img:first-child,.faces .av:first-child{margin-left:0}
.plan .li{min-height:56px}
.plan .it{font-size:15.5px;font-weight:700}
.bring{font-size:13.5px;font-weight:800;border-radius:11px;padding:8px 10px;white-space:nowrap;min-height:38px}
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px}
.gal img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#e6ecf7}
/* chats */
.srch{display:flex;align-items:center;gap:8px;margin:4px 14px 10px;background:#fff;border-radius:14px;padding:0 12px;border:1.5px solid #e1e8f4;min-height:46px}
.srch input{border:none;outline:none;flex:1;font-size:16px;background:none;min-width:0}
.fl{display:flex;gap:5px;margin:0 12px 8px}
.fl button{flex:1;text-align:center;padding:9px 2px;border-radius:18px;font-weight:700;font-size:13.5px;white-space:nowrap;background:#fff;color:#4a5872;min-height:40px}
.fl button.on{background:#2f6fe4;color:#fff}
.fl .badge{min-width:18px;height:18px;font-size:11px;padding:0 5px;margin-left:2px}
.lab{font-size:12.5px;font-weight:800;color:#8a97ab;margin:12px 20px 6px;letter-spacing:.4px}
.swipe{position:relative;overflow:hidden}
.swipe .del{position:absolute;right:0;top:0;bottom:0;width:96px;background:#ff3b30;color:#fff;font-weight:800;font-size:14.5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}
.swipe .li{transition:transform .18s;touch-action:pan-y}
.req{display:flex;align-items:center;gap:10px;margin:0 14px 8px;background:#fff;border-radius:16px;padding:12px 14px;font-weight:800;font-size:15px;color:#2f6fe4;min-height:54px;box-shadow:0 1px 3px rgba(30,60,120,.08)}
.favs{display:flex;gap:6px;overflow-x:auto;padding:12px 8px 10px;scrollbar-width:none;touch-action:pan-x}
.favs::-webkit-scrollbar{display:none}
.fv{width:76px;flex:none;text-align:center;position:relative;user-select:none;-webkit-user-select:none}
.fv img,.fv .av{width:60px;height:60px;border-radius:50%;margin:0 auto;object-fit:cover;border:3px solid #ffe08a}
.fv .n{font-size:12.5px;font-weight:700;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv .num{position:absolute;top:0;left:8px;background:#f5b400;color:#fff;font-size:11px;font-weight:800;border-radius:9px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.fv.drag{opacity:.9;transform:scale(1.12);z-index:3}
.fv.ph{opacity:.25}
/* conversation */
.cv{display:flex;flex-direction:column;height:100vh;height:100dvh;max-width:480px;margin:0 auto}
.cvh{display:flex;align-items:center;gap:8px;padding:8px 10px;background:rgba(255,255,255,.85);backdrop-filter:blur(8px);border-bottom:1px solid #e6ecf5;flex:none}
.cvh .bk{width:40px;height:44px;font-size:30px;color:#2f6fe4;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1}
.cvh .t{font-size:17px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cvh .s{font-size:12.5px;color:#8a97ab}
.msgs{flex:1;overflow-y:auto;padding:10px 10px 6px;-webkit-overflow-scrolling:touch}
.day{text-align:center;margin:10px 0 6px}
.day span{background:#fff;color:#6b778c;font-size:12px;font-weight:700;border-radius:10px;padding:4px 10px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.m{display:flex;gap:6px;margin:3px 0;align-items:flex-end}
.m.me{justify-content:flex-end}
.m .av{width:30px;height:30px}
.bub{max-width:78%;background:#fff;border-radius:18px 18px 18px 6px;padding:8px 12px 6px;font-size:16px;line-height:1.35;box-shadow:0 1px 2px rgba(30,60,120,.08);word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.m.me .bub{background:#dcebff;border-radius:18px 18px 6px 18px}
.bub .who{font-size:12.5px;font-weight:800;color:#6b48b8;margin-bottom:2px;white-space:nowrap}
.bub .meta{font-size:11px;color:#8a97ab;text-align:right;margin-top:2px;white-space:nowrap}
.bub img{border-radius:12px;max-width:100%;max-height:300px;margin:2px 0 2px;object-fit:cover;min-height:80px;background:#e6ecf7}
.bub.del{color:#8a97ab;font-style:italic;background:#f6f7fa}
.bub.held{background:#fff6f5;color:#b04a42;font-style:italic}
.bub.hold{outline:3px solid #2f6fe4}
.cvbar{display:flex;align-items:flex-end;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.92);border-top:1px solid #e6ecf5;flex:none}
.cvbar textarea{flex:1;border:1.5px solid #d7e1f1;border-radius:22px;padding:11px 14px;font-size:16px;max-height:120px;min-height:46px;resize:none;outline:none;line-height:1.3}
.cvbar .cb{width:46px;height:46px;border-radius:50%;font-size:22px;display:flex;align-items:center;justify-content:center;flex:none;background:#eef4ff}
.cvbar .send{background:#2f6fe4;color:#fff}
.banner{margin:8px 10px;background:#fffbe8;border:1.5px solid #f6e3a1;border-radius:14px;padding:10px 12px;font-size:13.5px;font-weight:600;color:#7a5b00;text-align:center}
.rqbox{background:#fff;padding:14px;border-top:1px solid #e6ecf5;text-align:center}
.rqbox p{font-size:14.5px;color:#5b6a82;margin-bottom:10px}
/* sheet */
#sheetbg{position:fixed;inset:0;background:rgba(15,25,45,.45);z-index:90;display:none}
#sheet{position:fixed;left:0;right:0;bottom:0;max-width:480px;margin:0 auto;background:#fff;border-radius:22px 22px 0 0;z-index:91;padding:8px 14px calc(16px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .22s;max-height:88vh;overflow-y:auto}
#sheet.on{transform:none}
#sheet .grab{width:44px;height:5px;border-radius:3px;background:#d7dde8;margin:2px auto 10px}
#sheet h3{font-size:18px;font-weight:800;margin:2px 4px 10px}
.sbtn{display:flex;align-items:center;gap:12px;width:100%;padding:13px 10px;font-size:17px;font-weight:700;border-radius:14px;min-height:54px;text-align:left}
.sbtn:active{background:#f1f4fa}
.sbtn.red{color:#d63a30}
/* toast */
#toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(20px);background:#1c2433;color:#fff;padding:11px 18px;border-radius:14px;font-size:15px;font-weight:700;opacity:0;transition:.25s;z-index:100;max-width:88vw;text-align:center;pointer-events:none}
#toast.on{opacity:1;transform:translateX(-50%)}
/* viewer */
#viewer{position:fixed;inset:0;background:#000;z-index:120;display:none;flex-direction:column}
#viewer img{flex:1;object-fit:contain;width:100%;min-height:0}
#viewer .vb{display:flex;gap:10px;padding:12px;justify-content:space-between}
/* calendar */
.calh{display:flex;align-items:center;padding:4px 10px}
.calh .mo{flex:1;text-align:center;font-size:21px;font-weight:800}
.calh button{width:46px;height:46px;font-size:24px;color:#2f6fe4;font-weight:800}
.grid{display:grid;grid-template-columns:repeat(7,1fr);padding:6px 8px 10px;gap:2px}
.grid .wd{text-align:center;font-size:12px;font-weight:800;color:#8a97ab;padding:4px 0}
.grid .d{aspect-ratio:1/1.05;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:6px;font-size:15.5px;font-weight:700;color:#2a3a55;position:relative}
.grid .d.o{color:#c3cad6}
.grid .d.t{background:#eef4ff;color:#2f6fe4}
.grid .d.s{background:#2f6fe4;color:#fff}
.grid .d .dots{display:flex;gap:2px;margin-top:4px}
.grid .d .dots i{width:6px;height:6px;border-radius:3px;display:block}
.c-blue{background:#2f6fe4}.c-green{background:#2fbf71}.c-pink{background:#e8558f}.c-orange{background:#ff8a3d}.c-purple{background:#8c5cf0}
.yr{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:10px 14px}
.yr button{background:#fff;border-radius:14px;min-height:56px;font-size:16px;font-weight:800;color:#2a3a55}
.yr button.on{background:#2f6fe4;color:#fff}
.ci{display:flex;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid #eef2f8;min-height:58px}
.ci:last-child{border-bottom:none}
.ci .bar2{width:5px;align-self:stretch;border-radius:3px;flex:none}
.colors{display:flex;gap:10px}
.colors button{width:40px;height:40px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1.5px #d7e1f1}
.colors button.on{box-shadow:0 0 0 3px #1c2433}
/* map */
#map{height:calc(100vh - 170px);height:calc(100dvh - 170px);margin:0 10px;border-radius:18px;overflow:hidden;z-index:1;background:#e8eef6}
.msrch{margin:4px 14px 8px;position:relative;z-index:5}
.you{width:18px;height:18px;border-radius:50%;background:#2f80ed;border:3px solid #fff;box-shadow:0 0 0 6px rgba(47,128,237,.25)}
.pin2{background:#fff;border-radius:14px;padding:3px 8px 3px 3px;display:flex;align-items:center;gap:5px;box-shadow:0 2px 6px rgba(0,0,0,.25);font:800 12px Roboto,system-ui;color:#1c2433;white-space:nowrap}
.pin2 img{width:26px;height:26px;border-radius:9px;object-fit:cover}
.leaflet-popup-content{margin:10px 12px;font-family:Roboto,system-ui}
/* qr */
.qr{background:#fff;border-radius:22px;padding:18px;margin:6px auto 14px;width:244px;box-shadow:0 2px 10px rgba(30,60,120,.1)}
.qr img,.qr canvas,.qr svg{width:208px;height:208px;display:block;margin:0 auto}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 14px}

.tabs.sm button{font-size:12.5px;letter-spacing:-.2px}
.tabs.sm.wrap{flex-wrap:wrap;row-gap:4px}.tabs.sm.wrap button{flex:1 0 30%;font-size:13.5px}

/* v3: 🔗 Link Google Calendar */
.gcal{margin-top:12px}
.gs{display:flex;align-items:center;gap:10px;margin:12px 4px 10px;font-size:15.5px;font-weight:700;color:#24324a;line-height:1.3}
.gs>b{flex:none;width:30px;height:30px;border-radius:50%;background:#fde7f0;color:#c2417a;display:flex;align-items:center;justify-content:center;font-size:15px}
.gbig{min-height:54px;font-size:17px;text-decoration:none}
#sheet .hint a{color:#2f6fe4;font-weight:700;text-decoration:none;white-space:nowrap}

/* ===== step 2: games ===== */
.ib .badge.dot{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;font-size:11px;border:2px solid #fff}
.gpick{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.gpick button{background:#f4f7fd;border-radius:16px;min-height:64px;display:flex;align-items:center;gap:9px;padding:8px 12px;font-size:16px;font-weight:800;color:#2a3a55;text-align:left}
.gpick button span{font-size:28px}
.ggrid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin:0 10px}
.gtile{background:#fff;border-radius:20px;padding:10px 6px 10px;box-shadow:0 3px 10px rgba(30,60,120,.1);display:flex;flex-direction:column;align-items:center;gap:3px;min-height:150px}
.gtile b{font-size:13.5px;font-weight:800;line-height:1.15;color:#1c2433}.gtile small{font-size:11px;color:#8a97ab;margin-top:-2px}
.gtile .gp{margin-top:auto;background:#2f6fe4;color:#fff;font-weight:800;font-size:13.5px;border-radius:12px;padding:6px 18px}
.gmini{height:86px;display:flex;align-items:center;justify-content:center}
.mb8{display:grid;grid-template-columns:repeat(8,10px);border-radius:5px;overflow:hidden}
.mb8 i{width:10px;height:10px;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:9px;line-height:1}
.mb8 .lt{background:#f0d9b5}.mb8 .dk{background:#b58863}
.mb8.ck .lt{background:#f3e3c3}.mb8.ck .dk{background:#7a9c59}.mb8 b{width:8px;height:8px;border-radius:50%}
.mb8 b.d1{background:#e53935}.mb8 b.d2{background:#fbf6ea;box-shadow:0 0 0 1px #9a8a6a}
.pw{color:#fff;-webkit-text-stroke:1px #2a2a2a;text-shadow:0 1px 1px rgba(0,0,0,.35)}.pb{color:#1a1a1a;text-shadow:0 1px 0 rgba(255,255,255,.25)}
.mttt{display:grid;grid-template-columns:repeat(3,24px);gap:3px;background:#1c2433;border-radius:4px}
.mttt i{width:24px;height:24px;background:#fff;display:flex;align-items:center;justify-content:center;font:900 15px system-ui;font-style:normal}
.mttt i.x{color:#ff4d4d}.mttt i.o{color:#2f6fe4}
.mc4{display:grid;grid-template-columns:repeat(7,10px);gap:2px;background:#3b6fe8;padding:4px;border-radius:7px}
.mc4 i{width:10px;height:10px;border-radius:50%;background:#fff}.mc4 i.c1{background:#ff4d4d}.mc4 i.c2{background:#ffd23f}
.mbg{position:relative;width:86px;height:70px;background:#c8955f;border:3px solid #6b3f1d;border-radius:6px;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:1fr 1fr;overflow:hidden}
.mbg i{clip-path:polygon(0 0,100% 0,50% 90%)}.mbg i.u{clip-path:polygon(50% 10%,100% 100%,0 100%)}.mbg i.a{background:#7a2e1f}.mbg i.b{background:#f3ead7}
.mbg .bgc{position:absolute;width:9px;height:9px;border-radius:50%}.mbg .c1{background:#fff;box-shadow:0 0 0 1px #555}.mbg .c2{background:#b33a2b;box-shadow:0 0 0 1px #400}
.mrv{display:grid;grid-template-columns:repeat(8,10px);gap:1px;background:#1d6b3a;padding:2px;border-radius:4px}
.mrv i{width:10px;height:10px;background:#2e8b4f;display:flex;align-items:center;justify-content:center}.mrv b{width:8px;height:8px;border-radius:50%}
.r1{background:#1c1c1c}.r2{background:#fff;box-shadow:inset 0 0 0 1px #bbb}
.mmem{display:grid;grid-template-columns:repeat(4,19px);gap:3px}
.mmem i{width:19px;height:19px;border-radius:5px;background:linear-gradient(135deg,#7b5cff,#2f80ed);color:#fff;font-size:9px;font-style:normal;display:flex;align-items:center;justify-content:center}
.mmem i.up{background:#fff;box-shadow:0 0 0 1px #d7e1f1;font-size:13px}
.yt{background:#ff4d4d;color:#fff}.gli{width:44px;height:44px;border-radius:14px;background:#f4f7fd;display:flex;align-items:center;justify-content:center;font-size:24px;flex:none}
.rtot{display:flex;justify-content:space-around;text-align:center;margin-top:6px}.rtot b{display:block;font-size:30px;font-weight:900}.rtot span{font-size:13px;color:#6b778c;font-weight:700}
.rbig{text-align:right;flex:none}.rbig b{font-size:20px;font-weight:900;display:block}.rbig small{font-size:11.5px;color:#8a97ab}
/* game screen */
.gscr{min-height:100vh;padding-bottom:20px;position:relative;overflow:hidden}
.gtop{display:flex;align-items:center;padding:8px 10px 2px}
.gx{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.75);color:#8a97ab;font-size:15px;font-weight:800;flex:none;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.gtt{flex:1;text-align:center;font-weight:800;font-size:18px}
.gplayers{display:flex;justify-content:space-around;align-items:center;margin:4px 14px 0}
.gface{text-align:center;width:96px}.gfc{width:62px;height:62px;border-radius:50%;border:4px solid #d7e1f1;margin:0 auto;position:relative;background:#e8ecff;display:flex;align-items:center;justify-content:center;font-size:30px}
.gfc img,.gfc .adm{width:100%;height:100%;border-radius:50%;object-fit:cover}.gfc .gmk{position:absolute;right:-8px;bottom:-6px;font-size:22px;line-height:1}
.gfn{font-size:12.5px;font-weight:800;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grec{text-align:center;min-width:100px}.grec b{font-size:24px;font-weight:900;display:block}
.gturn{background:#e8ecf5;color:#5b6a82;border-radius:10px;padding:4px 10px;font-size:12.5px;font-weight:800;margin-top:3px;display:inline-block}.gturn.on{background:#ff4d4d;color:#fff}
.gmsg{text-align:center;font-size:14.5px;font-weight:700;color:#2a3a55;min-height:24px;margin:6px 12px 4px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.gboard{display:flex;justify-content:center;margin:0 auto;position:relative}
.grx{display:flex;justify-content:center;gap:4px;margin:14px 8px 0;flex-wrap:wrap}
.grx button{width:42px;height:42px;border-radius:50%;background:#fff;font-size:22px;box-shadow:0 1px 4px rgba(30,60,120,.12)}
.grx button:active{transform:scale(1.3)}
#fly{position:fixed;inset:0;pointer-events:none;z-index:50}
.flye{position:absolute;bottom:120px;font-size:54px;animation:flyup 2.5s ease-out forwards}
@keyframes flyup{0%{transform:translateY(0) scale(.6);opacity:0}15%{opacity:1;transform:translateY(-40px) scale(1.2)}100%{transform:translateY(-420px) scale(1);opacity:0}}
.gover{margin:12px 14px 0;background:#fff;border-radius:20px;padding:14px 16px;text-align:center;box-shadow:0 3px 12px rgba(30,60,120,.12)}
.gover b{font-size:22px;font-weight:900}.gover.win{background:linear-gradient(135deg,#fff7d6,#ffe6f0)}
.gwait{text-align:center;margin:14px;width:100%}.gwait h3{font-size:19px;margin-top:6px;line-height:1.3}
.gsetup{margin:10px 14px;width:100%;text-align:center}.gsetup h3{font-size:19px;margin-bottom:6px}
.spick{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.spick.col{grid-template-columns:repeat(3,1fr)}
.spick button{background:#f4f7fd;border-radius:16px;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative;border:3px solid transparent}
.spick button.on{border-color:#2f6fe4;background:#eef4ff}.spick button.taken{opacity:.45}
.spick em{font-style:normal;font-size:10.5px;font-weight:800;color:#8a97ab}
.bige{font-size:34px}.cdot{width:36px;height:36px;border-radius:50%;box-shadow:inset 0 -3px 0 rgba(0,0,0,.15)}.spick small{font-size:12px;font-weight:800;color:#5b6a82}
.gup{display:block;margin:16px auto 0;color:#8a97ab;font-size:14px;font-weight:700;padding:8px}
.ginvpop{position:fixed;left:10px;right:10px;top:calc(62px + env(safe-area-inset-top,0px));max-width:460px;margin:0 auto;background:#fff;border-radius:18px;box-shadow:0 8px 28px rgba(30,60,120,.28);display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px;z-index:120;animation:popin .3s}
.ginvpop .btn{min-height:42px;padding:6px 16px}.ginvpop.gone{transition:transform .2s,opacity .2s;transform:translateY(-24px);opacity:0}/* QA82 (Y4): below the top bar, so ‹ back stays free; swipe up / ✕ / any page change closes it */@keyframes popin{from{transform:translateY(-30px);opacity:0}}
/* boards */
.tttb{display:grid;grid-template-columns:repeat(3,min(29vw,112px));gap:7px;background:#3c4b63;padding:7px;border-radius:18px}
.tttb button{aspect-ratio:1;background:#fff;border-radius:12px;font-size:min(16vw,62px);display:flex;align-items:center;justify-content:center}
.tttb button.win{background:#fff4c2}.tttb button.last span{animation:pop .35s}@keyframes pop{from{transform:scale(.3)}}
.c4b{display:flex;gap:0;background:linear-gradient(180deg,#3b6fe8,#2a55c4);padding:7px 5px;border-radius:18px;box-shadow:0 6px 16px rgba(42,85,196,.35)}
.c4col{display:flex;flex-direction:column;gap:6px;padding:0 3px;border-radius:12px}
.c4col i{width:min(10.6vw,44px);height:min(10.6vw,44px);border-radius:50%;background:#fff;box-shadow:inset 0 3px 5px rgba(0,0,0,.25)}
.c4col i.drop{animation:drop .4s ease-in}.c4col i.win{box-shadow:0 0 0 4px #fff,inset 0 3px 5px rgba(0,0,0,.25);animation:pulse 1s infinite alternate}
@keyframes drop{from{transform:translateY(-220px)}}@keyframes pulse{to{transform:scale(.85)}}
.chb{display:grid;grid-template-columns:repeat(8,min(11.6vw,46px));border-radius:8px;overflow:hidden;box-shadow:0 6px 16px rgba(80,50,20,.3);border:4px solid #7a5230}
.chb button{aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;font-size:min(9.2vw,37px);line-height:1;padding:0}
.chb .lt{background:#f0d9b5}.chb .dk{background:#b58863}.chb .lm{box-shadow:inset 0 0 0 100px rgba(255,214,0,.35)}
.chb .sel{box-shadow:inset 0 0 0 100px rgba(47,111,228,.45)}.chb .chk{box-shadow:inset 0 0 14px 4px #ff2a2a}
.chb em{position:absolute;width:30%;height:30%;border-radius:50%;background:rgba(20,60,20,.35)}.chb em.cap{width:86%;height:86%;background:none;border:4px solid rgba(20,60,20,.35)}
.chb span{position:relative;z-index:1}
.ckb .lt{background:#f3e3c3}.ckb .dk{background:#7a9c59}
.ckb b{width:78%;height:78%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:min(5vw,20px);position:relative;z-index:1}
.ckb b.d1,.ckb b.d3{background:radial-gradient(circle at 40% 35%,#ff6b62,#c62828);box-shadow:0 3px 0 #7f1414,inset 0 0 0 3px rgba(255,255,255,.18)}
.ckb b.d2,.ckb b.d4{background:radial-gradient(circle at 40% 35%,#fffdf6,#e7dcc3);box-shadow:0 3px 0 #9a8a6a,inset 0 0 0 3px rgba(0,0,0,.06)}
.ckb .must b{animation:pulse .7s infinite alternate}
.rvb{display:grid;grid-template-columns:repeat(8,min(11.2vw,44px));gap:2px;background:#1d6b3a;padding:4px;border-radius:10px;border:4px solid #144d29}
.rvb button{aspect-ratio:1;background:#2e8b4f;display:flex;align-items:center;justify-content:center;padding:0}
.rvb b{width:84%;height:84%;border-radius:50%;box-shadow:0 2px 2px rgba(0,0,0,.35)}.rvb b.flip{animation:flip .4s}@keyframes flip{from{transform:rotateY(90deg)}}
.rvb em{width:26%;height:26%;border-radius:50%;background:rgba(255,255,255,.45)}
.rcount{display:inline-flex;align-items:center;gap:5px;font-size:16px}.rcount b{width:18px;height:18px;border-radius:50%;display:inline-block}
.taken{text-align:center;margin-top:6px;font-size:22px}.taken span{font-size:13px;font-weight:700;color:#6b778c}.taken i{font-style:normal;font-size:22px}
.promo{display:flex;justify-content:space-around}.promo button{width:70px;height:70px;border-radius:16px;background:#f0d9b5;font-size:46px}
.memb{display:grid;grid-template-columns:repeat(4,min(21vw,82px));gap:8px}
.memb button{aspect-ratio:1;border-radius:14px;background:linear-gradient(135deg,#7b5cff,#2f80ed);box-shadow:0 3px 8px rgba(47,80,200,.3);display:flex;align-items:center;justify-content:center;transition:transform .25s}
.memb button i{font-style:normal;font-size:26px;color:rgba(255,255,255,.75)}
.memb button.up{background:#fff;transform:rotateY(0);box-shadow:0 2px 6px rgba(30,60,120,.15)}.memb button.up span{font-size:min(10vw,40px);animation:pop .3s}
.memb button.g1{box-shadow:0 0 0 3px #2f6fe4}.memb button.g2{box-shadow:0 0 0 3px #ff8a3d}
/* backgammon */
.bgb{display:grid;grid-template-columns:1fr 24px 1fr;grid-template-rows:auto auto;width:min(96vw,384px);background:#c8955f;border:6px solid #6b3f1d;border-radius:12px;column-gap:0;row-gap:16px;padding:4px 0}
.bgb .half{display:grid;grid-template-columns:repeat(6,1fr)}
.bgb .bar{background:#6b3f1d;display:flex;flex-direction:column;justify-content:space-between;align-items:center;grid-column:2;grid-row:1 / span 2;padding:6px 0}
.bgb>.half:nth-child(1){grid-column:1;grid-row:1}.bgb>.half:nth-child(3){grid-column:3;grid-row:1}.bgb>.half:nth-child(4){grid-column:1;grid-row:2}.bgb>.half:nth-child(6){grid-column:3;grid-row:2}
.bgb .bar.nob{display:none}
.pt{position:relative;height:146px;display:flex;flex-direction:column;align-items:center;padding:0}
.pt .tri{position:absolute;inset:0 2px;clip-path:polygon(0 0,100% 0,50% 88%)}.pt.bot .tri{clip-path:polygon(50% 12%,100% 100%,0 100%)}
.pt.a .tri{background:#7a2e1f}.pt.b .tri{background:#f3ead7}
.pt .stk{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;z-index:1}.pt.bot{justify-content:flex-end}.pt.bot .stk{flex-direction:column-reverse}
.bc{width:min(7vw,27px);height:min(7vw,27px);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.bc.p1{background:radial-gradient(circle at 40% 35%,#fff,#e2d8c2);box-shadow:0 1px 0 #7a6a4a;color:#333}.bc.p2{background:radial-gradient(circle at 40% 35%,#d4553f,#8f2a1c);box-shadow:0 1px 0 #3f0f08;color:#fff}
.pt.can .stk b:first-child,.pt.bot.can .stk b:first-child{box-shadow:0 0 0 3px #2fbf71}.pt.sel{background:rgba(47,111,228,.25)}
.pt.tgt::after{content:"";position:absolute;left:50%;top:44%;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:#2fbf71;box-shadow:0 0 0 3px #fff;z-index:2}
.bar.can{box-shadow:inset 0 0 0 3px #2fbf71}.bar.sel{background:#2f6fe4}.bar .bt,.bar .bb{display:flex;flex-direction:column;gap:2px;align-items:center}
.dice{display:inline-flex;gap:6px}.die{width:30px;height:30px;background:#fff;border-radius:7px;box-shadow:0 2px 4px rgba(0,0,0,.25);display:grid;grid-template-columns:repeat(3,1fr);padding:3px}
.die i{width:6px;height:6px;border-radius:50%;margin:auto}.die i.on{background:#1c2433}
.bgx{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 12px 0;flex-wrap:wrap;font-size:13.5px;font-weight:700;color:#5b6a82}
/* game card in chat */
.bub.gcard{background:#fff;border:2px solid #dfe7fb;min-width:230px}
.m.me .bub.gcard{background:#f4f8ff}
.gch{display:flex;align-items:center;gap:10px}.gci{font-size:32px;width:46px;height:46px;border-radius:14px;background:#f4f7fd;display:flex;align-items:center;justify-content:center;flex:none}
.gch b{font-size:16px}.gcb{display:flex;gap:7px;margin-top:9px}.gcb .btn{flex:1;min-height:42px;padding:6px 10px;font-size:14.5px}
.tripav{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#bfe6ff,#ffe3c2);font-size:24px}
/* ===== step 2: trips ===== */
.trc{display:flex;align-items:center;gap:12px;padding:10px 12px}.trc img,.trc .trph{width:62px;height:62px;border-radius:16px;object-fit:cover;flex:none}
.trph{background:linear-gradient(135deg,#bfe6ff,#ffe3c2);display:flex;align-items:center;justify-content:center;font-size:30px}.trc .tag{margin-top:5px}
.tripnow{margin:10px 14px 0;width:calc(100% - 28px);background:linear-gradient(135deg,#e2f4ff,#fff1de);border-radius:18px;padding:12px 14px;display:flex;align-items:center;gap:12px;text-align:left;box-shadow:0 2px 8px rgba(30,60,120,.1)}
.tripnow .ti{font-size:30px}.tripnow b{display:block;font-size:17px}.tripnow small{font-size:13.5px;color:#4b5a72;font-weight:600}
.trh h1{font-size:20px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trh .cg{font-size:13px;font-weight:600}
.trban{margin:2px 14px 8px;background:#fff;border-radius:16px;padding:10px 14px;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;box-shadow:0 1px 3px rgba(30,60,120,.08)}
.trban span{flex:1}.trban b{background:#fff1d6;color:#a35b00;border-radius:10px;padding:4px 10px;font-size:13px;white-space:nowrap}
.ttabs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:4px;padding:0 8px!important}
.ttabs button{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12.5px!important;padding:6px 2px!important;min-height:54px}.ttabs button span{font-size:20px}
.idc{padding:12px 14px;overflow:hidden}.idp{width:calc(100% + 28px);margin:-12px -14px 10px;height:150px;object-fit:cover}
.idt{display:flex;gap:11px;align-items:flex-start}.idi{width:44px;height:44px;border-radius:13px;background:#f4f7fd;display:flex;align-items:center;justify-content:center;font-size:24px;flex:none}
.idt b{font-size:16.5px;display:block;line-height:1.25}.lnk{display:inline-block;margin-top:4px;font-size:13.5px;font-weight:700;background:#eef4ff;border-radius:9px;padding:3px 9px}
.idv{display:flex;align-items:center;gap:6px;margin-top:10px}
.vb{white-space:nowrap;border:1.5px solid #e1e7f2;border-radius:20px;padding:7px 10px;font-size:14px;font-weight:800;color:#3c4b63;min-height:40px;background:#fff}.vb.on{background:#fff1f6;border-color:#ff8fb1;color:#c2185b}
.addp{white-space:nowrap;background:#2f6fe4;color:#fff;border-radius:12px;font-size:14px;font-weight:800;padding:8px 10px;min-height:40px}.inplan{background:#e3f6ea;color:#1d7a43;border-radius:12px;font-size:13.5px;font-weight:800;padding:8px 10px}
.idc .by{font-size:12.5px;color:#8a97ab;margin-top:7px;display:flex;align-items:center}.lkdel{margin-left:auto;font-size:15px;opacity:.55;padding:2px 4px}
.pday .pdh{font-size:15px;font-weight:800;color:#5b6a82;margin:12px 18px 6px}
.pr{display:flex;align-items:center;gap:11px;padding:9px 14px;border-bottom:1px solid #eef2f8;min-height:58px}.pr:last-child{border-bottom:none}
.ptm{width:52px;flex:none;text-align:center;font-size:13px;font-weight:800;color:#2f6fe4;line-height:1.15}
.pic{width:40px;height:40px;border-radius:12px;background:#f4f7fd;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none;overflow:hidden}.pic img{width:100%;height:100%;object-fit:cover}
.pr b{font-size:15.5px}.pr.big{min-height:66px}.pr.big b{font-size:17px}
.nextc{margin:6px 14px 12px;background:linear-gradient(135deg,#2f6fe4,#7b5cff);color:#fff;border-radius:24px;padding:18px 16px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 20px rgba(47,111,228,.35)}
.nci{width:66px;height:66px;border-radius:20px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:38px;flex:none;overflow:hidden}.nci img{width:100%;height:100%;object-fit:cover}
.ncl{font-size:13.5px;font-weight:800;opacity:.9;letter-spacing:.3px}.nct{font-size:23px;font-weight:900;line-height:1.15;margin-top:3px}.ncm{font-size:15px;font-weight:600;margin-top:5px;opacity:.95}
.daycard{margin:0 14px 12px;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 2px 8px rgba(30,60,120,.1)}
.dch{display:flex;align-items:baseline;gap:10px;padding:12px 16px 6px}.dch b{font-size:22px;font-weight:900}.dch span{font-size:14px;color:#6b778c;font-weight:700}
.daycard.tmr{background:#fbfcff}
.nowbtns{display:flex;gap:10px;margin:4px 14px 0}.nowbtns .btn{flex:1;min-height:52px;font-size:16px}
.nowmore{display:flex;justify-content:center;gap:8px;margin:10px 14px 0}.nowmore button{background:#fff;border-radius:14px;padding:8px 12px;font-size:14px;font-weight:800;color:#3c4b63;min-height:42px;box-shadow:0 1px 3px rgba(30,60,120,.08)}
.ctot{display:flex;justify-content:space-around;text-align:center}.ctot b{display:block;font-size:26px;font-weight:900}.ctot span{font-size:13px;color:#6b778c;font-weight:700}
.amt{font-size:17px;font-weight:900;flex:none}.li.hl{background:#fffbe8}
.pstrip{display:flex;gap:10px;overflow-x:auto;padding:2px 0 10px}.pstrip span{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:56px}.pstrip small{font-size:11px;font-weight:700;color:#5b6a82;white-space:nowrap}

/* colour emoji first (Android uses Noto Color Emoji) */
.gtic,.emj,.tttb span,.grx button,.flye,.bige,.gfc .gmk,.gci,.gli,.idi,.pic,.nci,.tripav,.trph,.gpick span,.memb span,.ttabs button span,.gwait>div:first-child,.nowmore button,.ti{font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",Roboto,sans-serif}
.bring-b{margin-top:6px;min-height:40px!important;padding:6px 12px!important;font-size:14.5px!important}
.apnote{background:#fff7e0;border:1px solid #f3dc9a;color:#6b5310;border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.35;margin:0 0 12px}
.addrow{width:100%;justify-content:center;color:#2f6fe4;font-weight:800;font-size:15.5px;background:none;border:0}
.acc3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.acc3 button{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px solid #e1e7f2;border-radius:16px;padding:12px 4px;min-height:78px;font-size:14.5px;font-weight:800;color:#33425c;background:#fff}
.acc3 button .emj{font-size:26px;line-height:1}
.acc3 button.on{border-color:#2f6fe4;background:#eef4ff;color:#1d4fb8;box-shadow:0 0 0 2px rgba(47,111,228,.15)}
.pick.sq.pesm{aspect-ratio:auto;height:96px}
.card.more{padding:0;overflow:hidden}
.morebtn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:16px;font-size:16px;font-weight:800;color:#2f6fe4;background:none;border:0;min-height:56px}
.morebtn small{color:#8a97ab;font-weight:700}.morebtn b{font-size:20px;color:#8a97ab}
.pe label{font-weight:800}
/* ⭕ status */
.strow{display:flex;gap:12px;overflow-x:auto;padding:10px 14px 4px;scrollbar-width:none;align-items:flex-start}.strow::-webkit-scrollbar{display:none}
.stc{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:5px;width:66px;position:relative;background:none;border:0;padding:0}
.stc small{font-size:12.5px;font-weight:700;color:#33425c;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stc .ring{width:62px;height:62px;border-radius:50%;padding:3px;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 0 0 3px #c9d1de}
.stc .ring.new{box-shadow:0 0 0 3px #16a37f}.stc .ring.mine{box-shadow:0 0 0 3px #2f6fe4}.stc .ring.none{box-shadow:0 0 0 2px #e1e7f2}
.stc .ring .av{width:56px;height:56px;border-radius:50%;object-fit:cover;margin:0}
.stc .sttx{display:flex;align-items:center;justify-content:center;color:#fff;font-size:9px;font-weight:800;text-align:center;line-height:1.1;padding:4px;overflow:hidden}
.stplus{position:absolute;top:42px;left:44px;width:22px;height:22px;border-radius:50%;background:#2f6fe4;color:#fff;font-style:normal;font-weight:900;font-size:17px;line-height:20px;text-align:center;border:2px solid #fff}
.sthint{align-self:center;font-size:13px;color:#8a97ab;max-width:200px;line-height:1.3}
.sttxt{border-radius:16px;min-height:180px;display:flex;align-items:center;padding:14px}
.sttxt textarea{width:100%;background:transparent;border:0;outline:0;color:#fff;font-size:22px;font-weight:800;text-align:center;resize:none;min-height:150px;font-family:inherit}
.sttxt textarea::placeholder{color:rgba(255,255,255,.75)}
.stbgs{display:flex;gap:10px;justify-content:center;margin:10px 0 2px}.stbgs button{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #d4dbe6}.stbgs button.on{box-shadow:0 0 0 3px #1f2a44}
#stv{position:fixed;inset:0;background:#000;z-index:200;color:#fff;display:flex;flex-direction:column;max-width:480px;margin:0 auto}
body.stopen #fab{display:none}
.stbars{display:flex;gap:4px;padding:10px 10px 0}.stbars i{flex:1;height:3px;background:rgba(255,255,255,.35);border-radius:2px;overflow:hidden}.stbars b{display:block;height:100%;background:#fff}
.sttop{display:flex;align-items:center;gap:10px;padding:10px 10px 8px;position:relative;z-index:3}.sttop .av{width:40px;height:40px;border-radius:50%;margin:0}
.stn{font-weight:800;font-size:16px}.stt{font-size:12.5px;opacity:.8}
.stb{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:20px;font-weight:800;border:0}
.stbody{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}.stbody img{width:100%;max-height:100%;object-fit:contain}
.stbig{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:30px;font-size:28px;font-weight:800;text-align:center;line-height:1.3;white-space:pre-wrap;word-break:break-word}
.stcap{position:absolute;left:0;right:0;bottom:24px;text-align:center;padding:10px 16px;background:linear-gradient(transparent,rgba(0,0,0,.6));font-size:16.5px;font-weight:600;z-index:3}
.stfoot{position:absolute;left:0;right:0;bottom:0;display:flex;gap:10px;justify-content:center;padding:12px 12px calc(14px + env(safe-area-inset-bottom));z-index:4;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.stfoot button{background:rgba(255,255,255,.18);color:#fff;border:0;border-radius:22px;padding:10px 16px;font-weight:800;font-size:15px;min-height:44px}
.stfoot ~ .stcap{bottom:76px}
.sttapl,.sttapr{position:absolute;top:70px;bottom:80px;width:35%;z-index:2}.sttapl{left:0}.sttapr{right:0;width:65%}
/* 🎤 voice notes */
.cb.send.mic{background:#16a37f}
.vrec{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#fff;border-top:1px solid #e6ebf3}
.vrec .vdot{width:12px;height:12px;border-radius:50%;background:#e23b3b;animation:vblink 1s infinite}
@keyframes vblink{50%{opacity:.25}}
.vrec .vtime{font-weight:800;font-size:17px;font-variant-numeric:tabular-nums;color:#1f2a44}
.vrec .vhint{flex:1;color:#8a97ab;font-size:14px}
.vn{display:flex;align-items:center;gap:8px;min-width:210px;padding:2px 0 4px}
.vnp{width:40px;height:40px;border-radius:50%;background:#2f6fe4;color:#fff;font-size:17px;flex:0 0 auto;border:0;display:flex;align-items:center;justify-content:center;font-family:system-ui,sans-serif;font-weight:900;letter-spacing:-2px}
.bub.me .vnp,.mine .vnp{background:#fff;color:#2f6fe4}
.vnbar{flex:1;height:5px;border-radius:3px;background:rgba(120,140,170,.3);overflow:hidden}.vnbar i{display:block;height:100%;width:0;background:#2f6fe4;transition:width .2s linear}
.vnt{font-size:13px;font-weight:700;opacity:.75;font-variant-numeric:tabular-nums;min-width:34px}
body.stopen #sheetbg{z-index:250}body.stopen #sheet{z-index:260}body.stopen #toast,body.stopen .toast{z-index:270}
.pend{border-bottom:1px solid #eef1f6}.pend:last-child{border-bottom:0}
.tag[class*=" t-x"]{background:#eef1f7;color:#46536b}

.rnd3{grid-template-columns:1fr 1fr 1fr;gap:10px;margin:22px 12px 0}.rnd3 button{font-size:14px;padding:16px 4px 12px}.rnd3 .ci{width:58px;height:58px;font-size:28px}
.gbox{display:flex;align-items:center;gap:12px;width:calc(100% - 28px);margin:12px 14px 0;background:#fff;border-radius:18px;padding:12px 14px;box-shadow:0 2px 8px rgba(30,60,120,.1);text-align:left;color:#2a3a55}.gbox .ci{width:46px;height:46px;border-radius:50%;background:#e3f0ff;display:flex;align-items:center;justify-content:center;font-size:24px;flex:none}.gbox b{font-size:16px}.gbox .cg{font-size:13px;color:#6b7a90}

.home1 .sec{margin-top:10px}
.nexts{display:flex;align-items:center;gap:12px;margin:8px 14px 0;background:#fff;border-radius:18px;padding:10px 12px;box-shadow:0 2px 8px rgba(30,60,120,.1);color:#2a3a55}
.nexts .nph{width:62px;height:62px;border-radius:14px;background-size:cover;background-position:center;flex:none;background-color:#ffe9b8}
.nexts .npill{font-size:12px;font-weight:800;color:#d88a00;margin-bottom:2px}
.nexts b{font-size:16px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nexts .sp{min-width:0}
.nexts .cg{font-size:13px;color:#6b7a90;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home1 .cu{padding-top:7px;padding-bottom:7px}
.home1 .rnd3{margin-top:14px;gap:10px}
.home1 .rnd3 button{padding:10px 4px 9px;gap:6px;font-size:14px}
.home1 .rnd3 .ci{width:50px;height:50px;font-size:25px}

/* look 3 chosen */
.home1 .nexts{background:linear-gradient(135deg,#ff9a8b,#ff6a88 55%,#ff99ac);color:#fff}
.home1 .nexts .npill,.home1 .nexts .cg,.home1 .nexts .chev{color:#fff}
.home1 .rnd3{grid-template-columns:1fr 1fr 1fr;gap:12px}
.home1 .rnd3 button{background:transparent;box-shadow:none;padding:6px 2px;font-size:14px}
.home1 .rnd3 .ci{width:66px;height:66px;font-size:32px;border-radius:22px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.home1 .rnd3 button:nth-child(1) .ci{background:linear-gradient(135deg,#43e97b,#38f9d7)!important}.home1 .rnd3 button:nth-child(2) .ci{background:linear-gradient(135deg,#f6d365,#fda085)!important}
.home1 .rnd3 button:nth-child(3) .ci{background:linear-gradient(135deg,#4facfe,#00f2fe)!important}.home1 .rnd3 button:nth-child(4) .ci{background:linear-gradient(135deg,#a18cd1,#fbc2eb)!important}
.home1 .rnd3 button:nth-child(5) .ci{background:linear-gradient(135deg,#ff9a9e,#fecfef)!important}.home1 .rnd3 button:nth-child(6) .ci{background:linear-gradient(135deg,#fa709a,#fee140)!important}

/* v3c home */
.hlogo{flex:1;text-align:center;font-family:Bungee,system-ui;font-weight:900;font-size:22px;color:#1d1d3a;letter-spacing:.5px}
.home1 .rnd4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 6px;margin:12px 10px 0}
.home1 .rnd4 button{background:transparent;box-shadow:none;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12.5px;font-weight:800;color:#2a3a55;padding:4px 0}
.home1 .rnd4 .ci{position:relative;width:56px;height:56px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:27px;box-shadow:0 4px 10px rgba(0,0,0,.12)}
.home1 .rnd4 .ci .badge{position:absolute;top:-3px;right:-3px}
.home1 .rnd4 button:nth-child(1) .ci{background:linear-gradient(135deg,#43e97b,#38f9d7)}
.home1 .rnd4 button:nth-child(2) .ci{background:linear-gradient(135deg,#f6d365,#fda085)}
.home1 .rnd4 button:nth-child(3) .ci{background:linear-gradient(135deg,#4facfe,#00f2fe)}
.home1 .rnd4 button:nth-child(4) .ci{background:linear-gradient(135deg,#a18cd1,#fbc2eb)}
.home1 .rnd4 button:nth-child(5) .ci{background:linear-gradient(135deg,#ff9a9e,#fecfef)}
.home1 .rnd4 button:nth-child(6) .ci{background:linear-gradient(135deg,#fa709a,#fee140)}
.home1 .rnd4 button:nth-child(7) .ci{background:linear-gradient(135deg,#30cfd0,#91e8b5)}
.home1 .rnd4 button:nth-child(8) .ci{background:linear-gradient(135deg,#ff758c,#ff7eb3)}
.home1 .rnd4 button:nth-child(9) .ci{background:linear-gradient(135deg,#84fab0,#8fd3f4)}
.home1 .rnd4 button:nth-child(10) .ci{background:linear-gradient(135deg,#ffd86f,#fc6262)}
.home1 .rnd4 button:nth-child(11) .ci{background:linear-gradient(135deg,#fddb92,#d1fdff)}
.home1 .rnd4 button:nth-child(12) .ci{background:linear-gradient(135deg,#cfd9df,#a6c1ee)}
.cup{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 14px 0}
.cuc{border-radius:16px;padding:9px 9px 10px;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.10);min-width:0}
.cuc.g0{background:linear-gradient(135deg,#667eea,#764ba2)}.cuc.g1{background:linear-gradient(135deg,#11998e,#38ef7d)}.cuc.g2{background:linear-gradient(135deg,#f7971e,#ffd200)}
.cuc .cd{display:flex;align-items:baseline;gap:5px}.cuc .cd b{font-size:24px;line-height:1}.cuc .cd span{font-size:12px;font-weight:800;opacity:.9;text-transform:uppercase}
.cuc .ct{font-size:13.5px;font-weight:800;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cuc .cm{font-size:11.5px;opacity:.9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.home1 .rnd4 .ci .badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:10px;background:#ff3b30;color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px}

#hgrid button{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#hgrid.arr{touch-action:none}
#hgrid.arr button .ci{animation:wig .25s infinite alternate}
#hgrid button.drag{opacity:.6;transform:scale(1.12)}
@keyframes wig{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}

.instb{display:block;width:100%;margin:0 0 8px;padding:10px 12px;border:0;border-radius:14px;background:linear-gradient(135deg,#6a5cff,#b06bff);color:#fff;font-weight:800;font-size:15px}
.addc{border:2px dashed #b9a7ff !important;background:#fff !important;color:#6a5cff !important;font-weight:800}

/* v3h: 👑 App Admin strip on his home (only he sees it) */
.admstrip{margin:2px 10px 8px;background:linear-gradient(135deg,#efeaff,#e6f0ff);border:1.5px solid #d9d0ff;border-radius:18px;padding:6px 4px 6px}
.admt{font-size:12px;font-weight:800;color:#6a5cff;margin:0 10px 3px;letter-spacing:.2px}
.admrow{display:grid;grid-template-columns:repeat(6,1fr);gap:2px}
.admrow button{background:transparent;border:0;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11.5px;font-weight:800;color:#3b3570;padding:2px 0;min-height:58px}
.admrow .ai{position:relative;width:40px;height:40px;border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;box-shadow:0 2px 6px rgba(80,60,180,.15)}
.admrow .ai .badge{position:absolute;top:-6px;right:-8px;min-width:19px;height:19px;border-radius:10px;background:#ff3b30;color:#fff;font-size:11.5px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff}
/* v3h: ‹ on the game screen looks like every other ‹ */
.gtop .gx.gbk{width:44px;height:44px;background:transparent;box-shadow:none;font-size:30px;color:#2f6fe4;font-weight:700;line-height:1}
/* v3h: the home is one screen — no bottom padding that could push it into a scroll */
#app.homepg{padding-bottom:0}
/* v3h: home = 4 big boxes, 2x2 */
.home1 .rnd2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 14px 0}
.home1 .rnd2 button{border:0;border-radius:22px;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 4px 12px rgba(0,0,0,.12);color:#24304a;padding:8px 4px}
.home1 .rnd2 .ci{position:relative;font-size:44px;line-height:1.1}
.home1 .rnd2 .lb{font-size:16.5px;font-weight:800}
.home1 .rnd2 .ci .badge{position:absolute;top:-4px;right:-12px;min-width:20px;height:20px;border-radius:10px;background:#ff3b30;color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff}
#hgrid.arr button{animation:wig .25s infinite alternate}
.top #ntb{margin-right:-2px}
.top #ntb .badge{background:#ff3b30;color:#fff;display:flex;align-items:center;justify-content:center;padding:0 5px;border-radius:10px;font-weight:800}
.top #ntb .badge.hidden{display:none}
/* v3h: profile page — Find a group + Send an idea as two clear buttons */
.mebig{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 14px 4px}
.mebig button{border:0;background:#fff;border-radius:18px;min-height:64px;box-shadow:0 2px 8px rgba(30,60,120,.1);font-size:16px;font-weight:800;color:#2a3a55;display:flex;align-items:center;justify-content:center;gap:8px}
.mebig button span{font-size:26px}
.mebig button{padding:0 10px;min-width:0;overflow:hidden}.mebig button>span{flex:none;margin:0}.mebig .mbt{font-weight:inherit;white-space:nowrap;min-width:0;line-height:1.15}   /* FIX102: icon + words centered together as one group */
@media (max-width:374px){.mebig button{gap:6px;padding:0 8px;font-size:15px}.mebig .mbt{font-size:15px}}
#hgrid.arr button .ci{animation:none}
.home1 .rnd2 .ci{width:auto;height:auto;min-height:0;border:0;border-radius:0;box-shadow:none;background:none!important;padding:0;display:block}
.home1 .rnd2 button{min-height:108px}

/* ===== v4: 🔔 notifications prompt + 🖼️ picture check ===== */
#npask{position:fixed;inset:0;z-index:60;background:rgba(40,30,60,.45);display:flex;align-items:flex-end;justify-content:center;animation:npf .2s ease}
@keyframes npf{from{opacity:0}to{opacity:1}}
#npask .npc{width:100%;max-width:520px;background:linear-gradient(180deg,#fff7fb 0%,#fff 46%);border-radius:28px 28px 0 0;padding:30px 22px calc(18px + env(safe-area-inset-bottom));text-align:center;box-shadow:0 -6px 30px rgba(60,30,90,.18)}
#npask .npbell{width:92px;height:92px;border-radius:50%;background:#fde7ef;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;font-size:48px;box-shadow:0 0 0 10px #fff2f7}
#npask h2{margin:6px 0 8px;font-size:25px;color:#2a2340}
#npask p{margin:0 6px 18px;font-size:17px;line-height:1.4;color:#4a4f63}
#npask .npdemo{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border-radius:16px;padding:10px 12px;margin:0 4px 22px;box-shadow:0 3px 14px rgba(40,40,90,.13)}
#npask .npdemo img{width:38px;height:38px;border-radius:10px}#npask .npdemo div{flex:1;min-width:0}#npask .npdemo b{display:block;font-size:15px;color:#222}
#npask .npdemo span{display:block;font-size:14px;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#npask .npdemo i{font-style:normal;font-size:12px;color:#999;align-self:flex-start}
#npask .npgo{min-height:58px;font-size:19px}
#npask .nplater{display:block;width:100%;min-height:52px;margin-top:6px;background:none;border:0;font-size:17px;color:#6b7280;font-weight:600}
.cvh .mute{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:#f3f4f8;font-size:20px;margin-left:6px}
.cvh .mute[data-on="1"]{background:#ececf2;opacity:.85}
.pcx{text-align:center;padding:6px 6px 4px}.pcx .pci{font-size:56px;margin:4px 0 6px}.pcx h3{margin:4px 0 10px;font-size:21px}
.pcx p{font-size:16.5px;line-height:1.45;color:#3f4558;margin:0 4px 12px}.pcx .cg{font-size:14.5px;color:#6b7280}
#pcchk{position:fixed;left:0;right:0;bottom:calc(90px + env(safe-area-inset-bottom));z-index:70;display:flex;justify-content:center;pointer-events:none}
#pcchk div{background:rgba(30,30,50,.86);color:#fff;font-weight:700;font-size:15px;border-radius:22px;padding:10px 18px;display:flex;align-items:center;gap:10px}
#pcchk .spin{width:16px;height:16px;border-radius:50%;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;animation:pcs .8s linear infinite}@keyframes pcs{to{transform:rotate(360deg)}}
.apic .apimg{display:block;width:100%;max-height:340px;object-fit:contain;background:#f4f4f8;border-radius:14px;margin:10px 0}
.apic .row .btn{min-height:52px;font-size:17px}


/* ===== 🎂 v12 birthday (idea 73) ===== */
.bday{position:relative;overflow:hidden;margin:10px 14px 0;border-radius:22px;padding:14px 16px 16px;text-align:center;background:linear-gradient(135deg,#fff1f6,#fff7e0 55%,#eef6ff);box-shadow:0 3px 12px rgba(220,80,130,.16);border:1.5px solid #ffd6e4}
.bday h2{font-size:21px;font-weight:900;color:#c2185b;margin:2px 0 6px;position:relative}
.bday .bq{font-size:15.5px;line-height:1.45;color:#4a3b52;font-weight:600;margin:0 4px;position:relative;font-style:italic}
.bcake{font-size:58px;line-height:1;position:relative;display:inline-block;animation:bbob 2.4s ease-in-out infinite}
.bflame{position:absolute;left:50%;top:-20px;font-size:22px;transform:translateX(-50%)}
.bday .bx{position:absolute;right:6px;top:6px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.8);font-size:18px;font-weight:800;color:#8a6a7a;z-index:2}
.bconf{position:absolute;inset:0;pointer-events:none}
.bconf i{position:absolute;top:-10px;width:8px;height:12px;border-radius:2px;opacity:.85;animation:bfall 3.4s linear infinite}
@keyframes bfall{0%{transform:translateY(-10px) rotate(0)}100%{transform:translateY(240px) rotate(300deg);opacity:0}}
@keyframes bbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.bconf i,.bcake{animation:none}.bconf{display:none}}
.bdl{font-size:14px;font-weight:800;color:#5b6a82;margin:8px 0 6px}.bdl small{font-weight:600;color:#8a97ab}
.bdm{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.bdm button,.bdd button{min-height:44px;border-radius:12px;background:#f1f4f9;font-weight:800;font-size:15.5px;color:#33415c}
.bdd{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.bdd button{min-height:40px;font-size:15px}
.bdm button.on,.bdd button.on{background:#e91e63;color:#fff}

/* ===== 📞 v12 game invite rings (idea 77) ===== */
.gring{position:fixed;inset:0;z-index:10050;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:calc(48px + env(safe-area-inset-top)) 20px calc(44px + env(safe-area-inset-bottom));background:linear-gradient(170deg,#3b4fd8,#6a5cff 45%,#9d6bff);color:#fff;text-align:center;animation:grin .25s ease-out}
@keyframes grin{from{opacity:0;transform:scale(1.04)}}
.grtop{display:flex;flex-direction:column;align-items:center}
.grgame{font-size:44px;width:76px;height:76px;border-radius:24px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;margin-bottom:22px;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif}
.grav{position:relative;width:132px;height:132px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.grav::before,.grav::after{content:"";position:absolute;inset:-10px;border-radius:50%;border:3px solid rgba(255,255,255,.55);animation:grpulse 2s ease-out infinite}
.grav::after{animation-delay:1s}
@keyframes grpulse{from{transform:scale(.9);opacity:1}to{transform:scale(1.35);opacity:0}}
.grav .av{width:132px!important;height:132px!important;border:4px solid #fff;border-radius:50%;object-fit:cover}
.gring h2{font-size:28px;font-weight:900;margin:22px 0 4px}
.gring p{font-size:19px;margin:0;opacity:.95}.gring p b{font-weight:900}
.grst{margin-top:14px;font-size:15px;font-weight:700;opacity:.85;animation:grblink 1.6s ease-in-out infinite}
@keyframes grblink{50%{opacity:.4}}
.grbtns{display:flex;justify-content:space-around;width:100%;max-width:340px}
.grbtns>div{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:17px;font-weight:800}
.grb{width:78px;height:78px;border-radius:50%;font-size:32px;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center}
.grb.join{background:#22c55e;animation:grbob 1.2s ease-in-out infinite}.grb.busy{background:#ef4444;font-weight:900}
@keyframes grbob{50%{transform:translateY(-5px)}}
@media (prefers-reduced-motion:reduce){.grav::before,.grav::after,.grb.join,.grst{animation:none}}
.gringing{position:relative;display:inline-flex;align-items:center;justify-content:center;margin-top:4px}
.gringing .gface{animation:grbob 1.2s ease-in-out infinite}
.gricon{position:absolute;right:-6px;top:-6px;font-size:24px;z-index:2}

/* 🔕 game invites off (idea 77) */
.bar .act.gmute{font-size:21px}.bar .act.gmute.off{background:#fff1f1}
.gmutebar{display:block;width:calc(100% - 28px);margin:4px 14px 6px;text-align:left;background:#fff4e5;border:1.5px solid #ffd9a8;color:#7a4a00;border-radius:14px;padding:10px 12px;font-size:14.5px;font-weight:700;line-height:1.35}
.gmutebar b{color:#2f6fe4;white-space:nowrap}

/* v12: welcome screen → Next › (shown once per phone) + install bar */
.welnext{padding:16px 14px 6px}.welnext .instb{margin:0 0 10px}.welnx{font-size:19px;padding:15px;border-radius:16px}
.hwel{padding:14px 12px;font-size:15px}
.hwait{padding:4px 12px 12px}
.rwg{white-space:normal!important;display:flex;flex-wrap:wrap;gap:2px 10px}.rwg b{color:#1f7a3f}

/* v16 ✏️ edit event (idea 84) */
.cover .evedit{position:absolute;right:10px;top:10px;height:44px;padding:0 16px;border-radius:22px;background:rgba(255,255,255,.95);color:#2f6fe4;font-size:16px;font-weight:800;border:0;box-shadow:0 2px 8px rgba(20,40,90,.18)}
.evupd{margin-top:4px;font-size:13px}
.evpics .mgrid{margin-top:12px}
/* v16 🃏 Memory Match with own pictures (idea 85) */
.mmode{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 6px}
.mmode button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 8px 16px;border-radius:18px;border:2px solid #e1e8f4;background:#f7f9fd;color:#1d2a5a}
.mmode button:first-child{border-color:#2f6fe4;background:#eef4ff}
.mmode .mmi{font-size:42px;line-height:1.1;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",Roboto,sans-serif}
.mmode b{font-size:17px}.mmode small{font-size:13px;color:#6b7891;font-weight:600}
#mpp{margin:0 2px 8px}
.mpkg{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:2px 0 10px}
.mpkg button{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;padding:0;border:3px solid transparent;background:#eef1f7}
.mpkg button img{width:100%;height:100%;object-fit:cover;display:block}
.mpkg button b{display:none;position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;background:#2f6fe4;color:#fff;font-size:14px;align-items:center;justify-content:center}
.mpkg button.on{border-color:#2f6fe4}.mpkg button.on b{display:flex}
#mpgo{margin-top:6px}
.memb.pics{grid-template-columns:repeat(4,min(21vw,82px,calc((100svh - 330px) / var(--mrows,4) - 8px)))}
.memb.pics button{padding:0;overflow:hidden}
.memb.pics button.up img{width:100%;height:100%;object-fit:cover;display:block;border-radius:12px;animation:pop .3s;pointer-events:none}

/* === EVENTFORM v20 BEGIN === group "➕ New event" on one screen (also the small 📷 Add pictures in ✏️ Edit event) */
.evsub{color:#8a97ab;font-size:14px;text-align:center;margin:-4px 20px 6px}
.evf{padding:10px 12px 4px}
.evf .f{margin:0 0 8px}
.evf .f label{font-size:13px;margin:0 2px 3px}
.evf .f label small{font-weight:600;color:#9aa6b8;font-size:12px}
.evf .row{gap:8px;align-items:flex-start}
.evf .in{min-height:44px;padding:9px 12px;font-size:16px;border-radius:12px}
.evf textarea.in{min-height:44px;height:44px;resize:none;overflow:hidden}
.evrow{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.evl{font-size:13.5px;font-weight:800;color:#5b6a82;flex:none}
.evrow .yn{gap:6px}
.evrow .yn button{min-height:42px;font-size:14.5px;border-radius:12px;padding:0 4px;white-space:nowrap}
.evbox{border:1.5px solid #e1e8f4;border-radius:14px;margin:0 0 8px}
.evbox .sw{padding:4px 8px 4px 12px;min-height:46px;font-size:15px;cursor:pointer}
.evbox .evbr{border-top:1px solid #eef2f8;cursor:default}
.evbox .evbr small{color:#9aa6b8;font-weight:600;font-size:12.5px}
.evbox .evadd{min-height:36px;padding:4px 12px;font-size:14.5px;border-radius:11px}
.evf .evit{padding:0 4px 0 14px;font-weight:700;font-size:15px;align-items:center;min-height:38px}
.evbox .evit .act{width:34px;height:34px}
#pls:empty{display:none}
.evgo{margin-top:-2px}
.evpk{margin:0 0 8px}
.evpk .mstrip{padding:0}
.evpk .madd{width:auto;height:42px;flex-direction:row;gap:6px;padding:0 14px;border-radius:21px;border:1.5px solid #c9d6ee;background:#f3f7ff;color:#2f6fe4;font-size:15px}
.evpk .madd span{font-size:18px}
.evpk .mth{width:52px;height:52px;border-radius:10px}
.evpk .mth .mx{width:24px;height:24px;font-size:12px;top:2px;right:2px}
.evpk .mcount{display:inline;margin:0 0 0 2px}
/* mint page + white boxes (Shulem: "make the background different color … we see the boxes more clear") */
.evpg::before{content:"";position:fixed;inset:0;z-index:-1;background:#e3f6f2}
.evpg .evf{background:transparent;box-shadow:none;padding-left:14px;padding-right:14px}
.evpg .evf .in,.evpg .evbox,.evpg .evrow .yn button{background:#fff;border:1.5px solid #c7e3dd;box-shadow:0 1px 3px rgba(20,80,70,.10)}
.evpg .evrow .yn button.on{background:#2f6fe4;border-color:#2f6fe4;color:#fff}
.evpg .evbox .evbr{border-top-color:#e3eeec}
.evpg .evf .f label,.evpg .evl{color:#3f5b57}
.evpg .evsub{color:#5f7c77}
.evpg .evpk .madd{background:#fff;border-color:#c7e3dd;box-shadow:0 1px 3px rgba(20,80,70,.10)}
.evpg .evedit .f label small{color:#7d9893}
#sheet.dpsheet{background:#e3f6f2}
#sheet.dpsheet .dpg,#sheet.dpsheet .dpl{background:#fff;border-radius:14px;box-shadow:0 1px 3px rgba(20,80,70,.10);border:1.5px solid #c7e3dd}
#sheet.dpsheet .dpg{padding:4px}
#sheet.dpsheet .dpl{padding:6px 10px}
#sheet.dpsheet .dpn,#sheet.dpsheet .dpf .b3{background:#fff;border:1.5px solid #c7e3dd}
#sheet.dpsheet .dpm{background:#fff;border:1.5px solid #c7e3dd}
#sheet.dpsheet .dpm.on{background:#2f6fe4;border-color:#2f6fe4}
/* 📅 our date picker (datepick.js) */
.dpbox{position:relative;cursor:pointer}
.dpbox .dpi{position:absolute;inset:0;opacity:0;pointer-events:none;width:100%}
.dpv{display:flex;align-items:center;font-weight:700;white-space:nowrap;overflow:hidden}
.dpv.ph{color:#9aa6b8;font-weight:600}
.dpk{padding:0 2px 4px}
.dph{display:flex;align-items:center;gap:6px;margin:0 0 6px}
.dpn{width:48px;height:44px;border-radius:12px;background:#eef4ff;color:#2f6fe4;font-size:28px;font-weight:800;line-height:1;flex:none}
.dpt{flex:1;font-size:19px;font-weight:800;color:#1c2433;text-align:center;min-height:44px;background:none}
.dpt small{font-size:13px;color:#8a97ab}
.dpw,.dpg{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.dpw span{font-size:12.5px;font-weight:800;color:#8a97ab;padding:2px 0}
.dpd{height:44px;border-radius:12px;font-size:17px;font-weight:700;color:#1c2433;background:none;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0}
.dpd i{display:flex;gap:2px;height:6px;margin-top:1px}
.dpd em,.dpl em,.dplg em{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2f6fe4}
.dpd.hj{color:#2f6fe4}
.dpd.today{box-shadow:inset 0 0 0 2px #2f6fe4}
.dpd.sel{background:#2f6fe4;color:#fff}.dpd.sel em{background:#fff}
em.k-us,.k-us em{background:#e8590c!important}
em.k-fast,.k-fast em{background:#7b8db0!important}
em.k-rc,.k-rc em{background:#b9c8e3!important}
.dpl{margin:8px 2px 0;max-height:150px;overflow-y:auto;font-size:14.5px;line-height:1.3}
.dpl>div{display:flex;align-items:center;gap:7px;padding:3px 0;font-weight:600;color:#1c2433}
.dpl .k-rc{color:#8a97ab;font-size:13.5px}
.dpld{font-weight:800;color:#5b6a82;min-width:62px}
.dpno{color:#8a97ab;font-size:14px;padding:4px 0}
.dpf{display:flex;align-items:center;gap:8px;margin-top:10px}
.dpf .btn{min-height:42px;padding:6px 14px}
.dplg{flex:1;font-size:12.5px;color:#8a97ab;font-weight:700;display:flex;align-items:center;gap:5px}
.dplg em:last-of-type{margin-left:6px}
.dpyr{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.dpm{min-height:64px;border-radius:14px;background:#f3f6fb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:16px;color:#1c2433}
.dpm.on{background:#2f6fe4;color:#fff}
.dpm span{font-size:14px;min-height:18px}
/* === EVENTFORM v20 END === */
/* HOTFIX v58 (Shulem video, Nov 2 2026): the home page never zooms, pans sideways or bounces; swiping the bottom row moves ONLY that row */
html{overflow-x:hidden;overscroll-behavior-x:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip;width:100%;max-width:100%;overscroll-behavior-x:none}
html:has(body.khome),body.khome{overscroll-behavior:none}
body.khome{min-height:100vh;min-height:100dvh}
body.khome #app{touch-action:manipulation}
#hgrid{touch-action:pan-x;overscroll-behavior:contain}
.hrowc .hi{font-size:12.5px;font-weight:600;color:#7a8599;margin:0 16px 6px;text-align:center;letter-spacing:.2px}

/* HOTFIX v61 (Shulem voice, Nov 2 2026 5:55 AM ET: "the date, I wanted to put it in the bottom AFTER those apps"): the small date line sits UNDER the
   bottom button row, the last thing on the screen. It lives in the space the row already leaves for the 💬 button / home bar, so the row keeps its exact
   place and the date never adds height (the one-screen fit is unchanged). Centered, so the 💬 button in the right corner never covers it. */
#app.homepg > .hrowc{position:relative}
.hrowc .hi{position:absolute;left:0;right:0;top:calc(100% - 86px - env(safe-area-inset-bottom,0px) + 6px);margin:0 auto;max-width:min(calc(100% - 172px),300px);
  font-size:12.5px;line-height:16px;font-weight:600;color:#7a8599;text-align:center;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}

/* === GEDIT v47 === Edit group sheet / Start a group: 3 ways to join + areas */
.acc3.gj3 button.on,.eved2 .acc3 button.on{border-color:#2f6fe4;background:#eaf1ff;color:#1d4fb8;box-shadow:0 0 0 2px #2f6fe4 inset}
.gj3h{font-size:12.5px;line-height:1.35;margin-top:6px}
.gedit .f{margin:0 0 10px}.gedit .f>label{font-size:13px;margin-bottom:5px;display:block}
.gedit h3{margin-bottom:2px}.gesub{font-size:12.5px;color:#5b6b85;margin-bottom:10px}
.gerow{display:flex;gap:12px;align-items:flex-end;margin:0 0 10px}
.gedit .geph{width:76px!important;height:76px!important;min-height:0!important;flex:none;border-radius:16px;overflow:hidden;padding:0}
.gedit .geph img{width:100%;height:100%;object-fit:cover}
.gedit .acc3 button{padding:8px 4px;min-height:0;font-size:13.5px}.gedit .acc3 button .emj{font-size:22px}
.gedit .chips .ch{padding:6px 11px;font-size:13.5px;min-height:0}
.gedit textarea.in{min-height:0;height:52px}
.gereq{display:flex;align-items:center;gap:8px;width:100%;background:#fff7e6;border:1px solid #ffd98a;border-radius:12px;padding:8px 10px;font-size:13px;font-weight:700;color:#7a4b00;margin-top:7px;text-align:left}
.gereq b{color:#2f6fe4}
.gesafe{font-size:12.5px;color:#1e7a46;background:#e9f8ef;border-radius:10px;padding:7px 10px;margin:2px 0 10px;font-weight:700}
.gareas .ch.on::before{content:"✓ "}
/* === EVEDIT v47 === one-screen ✏️ Edit event */
.eved2{padding-top:6px}
.eved2 .f{margin:0 0 8px}
.eved2 .f>label,.eved2 .e2il>label{display:block;font-size:12.5px;font-weight:800;margin:0 2px 3px}
.eved2 .in{min-height:40px!important;height:40px;padding:7px 11px;font-size:16px}
.eved2 textarea.in{height:44px}
.eved2 .row{gap:7px}.eved2 .e2r3 .in{padding:7px 6px;font-size:15px}
.eved2 .acc3 button{padding:6px 4px;min-height:0;font-size:13px}.eved2 .acc3 button .emj{font-size:20px}
.eved2 .e2il{display:flex;align-items:center;gap:8px}.eved2 .e2il>label{width:46px;flex:none;margin:0}
.eved2 .e2il .sp{min-width:0}
.eved2 .e2il .chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:none;padding:2px 0}
.eved2 .e2il .chips::-webkit-scrollbar{display:none}
.eved2 .e2il .chips .ch{flex:none;padding:5px 10px;font-size:13px;min-height:0;white-space:nowrap}
.eved2 .aud3 button{padding:6px 4px;min-height:0;font-size:13px}
.e2inv{display:flex;align-items:center;gap:8px;width:100%;background:#f2f6ff;border:0;border-radius:12px;padding:8px 10px;font-size:13.5px;margin-top:6px;text-align:left;color:#22304a}
.e2inv b{color:#2f6fe4;white-space:nowrap}
.eved2 .yn button{min-height:40px}
.e2sw{padding:6px 2px 10px;font-weight:700;font-size:14.5px}
.eved2 .evpk{margin-bottom:8px}
.eved2 .aud3{display:flex;gap:6px}.eved2 .aud3 button{flex:1;white-space:nowrap;font-size:12.5px;padding:7px 2px}
.eved2 .e2r3 input[type=time]::-webkit-calendar-picker-indicator{display:none}
.eved2 .e2r3 input[type=time]{font-size:14.5px;padding:7px 6px}

/* === HOTFIX v50 (Shulem videos, Nov 2 2026) === */
/* home: the date sits in the bottom strip under the button row, LEFT of the round 💬 button (same height band as the button: bottom 18px, 62px tall),
   left-aligned; it never reaches the 💬 button (stops 12px before it). Top bar and bottom button row unchanged. */
.hrowc .hi.hbot{position:absolute;top:auto;bottom:18px;left:max(16px,calc(50% - 224px));right:calc(max(16px,calc(50vw - 224px)) + 62px + 12px);height:62px;max-width:none;margin:0;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:1px;text-align:left;white-space:nowrap;overflow:hidden;pointer-events:none;color:#1d1d3a;letter-spacing:0}
.hrowc .hbot b{font-size:20px;line-height:24px;font-weight:900;color:#1d1d3a}
.hrowc .hbot span{font-size:15px;line-height:19px;font-weight:700;color:#4a5878}
/* one tap only: the tapped button dims while its page / save is on the way; a small spinner after 0.3 s */
.kbusy{opacity:.6!important;transition:opacity .12s}
.kspin{position:absolute;top:50%;right:10px;width:16px;height:16px;margin-top:-8px;box-sizing:border-box;border:2.5px solid rgba(47,111,228,.25);border-top-color:#2f6fe4;border-radius:50%;animation:kspin .7s linear infinite;pointer-events:none;z-index:5}
.kspin.kspc{left:50%;right:auto;margin-left:-8px}
@keyframes kspin{to{transform:rotate(360deg)}}
/* chat: a fixed box the size of the visible screen; the message list scrolls, the page never moves (no bounce, no gap under the bar) */
html:has(body.kchat),body.kchat{overflow:hidden;overscroll-behavior:none;height:100%}
body.kchat .cv{position:fixed;left:0;right:0;top:0;bottom:auto;height:100vh;height:100dvh;margin:0 auto;z-index:1}
body.kchat .msgs{overscroll-behavior:contain;min-height:0}
body.kchat .cvbar{position:relative;flex:none}

/* SWIPE v51 ↩ swipe a message to reply (BUILD 66) */
.m[data-sw]{position:relative;touch-action:pan-y}
.m[data-sw] .bub{touch-action:pan-y}
.m .kswi{position:absolute;left:4px;top:50%;margin-top:-17px;width:34px;height:34px;border-radius:50%;background:#e8effc;color:#2f6fe4;font-size:19px;font-weight:800;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;z-index:2}
.m .kswi.on{background:#2f6fe4;color:#fff}
.bub .kq{display:flex;align-items:center;gap:8px;width:100%;min-width:150px;text-align:left;background:rgba(47,111,228,.07);border:0;border-left:4px solid #6b48b8;border-radius:10px;padding:5px 8px;margin:1px 0 5px;font:inherit;color:inherit;cursor:pointer;white-space:normal;box-sizing:border-box}
.m.me .bub .kq{background:rgba(255,255,255,.62)}
.bub .kq.kqme{border-left-color:#2f6fe4}
.bub .kq .kqt{flex:1;min-width:0;display:flex;flex-direction:column}
.bub .kq b{font-size:12.5px;font-weight:800;color:#6b48b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bub .kq.kqme b{color:#2f6fe4}
.bub .kq .kqt>span{font-size:13.5px;line-height:1.3;color:#4d5a70;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-style:normal}
.bub .kq.kqgone .kqt>span{font-style:italic;color:#8a97ab}
.kqi{width:38px!important;height:38px!important;min-height:0!important;max-height:38px!important;border-radius:7px!important;object-fit:cover;flex:none;margin:0!important;background:#e6ecf7}
.krp{display:flex;align-items:center;gap:8px;margin:0;padding:7px 10px 7px 12px;background:rgba(255,255,255,.97);border-top:1px solid #e6ecf5;flex:none}
.krp .krpi{font-size:18px;color:#2f6fe4;font-weight:800;flex:none}
.krp .krpq{flex:1;min-width:0;display:flex;flex-direction:column;border-left:4px solid #2f6fe4;padding:2px 0 2px 8px;background:#f2f6fd;border-radius:8px;cursor:pointer}
.krp .krpq b{font-size:13px;color:#2f6fe4;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.krp .krpq span{font-size:13.5px;color:#4d5a70;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.krp .krpx{width:34px;height:34px;border-radius:50%;border:0;background:#eef2f8;color:#56627a;font-size:16px;flex:none;cursor:pointer}
.krp + .cvbar{border-top:0}
@keyframes kflash{0%,100%{box-shadow:0 1px 2px rgba(30,60,120,.08)}15%,60%{box-shadow:0 0 0 4px rgba(255,196,0,.75)}}
.m.kflash .bub{animation:kflash 1.5s ease}

/* PUSH v52 🔔 one-line bar on home when this phone can't get notifications yet */
.pbar{display:flex;align-items:center;gap:2px;margin:8px 14px 0;padding:0 3px 0 0;border-radius:14px;background:#fff6d8;border:1px solid #f3d27a;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.pbar .pbt{flex:1;min-width:0;border:0;background:none;text-align:left;padding:9px 2px 9px 10px;font-weight:700;font-size:clamp(12.5px,3.75vw,15px);color:#5a4300;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pbar .pbx{flex:none;border:0;background:none;color:#8a7440;font-size:15px;width:28px;height:30px;border-radius:50%;padding:0}
/* WHATSNEW v53 ✨ What's new: pinned cards on top of 🔔, the note page (big friendly text, one screen), the App Admin form */
.wnc{display:flex;align-items:center;gap:11px;width:calc(100% - 28px);margin:0 14px 10px;padding:12px 12px 12px 14px;border:0;border-radius:18px;text-align:left;background:linear-gradient(135deg,#fff3c4,#ffe0ef);box-shadow:0 2px 8px rgba(200,120,40,.18)}
.wnc .wni{flex:none;width:44px;height:44px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.wnc .sp{min-width:0;display:flex;flex-direction:column;gap:2px}
.wnc .wnk{font-size:12.5px;font-weight:800;color:#b25a00;letter-spacing:.2px;text-transform:uppercase}
.wnc .wnt{font-size:16.5px;font-weight:800;color:#2a2340;line-height:1.25;white-space:normal}
.wnnew{background:#e0245e;color:#fff;border-radius:8px;padding:1px 6px;font-size:10.5px;margin-left:4px;vertical-align:1px}
.wnall{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 28px);margin:0 14px 10px;padding:11px 14px;border:1px solid #f0dca0;border-radius:14px;background:#fffbea;color:#7a5600;font-weight:800;font-size:14.5px;text-align:left}
.wnhd{margin:0 18px 12px;color:#5b6a82;font-size:15px}
.wnp{padding:4px 22px 24px;display:flex;flex-direction:column}
.wnp h2{font-size:clamp(23px,6.6vw,28px);font-weight:800;line-height:1.2;margin:2px 0 12px;color:#1d2440}
.wnp .wnpic{width:100%;max-height:28vh;object-fit:contain;border-radius:16px;background:#f3f6fb;margin:0 0 12px}
.wnp .wnb{font-size:clamp(17px,4.9vw,19.5px);line-height:1.45;color:#2b3550;margin:0 0 14px}
.wnp .wnh{font-size:clamp(16px,4.6vw,18px);font-weight:800;color:#b25a00;margin:0 0 6px}
.wnp .wns{margin:0 0 18px;padding:0 0 0 26px;font-size:clamp(16px,4.6vw,18.5px);line-height:1.4;color:#2b3550}
.wnp .wns li{margin:0 0 7px;padding-left:2px}
.wnp .wnok{min-height:54px;font-size:18px;margin-top:auto}
.wnp .wnmore{border:0;background:none;color:#2f6fe4;font-weight:800;font-size:15px;padding:12px 0 0}
.wnf textarea.in{min-height:104px;line-height:1.4;font-size:16.5px}
.wnf .f label small{font-weight:600;color:#9aa6b8;font-size:12.5px}
.wnpvr{display:flex;align-items:center;gap:12px}
.wnpvr img{width:96px;height:96px;object-fit:cover;border-radius:14px;background:#f3f6fb}
@media (max-height:780px){.wnp h2{font-size:22px;margin-bottom:8px}.wnp .wnb{font-size:16.5px;line-height:1.38;margin-bottom:10px}.wnp .wnh{font-size:16px;margin-bottom:4px}.wnp .wns{font-size:16px;line-height:1.33;margin-bottom:12px}.wnp .wns li{margin-bottom:4px}.wnp .wnok{min-height:48px;font-size:17px}.wnp .wnmore{padding-top:8px}}

/* === SETTINGS v54 === ⚙️ Settings sheet: small same-size rows (icon · words · one switch or 2 equal buttons) + 🏠 Arrange home buttons */
#sheet.setsh{max-height:94vh;max-height:94dvh;padding-top:4px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.setsh .sthd{display:flex;align-items:center;margin:0 4px 2px;font-size:18px;font-weight:900}
.setsh .stx{margin-left:auto;width:32px;height:32px;border-radius:50%;background:#eef2f8;border:0;font-size:15px;color:#5b6b85}
.setsh .strow{display:flex;align-items:center;gap:10px;height:42px;padding:0 4px;border-bottom:1px solid #eef2f8;cursor:pointer}
.setsh .strow:last-child{border-bottom:0}
.setsh .sti{flex:0 0 28px;text-align:center;font-size:19px;line-height:1}
.setsh .stl{flex:1;min-width:0;font-size:15.5px;font-weight:700;color:#24304a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.setsh .stv{font-size:14px}
.setsh .strow .chev{width:52px;text-align:right;font-size:20px}
.setsh .st2{display:flex;gap:4px;flex:none}
.setsh .st2 button{width:76px;height:30px;border-radius:15px;border:1.5px solid #d8e0ee;background:#fff;font-weight:700;font-size:13px;color:#5b6b85;padding:0}
.setsh .st2 button.on{background:#2f6fe4;border-color:#2f6fe4;color:#fff}
.setsh .stoff .tog,.setsh .stoff .stl{opacity:.45}
.setsh .stsoon{display:inline-block;font-size:10.5px;font-weight:800;color:#7a4bd6;background:#efe7ff;border-radius:8px;padding:1px 6px;vertical-align:2px;margin-left:4px}
.setsh .stsec{font-size:11.5px;font-weight:800;color:#8a97ad;letter-spacing:.5px;text-transform:uppercase;margin:8px 4px 0;padding-bottom:2px;border-bottom:1px solid #eef2f8}
.setsh .stred .stl{color:#d63a30}
@media (max-height:760px){.setsh .strow{height:39px}.setsh .stl{font-size:15px}.setsh .sthd{font-size:17px}}
.arpg{padding:4px 12px 16px}
.arhint{font-size:14px;line-height:1.35;color:#5b6a82;font-weight:600;text-align:center;margin:2px 4px 8px}
.arrw{margin:0 0 8px}
.arlab{font-size:12px;font-weight:800;color:#8a97ad;letter-spacing:.4px;text-transform:uppercase;margin:0 4px 4px}
.arbx{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.arb{display:flex;flex-direction:column;align-items:stretch;gap:4px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.arbox{height:78px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;box-shadow:0 3px 10px rgba(0,0,0,.12);color:#24304a;animation:wig .25s infinite alternate}
.arb:nth-child(2n) .arbox{animation-delay:.12s}
.ari{font-size:32px;line-height:1.1}.art{font-size:13.5px;font-weight:800;white-space:nowrap}
.arctl{display:flex;gap:3px}
.arctl button{flex:1;height:30px;border-radius:10px;border:1.5px solid #d8e0ee;background:#fff;font-size:13px;color:#2f6fe4;padding:0}
.arctl button:disabled{color:#c9d1de;border-color:#eef2f8}
.arb.drag .arbox{opacity:.6;transform:scale(1.08);animation:none}
.arb.dropon .arbox{outline:3px dashed #2f6fe4;outline-offset:2px}
.arb.armoved .arbox{box-shadow:0 0 0 3px #2fbf71}
.arsaved{min-height:18px;text-align:center;font-size:13px;font-weight:700;color:#2a9d5c;margin:2px 0 6px}
.arfoot{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.arfoot .btn{min-height:46px}
@media (max-height:760px){.arbox{height:68px}.ari{font-size:28px}.arctl button{height:28px}.arrw{margin-bottom:6px}}
/* === SETTINGS v54 END === */

/* === DRAG v55 === 🏠 hold-and-drag home buttons (Shulem Nov 2 2026: "I hold it, and I grab it, and I move it") — the swipe row opens up above 💬 */
.home1 #hgrid.rnd2 .hsp{flex:0 0 calc((100% - 32px) / 3);width:calc((100% - 32px) / 3);scroll-snap-align:start}
body.karr{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#hdbg{position:fixed;inset:0;background:rgba(15,25,45,.38);z-index:44}
#hdrag{position:fixed;left:max(0px,calc(50% - 240px));right:max(0px,calc(50% - 240px));bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:45;background:#111;border-top:2px solid #c0c6cf;border-radius:22px 22px 0 0;padding:12px 12px 10px;box-shadow:0 -8px 26px rgba(0,0,0,.28);touch-action:none;-webkit-user-select:none;user-select:none}
.hdh{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;margin:0 0 4px}
.hdh b{color:#fff;font-size:17px;font-weight:900;line-height:1.25}
.hdh span{color:#aeb7c6;font-size:13px;font-weight:600;line-height:1.3}
.hrw{margin-top:6px}
.hrl{color:#8a97ad;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;margin:0 4px 4px;line-height:14px}
.hrb{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;min-height:84px;border-radius:18px;transition:background .12s}
.hdb{border:0;border-radius:18px;height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#24304a;box-shadow:0 3px 10px rgba(0,0,0,.3);padding:4px 2px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;animation:wig .25s infinite alternate;cursor:grab}
.hdb:nth-child(2n){animation-delay:.12s}
.hdb .hdi{font-size:34px;line-height:1.1}
.hdb .hdt{font-size:14px;font-weight:800;white-space:nowrap;line-height:1.15}
.hdb.hdph{opacity:.22;animation:none;outline:2px dashed #fff;outline-offset:-3px;box-shadow:none}
.hdb.hsw{outline:3px dashed #ffd60a;outline-offset:2px;animation:none}
.hrw.hno .hrb{background:rgba(255,59,48,.22);outline:2px dashed #ff3b30;outline-offset:2px}
.hnew .hrb{min-height:46px;border:2px dashed #4a5568}
.hnew.hfull .hrb{min-height:84px}
.hnt{grid-column:1/-1;align-self:center;text-align:center;color:#8a97ad;font-size:13px;font-weight:700}
.hnew.hfull .hnt{display:none}
.hdgh{position:fixed;z-index:300;pointer-events:none;margin:0;animation:none;transition:transform .12s ease,box-shadow .12s ease;will-change:left,top,transform;opacity:.97}
.hdgh.hdup{transform:scale(1.14) rotate(-3deg);box-shadow:0 16px 34px rgba(0,0,0,.45)}
.hdgh.hno{transform:scale(1.05) rotate(0);outline:3px solid #ff3b30;filter:saturate(.5)}
.hdgh.hdland{transition:left .17s ease,top .17s ease,transform .17s ease;transform:none}
.hdf{display:flex;align-items:center;gap:8px;margin-top:10px}
.hdrs{background:none;border:0;color:#c9d3e3;font-size:14px;font-weight:700;padding:10px 4px;text-decoration:underline;text-underline-offset:3px}
#hdsaved{flex:1;text-align:center;color:#5fd38d;font-size:13px;font-weight:800;line-height:1.2}
#hddone{min-height:44px;padding:0 22px;font-size:16px;flex:none}
@media (max-height:760px){.hdb,.hrb{height:auto;min-height:74px}.hdb{height:74px}.hdb .hdi{font-size:30px}.hdh span{font-size:12.5px}.hdf{margin-top:8px}}
/* === DRAG v55 END === */

/* ==== HOLIDAY v56 🕎 Chanukah home look (Night Sky, approved Nov 2 2026). Only the middle of home: top bar, swipe row, date strip and 💬 unchanged ==== */
#app.homepg > .holsky{position:absolute;left:0;right:0;top:68px;height:0;z-index:-1;pointer-events:none;
  background:radial-gradient(1.4px 1.4px at 12% 18%,rgba(255,255,255,.9) 50%,transparent 51%),radial-gradient(1px 1px at 27% 42%,rgba(255,255,255,.75) 50%,transparent 51%),
  radial-gradient(1.6px 1.6px at 44% 9%,rgba(255,255,255,.85) 50%,transparent 51%),radial-gradient(1px 1px at 58% 33%,rgba(255,255,255,.7) 50%,transparent 51%),
  radial-gradient(1.3px 1.3px at 71% 14%,rgba(255,255,255,.9) 50%,transparent 51%),radial-gradient(1px 1px at 86% 38%,rgba(255,255,255,.7) 50%,transparent 51%),
  radial-gradient(1.2px 1.2px at 7% 63%,rgba(255,255,255,.65) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 35% 74%,rgba(255,255,255,.8) 50%,transparent 51%),
  radial-gradient(1px 1px at 63% 61%,rgba(255,255,255,.7) 50%,transparent 51%),radial-gradient(1.4px 1.4px at 92% 70%,rgba(255,255,255,.85) 50%,transparent 51%),
  radial-gradient(1px 1px at 19% 88%,rgba(255,255,255,.6) 50%,transparent 51%),radial-gradient(1.2px 1.2px at 78% 90%,rgba(255,255,255,.7) 50%,transparent 51%),
  linear-gradient(180deg,#24468f 0%,#2f5aa9 50%,#3d6cbf 100%)}
body.khol.khome .home1:not(.hrowc) .sec{color:#eaf1ff}
body.khol.khome .home1:not(.hrowc) .sec .lk{color:#cfe0ff}
body.khol.khome .home1:not(.hrowc) .card,body.khol.khome .home1:not(.hrowc) .nexts{box-shadow:0 6px 18px rgba(8,20,60,.28)}
.hol56{flex:1 1 0;min-height:96px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:4px 14px;box-sizing:border-box;position:relative}
.hol56 .hspk{position:absolute;inset:0;pointer-events:none}
.hol56 .hspk i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff6cf;box-shadow:0 0 6px 2px rgba(255,226,140,.65);opacity:.2;animation:h56tw 3.3s ease-in-out infinite}
@keyframes h56tw{0%,100%{opacity:.15;transform:scale(.7)}50%{opacity:.95;transform:scale(1.15)}}
.hol56 .hhin{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;max-width:420px}
.hol56 .hht{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;flex:1 1 auto}
.hol56 .hh1{font:700 30px/1.04 Georgia,"Times New Roman",serif;background:linear-gradient(180deg,#fff6cf,#f3c34a);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:.2px;filter:drop-shadow(0 0 10px rgba(255,214,102,.22))}
.hol56 .hpill{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,230,150,.55);background:rgba(13,30,78,.55);color:#fff;font:700 14px/1.1 system-ui,Roboto,sans-serif;padding:8px 13px;border-radius:999px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;box-shadow:0 0 14px rgba(255,200,80,.18)}
.hol56 .hprev{font-size:10.5px;font-weight:800;background:#f3c34a;color:#24346b;border-radius:8px;padding:2px 6px;margin-left:2px}
.hol56 .hmen{flex:0 0 auto;border:0;background:none;padding:0;line-height:0;-webkit-tap-highlight-color:transparent}
.hol56 .hmen svg{width:158px;height:100px;overflow:visible;filter:drop-shadow(0 0 14px rgba(255,200,80,.35))}
.hol56 .hfl{transform-box:fill-box;transform-origin:50% 90%;animation:h56fk 2.4s ease-in-out infinite}
@keyframes h56fk{0%,100%{transform:scale(1)}50%{transform:scale(1.07,.95)}}
.hol56 .hmen.hglow svg{animation:h56gl 1.5s ease-out}
@keyframes h56gl{0%{filter:drop-shadow(0 0 14px rgba(255,200,80,.35))}30%{filter:drop-shadow(0 0 30px rgba(255,214,102,.95)) brightness(1.25)}100%{filter:drop-shadow(0 0 14px rgba(255,200,80,.35))}}
.hol56[data-sz="big"] .hhin{flex-direction:column;justify-content:center;gap:10px}
.hol56[data-sz="big"] .hht{align-items:center;order:2}
.hol56[data-sz="big"] .hh1{text-align:center;font-size:32px}
.hol56[data-sz="big"] .hh1 br{display:none}
.hol56[data-sz="big"] .hmen{order:1}
.hol56[data-sz="big"] .hmen svg{width:200px;height:127px}
.hol56[data-sz="sm"] .hh1{font-size:21px}
.hol56[data-sz="sm"] .hh1 br{display:none}
.hol56[data-sz="sm"] .hht{gap:5px}
.hol56[data-sz="sm"] .hpill{font-size:12.5px;padding:6px 10px}
.hol56[data-sz="sm"] .hmen svg{width:96px;height:61px}
.hol56[data-sz="xs"] .hh1,.hol56[data-sz="xs"] .hmen{display:none}
.hol56[data-sz="xs"] .hhin{justify-content:center}
.hol56[data-sz="xs"] .hpill{font-size:13px;padding:7px 12px}
@media (max-width:370px){.hol56 .hh1{font-size:26px}.hol56 .hmen svg{width:112px;height:71px}.hol56 .hpill{font-size:12.5px;padding:7px 10px}.hol56[data-sz="sm"] .hh1{font-size:19px}.hol56[data-sz="sm"] .hmen svg{width:84px;height:53px}}
body.karr .hol56{display:none}   /* 🏠 hold-and-drag: the rows open up in the middle (DRAG v55) — the picture steps aside */
@media (prefers-reduced-motion:reduce){.hol56 .hspk i,.hol56 .hfl{animation:none}}
.holsh .hch{margin:0 0 2px;font-size:20px}
.holsh .hcs{font-weight:800;color:#2f5aa9;margin-bottom:8px}
.holsh .hcd{font-size:14px;line-height:1.5;color:#3b4660;margin-bottom:8px}
.holsh .hcl{border:1px solid #e3e8f4;border-radius:12px;overflow:hidden}
.holsh .hcr{display:flex;align-items:center;gap:10px;padding:6px 12px;font-size:13.5px;border-top:1px solid #eef1f8}
.holsh .hcr:first-child{border-top:0}
.holsh .hcr b{min-width:58px}
.holsh .hcr span{flex:1;color:#4a5878}
.holsh .hcr em{font-style:normal;font-weight:700;color:#b9861f}
.holsh .hcr.on{background:#fff6d6}
.strow .stpv{margin:0 8px 0 auto;font:700 12px/1 system-ui,Roboto,sans-serif;padding:6px 9px;border-radius:11px;border:1px solid #c9d4f0;background:#fff;color:#2f5aa9;white-space:nowrap}
.strow .stpv.on{background:#f3c34a;border-color:#d9a92a;color:#24346b}   /* HOLIDAY v56 👑 👁️ Preview chip in the 🕎 row */

/* === WELCOME v57 💌 the welcome letter (overlay; home itself unchanged) === */
.wlov{position:fixed;inset:0;z-index:300;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:radial-gradient(ellipse at 50% 30%,rgba(70,50,30,.55),rgba(25,18,12,.78));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:calc(14px + env(safe-area-inset-top)) 12px calc(22px + env(safe-area-inset-bottom));animation:wlfade .25s ease both}
.wlov.out{animation:wlfadeo .18s ease both}
@keyframes wlfade{from{opacity:0}to{opacity:1}}@keyframes wlfadeo{to{opacity:0}}
.wlx{position:fixed;top:calc(10px + env(safe-area-inset-top));right:10px;z-index:2;width:38px;height:38px;border-radius:50%;background:rgba(255,250,240,.92);color:#5a4630;font-size:17px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center}
.wlpaper{position:relative;max-width:460px;margin:44px auto 0;padding:24px 22px 20px;border-radius:5px;color:#3b2f22;background-color:#fbf4e3;
  background-image:radial-gradient(ellipse at 15% 0%,rgba(255,255,255,.85),rgba(255,255,255,0) 55%),radial-gradient(ellipse at 100% 100%,rgba(190,150,90,.22),rgba(190,150,90,0) 55%),radial-gradient(ellipse at 0% 100%,rgba(200,165,110,.14),rgba(200,165,110,0) 45%);
  box-shadow:0 22px 48px rgba(0,0,0,.42),0 2px 4px rgba(0,0,0,.18),inset 0 0 46px rgba(170,125,60,.16);
  font-family:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,"Noto Serif","Droid Serif",serif;font-size:16.5px;line-height:1.56}
.wlpaper::before{content:"";position:absolute;inset:8px;border:1px solid rgba(160,118,52,.28);border-radius:3px;pointer-events:none}
.wlhi{display:flex;align-items:flex-end;gap:8px;margin:2px 0 0}
.wlhe{font-size:26px;line-height:1;transform:translateY(-6px)}
.wlscript{height:50px;width:auto;fill:#22306a}
.wlorn{display:block;width:62%;max-width:230px;height:10px;margin:8px auto 14px;color:#b08a46}
.wlbody p{margin:0 0 12px;text-wrap:pretty}
.wlbody b{color:#2a2016;font-weight:700}
.wli{display:inline-block;margin-right:1px}
.wlwarm{margin:18px 0 0;font-style:italic;font-size:17px}
.wlsig{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 6% 4px 2%;min-height:96px}
.wlsign{width:56%;max-width:215px;height:auto;fill:#1f2d6e;color:#1f2d6e;transform:rotate(-4deg);transform-origin:left center}
.wlsign path:not(.wlflo){stroke:#1f2d6e;stroke-width:1.5;stroke-linejoin:round}   /* a touch more ink so the hairlines (the K) read clearly on a phone */
.wlseal{width:92px;height:92px;flex:none;transform:rotate(-14deg);filter:drop-shadow(0 3px 3px rgba(70,0,0,.38))}
.wlgo{margin-top:14px;min-height:52px;font-size:17px;font-family:inherit;font-weight:800;border-radius:16px;background:linear-gradient(135deg,#2f6fe4,#6a4cf0);color:#fff;box-shadow:0 6px 16px rgba(47,111,228,.35)}
.wlgo{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
/* the signature writes itself and the seal is stamped once the bottom of the letter is in view */
.wlov .wlsig:not(.go) .wlsign{clip-path:inset(0 100% 0 0)}
.wlov .wlsig:not(.go) .wlseal{opacity:0}
.wlsig.go .wlsign{animation:wlwrite 1.3s cubic-bezier(.45,.1,.4,1) both}
.wlsig.go .wlseal{animation:wlstamp .5s cubic-bezier(.2,1.4,.4,1) 1.05s both}
@keyframes wlwrite{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes wlstamp{0%{opacity:0;transform:rotate(-14deg) scale(1.7)}60%{opacity:1;transform:rotate(-14deg) scale(.92)}100%{opacity:1;transform:rotate(-14deg) scale(1)}}
/* envelope → letter (about 1.7 s; a tap skips it) */
.wlstage{display:none}
.wlov.anim .wlstage{display:flex;position:fixed;inset:0;align-items:center;justify-content:center;pointer-events:none;animation:wlfadeo .3s ease 1.4s both}
.wlov.anim .wlpaper{animation:wlrise .5s cubic-bezier(.2,.9,.3,1) 1.25s both}
@keyframes wlrise{from{opacity:0;transform:translateY(60px) scale(.9)}to{opacity:1;transform:none}}
.wlenv{position:relative;width:min(290px,78vw);height:min(186px,50vw);perspective:700px;animation:wlpop .35s cubic-bezier(.2,1.3,.4,1) both}
@keyframes wlpop{from{opacity:0;transform:scale(.7) translateY(30px)}to{opacity:1;transform:none}}
.wlback,.wlfront,.wlflap{position:absolute;inset:0;border-radius:6px}
.wlback{background:linear-gradient(#c9ad7c,#dcc597);box-shadow:0 18px 40px rgba(0,0,0,.4)}
.wlfront{background:linear-gradient(160deg,#f3e6c7,#e8d5aa);clip-path:polygon(0 0,50% 56%,100% 0,100% 100%,0 100%);z-index:3}
.wlflap{background:linear-gradient(#f6ebd0,#e3cd9c);clip-path:polygon(0 0,100% 0,50% 60%);transform-origin:50% 0;z-index:4;animation:wlflap .42s ease-in-out .38s both}
@keyframes wlflap{0%{transform:scaleY(1);z-index:4}49%{z-index:4}50%{transform:scaleY(0);z-index:1;filter:brightness(.88)}100%{transform:scaleY(-1);z-index:1;filter:brightness(.9)}}
.wlfseal{position:absolute;left:50%;top:60%;width:52px;height:52px;margin:-30px 0 0 -26px;z-index:5;animation:wlfadeo .2s ease .35s both}
.wlfseal .wlseal{width:52px;height:52px}
.wlmini{position:absolute;left:9%;right:9%;top:10%;height:80%;z-index:2;border-radius:3px;background:#fbf4e3;box-shadow:0 1px 3px rgba(0,0,0,.2);padding:14px 14px;display:flex;flex-direction:column;gap:9px;animation:wlmini .5s cubic-bezier(.3,.9,.4,1) .78s both}
.wlmini i{display:block;height:4px;border-radius:2px;background:rgba(80,60,30,.22)}.wlmini i:first-child{width:45%;background:rgba(34,48,106,.45)}.wlmini i:last-child{width:70%}
@keyframes wlmini{from{transform:translateY(0)}to{transform:translateY(-62%)}}
@media (prefers-reduced-motion: reduce){.wlov,.wlov *{animation:none!important}.wlov .wlsig .wlsign{clip-path:none}.wlov .wlsig .wlseal{opacity:1}}
@media (max-width:370px){.wlpaper{padding:22px 18px 18px;font-size:15.8px}.wlscript{height:44px}.wlseal{width:78px;height:78px}}
/* === WELCOME v57 END === */

/* === GROUPS v60 === the group row in 💬 Messages: the SAME look and idea as the home tiles row (Shulem Nov 2 2026 4:25 PM: "The same idea that you have on the main page I want to do for groups")
   — dark strip, colored rounded tiles with an icon + name, swipe left/right with the next tile peeking; ➕ New group first; red unread counts; small ⏳ / 📅 tags */
.grow{display:flex;gap:6px;margin:8px 0 4px;padding:10px 8px;background:#111;border-top:2px solid #c0c6cf;border-bottom:2px solid #c0c6cf;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:8px;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.grow::-webkit-scrollbar{display:none}
.gbx{flex:0 0 86px;width:86px;min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:20px;padding:7px 3px 6px;position:relative;scroll-snap-align:start;box-shadow:0 4px 12px rgba(0,0,0,.12);font:inherit;color:#24304a;background:linear-gradient(135deg,#84fab0,#8fd3f4)}
.gbx.k-event{background:linear-gradient(135deg,#f6d365,#fda085)}
.gbx.k-tmp{background:linear-gradient(135deg,#a18cd1,#fbc2eb)}
.gbx.k-trip{background:linear-gradient(135deg,#4facfe,#00f2fe)}
.gbx.gnew{background:linear-gradient(135deg,#fa709a,#fee140)}
.gbi{position:relative;display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none}
.gbi img{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block;border:2px solid rgba(255,255,255,.9)}
.gbem{font-size:32px;line-height:1.1}
.gbe{position:absolute;right:-6px;bottom:-4px;font-style:normal;font-size:14px;background:#fff;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.gbd{position:absolute;top:-4px;right:-12px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ff3b30;color:#fff;font-size:12px;font-weight:800;line-height:20px;border:2px solid #fff;box-sizing:content-box}
.gbn{font-size:12.5px;font-weight:800;width:80px;line-height:1.15;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;text-overflow:ellipsis;max-height:2.35em}
.gbt{font-size:10.5px;font-weight:800;color:#24304a;background:rgba(255,255,255,.7);border-radius:8px;padding:1px 6px;white-space:nowrap;max-width:80px;overflow:hidden;text-overflow:ellipsis}
.gtmpt{display:inline-block;margin-left:6px;font-size:11.5px;font-weight:800;color:#9a5b00;background:#fff1d6;border-radius:9px;padding:2px 7px;vertical-align:middle}
.ngname{margin:2px 0 10px}
.ngks{display:flex;flex-direction:column;gap:7px}
.ngk{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:2px solid #e3e9f3;border-radius:15px;padding:9px 12px;font:inherit;color:inherit;min-height:56px}
.ngk b{display:block;font-size:15.5px}.ngk small{display:block;color:#7a879b;font-size:12.5px;line-height:1.3;margin-top:1px}
.ngi{font-size:25px;width:32px;text-align:center;flex:none}
.ngr{width:20px;height:20px;border-radius:50%;border:2px solid #c3cfe2;flex:none}
.ngk.on{border-color:#2f6fe4;background:#f2f7ff}.ngk.on .ngr{border:6px solid #2f6fe4}
.ngtmp{margin-top:9px;background:#fffaf0;border:1.5px solid #ffe2a8;border-radius:15px;padding:9px 10px}
.ngl{font-weight:800;font-size:13.5px;color:#9a5b00;margin-bottom:6px}
.nghol{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;touch-action:pan-x pan-y}.nghol::-webkit-scrollbar{display:none}
.nghb{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:1px;background:#fff;border:2px solid #f0dcb1;border-radius:13px;padding:5px 9px;font:inherit;color:inherit;min-width:74px}
.nghb span{font-size:19px;line-height:1.1}.nghb b{font-size:12.5px;white-space:nowrap}.nghb small{font-size:11px;color:#8a7650;white-space:nowrap}
.nghb.on{border-color:#e08a00;background:#fff1d6}
.ngdate{display:flex;align-items:center;gap:8px;margin-top:8px;font-weight:700;font-size:13.5px;color:#6a5a3a}.ngdate .in{flex:1;min-height:40px;padding:6px 10px;margin:0}
.ngnote{font-size:12.5px;font-weight:800;color:#c0392b;margin-top:6px;min-height:0}.ngnote:empty{display:none}
#ngok{margin-top:10px}
.getmpr{display:flex;align-items:center;gap:8px;background:#fff1d6;border-radius:12px;padding:8px 10px;font-weight:700;font-size:13.5px;color:#9a5b00}.getmpr .ch{flex:none}

/* GROUPS v60 tweak (Shulem 4:29 PM: a little smaller): ~15% smaller tiles */
.grow{padding:8px 8px;gap:6px}
.gbx,.gbx.k-event,.gbx.k-tmp,.gbx.k-trip{flex:0 0 73px;width:73px;min-height:80px;border-radius:17px;padding:6px 3px 5px;gap:2px}
.gbi{width:32px;height:32px}
.gbi img{width:30px;height:30px}
.gbem{font-size:24px}
.gbx,.gbx.k-event,.gbx.k-tmp,.gbx.k-trip,.gbx.gnew{padding:5px 3px 4px;gap:1px}
.gbe{width:18px;height:18px;font-size:12px;right:-6px;bottom:-4px}
.gbd{top:-5px;right:-11px;min-width:18px;height:18px;line-height:18px;font-size:11px;padding:0 4px}
.gbn{font-size:11px;line-height:1.1;width:68px}
.gbt{font-size:9px;line-height:1.3;max-width:68px;padding:1px 5px}
.gbx.gnew .gbem{font-size:0;line-height:1}.gbx.gnew .gbem::before{content:"+";font-size:34px;font-weight:800;line-height:30px;color:#1f5f3a}

/* GROUPS v60 — 3 LIGHT two-color samples (Shulem 4:37 PM: "too dark… black on black… maybe two colors, like light green"); app.js GROW_V picks one */
/* a: white strip, soft light-green tiles, dark-green bold labels */
.grow{background:#fff;border-top:1px solid #d3ebdb;border-bottom:1px solid #d3ebdb}
.gbx,.gbx.k-event,.gbx.k-tmp,.gbx.k-trip{background:#e3f4e8;color:#1f5f3a;box-shadow:none}
.gbx.gnew{background:#cdebd6}
.gbn{color:#1f5f3a;font-weight:800}
.gbt{color:#1f5f3a;background:#fff}
.gbd{border-color:#fff}
.gbi img{border:2px solid #fff}
/* b: white strip, white tiles with a light-green border, dark text; ➕ filled light green */
.grow.gv-b .gbx{background:#fff;color:#17331f;box-shadow:inset 0 0 0 2px #9fd8b0}
.grow.gv-b .gbx.gnew{background:#cdebd6;box-shadow:inset 0 0 0 2px #9fd8b0}
.grow.gv-b .gbn{color:#17331f}
.grow.gv-b .gbt{color:#1f5f3a;background:#e8f6ec}
.grow.gv-b .gbi img{border-color:#9fd8b0}
/* c: very light grey strip, light grey tiles with a light-green bottom bar, dark text; ➕ light green */
.grow.gv-c{background:#f4f6f5;border-top:0;border-bottom:0}
.grow.gv-c .gbx{background:#eceff0;color:#222;box-shadow:inset 0 -5px 0 #8fd3a4}
.grow.gv-c .gbx.gnew{background:#cdebd6;box-shadow:inset 0 -5px 0 #8fd3a4}
.grow.gv-c .gbn{color:#222}
.grow.gv-c .gbt{color:#1f5f3a;background:#fff}
.grow.gv-c .gbd{border-color:#f4f6f5}

/* FRIENDS v62 🤝 friend requests (👋 Friend requests row, Accept / Decline, ⏳ Requested) */
.frrq{display:flex;align-items:center;gap:8px;width:calc(100% - 28px);margin:0 14px 10px;padding:11px 14px;border:0;border-radius:14px;background:#e3f4e8;color:#1f5f3a;font-size:15px;font-weight:700;text-align:left;font-family:inherit}
.frrq b{background:#e5484d;color:#fff;border-radius:10px;padding:1px 8px;font-size:13px}
.frrq .chev{margin-left:auto}
#sheet .frrq{width:100%;margin:0 0 10px}
.frli{gap:8px}
.frli .frb{min-height:38px;padding:7px 10px;font-size:13.5px;flex:0 0 auto}
.btn.frwait{color:#7a5a00;background:#fff6dc}
.frq{margin-top:10px}
.frnb .btn{min-height:38px;padding:7px 10px;font-size:14px}
.nfbox p{font-weight:700;color:#3d4a60}

/* MSGROWS v76 🔎 compact search in the Messages top bar (in place of the "Messages" title) */
.bar .srch.bsrch{flex:1;min-width:0;margin:0 2px;min-height:34px;height:34px;border-radius:11px;padding:0 10px;gap:6px}
.bar .srch.bsrch span{font-size:14px}
.bar .srch.bsrch input{font-size:16px;height:32px;padding:0}

/* FINDPLAYER v79 🎲 Find a player (🎮 Games) */
.fpbtn{display:flex;align-items:center;gap:12px;width:calc(100% - 28px);margin:6px 14px 8px;padding:12px 14px;border:0;border-radius:18px;background:#2fbf71;color:#fff;text-align:left;box-shadow:0 4px 12px rgba(47,191,113,.28)}
.fpbtn .fpi{font-size:30px;line-height:1}.fpbtn b{display:block;font-size:18px;font-weight:800}.fpbtn small{display:block;font-size:12.5px;opacity:.92;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fpbtn .sp{min-width:0;flex:1}.fpbtn .chev{color:#fff;margin-left:auto}
.fpk{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fpk button{display:flex;align-items:center;gap:10px;padding:12px 10px;border:0;border-radius:14px;background:#e3f4e8;color:#1f5f3a;font-size:15px;text-align:left}
.fpk .fpi{font-size:24px}
.fpwait{text-align:center;padding:40px 24px 20px}
.fpwait .fpg{font-size:64px;line-height:1.1;margin-bottom:6px}.fpwait > b{font-size:20px;display:block}
.fpwait .fpt{font-size:20px;font-weight:800;margin:14px 0 4px;color:#1f5f3a}
.fpspin{display:flex;justify-content:center;gap:8px;margin:22px 0 4px}
.fpspin i{width:12px;height:12px;border-radius:50%;background:#2fbf71;animation:fpb 1.1s infinite ease-in-out}
.fpspin i:nth-child(2){animation-delay:.18s}.fpspin i:nth-child(3){animation-delay:.36s}
@keyframes fpb{0%,80%,100%{transform:scale(.55);opacity:.45}40%{transform:scale(1);opacity:1}}

/* QA82 (Y6): the once-per-phone Welcome screen fits a 360×740 phone, and the 💬 doesn't sit on its Next › (it shows on the full home right after) */
body:has(#welnx) #fab{display:none}
@media (max-height:760px){#app.homepg .welcome{padding-top:6px}#app.homepg .welcome img{width:58px!important;height:58px!important}#app.homepg .welcome h2{font-size:23px;margin-top:4px}#app.homepg .welnext{padding-top:10px}}
/* QA82 (Y8): sign-up fits a 360×740 phone without scrolling (no 💬 there, so no room kept for it; a slightly smaller picture circle on short screens) */
body.ksu #app{padding-bottom:12px}
@media (max-height:760px){body.ksu .pick:not(.sq){width:96px;height:96px}}

/* === LOGO94 BEGIN — the new FF logo (Shulem chose #4, Nov 6 2026): gold #e8c26a on navy #14204a, Montserrat === */
@font-face{font-family:KMont;src:url(/k/montserrat-latin.woff2?v=1) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
body .brand.ffb{background:#14204a;border-radius:26px;margin:14px 14px 4px;padding:22px 18px 24px;box-shadow:0 10px 28px rgba(20,32,74,.28)}
body .brand.ffb .fflogo{display:block;width:216px;max-width:62vw;height:auto;margin:0 auto}
body #app .brand.ffb h1{font-family:KMont,Montserrat,"Avenir Next",Futura,"Century Gothic",system-ui,sans-serif;color:#e8c26a;font-size:34px;font-weight:800;letter-spacing:.08em;margin-top:14px;line-height:1.1}
body #app .brand.ffb p{font-family:KMont,Montserrat,"Avenir Next",system-ui,sans-serif;color:#d9c79a;font-size:14.5px;font-weight:500;letter-spacing:.02em;margin-top:6px}
body .brand .logo.ffmk{box-shadow:0 8px 20px rgba(20,32,74,.3)}
body .welcome.ffw h2{font-family:KMont,Montserrat,"Avenir Next",system-ui,sans-serif;color:#14204a;font-weight:800;letter-spacing:-.01em}
body.k69:not(.kev) .welcome.ffw img{border-radius:22%!important;box-shadow:0 8px 22px rgba(20,32,74,.28)}
.hlogo{display:flex;align-items:center;justify-content:center;gap:7px}.hlogo .hlmk{width:30px;height:30px;border-radius:8px;flex:none;display:block}
body.k69:not(.kev) .k69hl small.lg94d{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:26px;margin-bottom:2px}body.k69:not(.kev) .k69top .k69mk{width:26px;height:26px;border-radius:7px;display:inline-block;vertical-align:top;margin-right:8px;box-shadow:0 1px 4px rgba(20,32,74,.25)}
body #app .brand.ffi h1{font-family:KMont,Montserrat,"Avenir Next",system-ui,sans-serif;color:#14204a;font-weight:800;letter-spacing:-.01em}
body #app .brand.ffb ~ .card .btn.b1{background:#14204a;color:#e8c26a}
body #app .brand.ffb ~ .empty b{color:#14204a}
/* === LOGO94 END === */
/* === WELCOME95 BEGIN — the whole 💌 welcome letter + the first-time "Welcome to Kinnect!" card in the logo's navy & gold (Shulem: Yes, Nov 6 2026 2:59 PM PT; then "not too dark" → light: ivory paper, navy words, gold accents, Montserrat) === */
.wlov{background:radial-gradient(ellipse at 50% 30%,rgba(70,86,140,.32),rgba(20,32,74,.55))}
.wlx{background:#14204a;color:#e8c26a;border:1.5px solid rgba(232,194,106,.8);box-shadow:0 2px 10px rgba(20,32,74,.3)}
.wlpaper{color:#1f2a52;background-color:#fbf7ee;
  background-image:linear-gradient(#14204a,#14204a),linear-gradient(#e8c26a,#e8c26a),radial-gradient(ellipse at 15% 0%,rgba(255,255,255,.9),rgba(255,255,255,0) 55%),radial-gradient(ellipse at 100% 100%,rgba(232,194,106,.16),rgba(232,194,106,0) 55%);
  background-size:100% 10px,100% 2px,auto,auto;background-position:0 0,0 10px,0 0,0 0;background-repeat:no-repeat;
  box-shadow:0 20px 44px rgba(20,32,74,.32),0 2px 4px rgba(20,32,74,.14);border-radius:10px;padding-top:30px;
  font-family:KMont,Montserrat,"Avenir Next",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15.6px;font-weight:500;line-height:1.62;letter-spacing:.005em}
.wlpaper::before{inset:18px 8px 8px;border:1.5px solid #d9b45e;border-radius:5px}
.wlpaper::after{content:"";position:absolute;inset:22px 12px 12px;border:1px solid rgba(20,32,74,.12);border-radius:3px;pointer-events:none}
.wlscript{fill:#14204a}
.wlorn{color:#c9a24f}
.wlbody b{color:#14204a;font-weight:800;letter-spacing:.01em}
.wlwarm{color:#14204a;font-weight:600}
.wlsign{fill:#14204a;color:#14204a}
.wlsign path:not(.wlflo){stroke:#14204a}
.wlsign .wlflo{color:#c9a24f}
.wlseal{filter:drop-shadow(0 3px 3px rgba(90,60,10,.35))}
body .wlov .btn.b1.wlgo,body.k69 .wlov .btn.b1.wlgo{background:#14204a;color:#e8c26a;font-family:KMont,Montserrat,"Avenir Next",system-ui,sans-serif;font-weight:800;letter-spacing:.02em;box-shadow:0 6px 16px rgba(20,32,74,.3);border:1.5px solid #e8c26a}
.wlback{background:linear-gradient(#e6d9b8,#efe4c8);box-shadow:0 18px 40px rgba(20,32,74,.35),inset 0 0 0 1.5px #d9b45e}
.wlfront{background:linear-gradient(160deg,#fbf7ee,#f1e8d2)}
.wlflap{background:linear-gradient(#fdfaf2,#ece0c2)}
.wlmini{background:#fbf7ee;box-shadow:0 1px 3px rgba(20,32,74,.2),inset 0 3px 0 #14204a}
.wlmini i{background:rgba(20,32,74,.2)}.wlmini i:first-child{background:#c9a24f}
@media (max-width:370px){.wlpaper{font-size:15px}}
body .welcome.ffw95{background:#fbf7ee;border-radius:22px;margin:12px 14px 2px;padding:20px 20px 22px;box-shadow:0 8px 22px rgba(20,32,74,.12),inset 0 0 0 1.5px #e3c47a}
body .welcome.ffw95 h2{color:#14204a;font-size:23px}
body .welcome.ffw95 p{color:#2c3762;font-family:KMont,Montserrat,"Avenir Next",system-ui,sans-serif;font-weight:500}
body.k69:not(.kev) .welcome.ffw95 img{box-shadow:0 0 0 1.5px #e3c47a,0 8px 20px rgba(20,32,74,.25)}
#app.homepg .welcome.ffw95{padding-top:20px}
@media (max-height:760px){#app.homepg .welcome.ffw95{padding-top:12px}}
.wlsign{width:62%;max-width:248px}
.wlsig{margin:0 3% 4px 1%}
body #app .brand.ffb h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}   /* the logo picture above already says FRIENDS & FAMILY — no second copy on screen (kept for screen readers) */
body #app .brand.ffb h1 + p{margin-top:12px}
.hlogo{white-space:nowrap;min-width:0;font-family:KMont,Montserrat,"Avenir Next",system-ui,sans-serif;font-weight:800;font-size:15.5px;letter-spacing:-.01em}.hlogo .hlmk{width:26px;height:26px}
body .welcome.ffw95 h2{font-size:22px;text-wrap:balance;line-height:1.2}
@media (max-width:440px){.hlogo{font-size:14.5px;gap:0}.hlogo .hlmk{display:none}}
/* === WELCOME95 END === */
/* FIX102 🕯️ Shabbos mode row in ⚙️ Settings + its hint line */
.setsh .strow.sthas{border-bottom:0}
.setsh .stshint{max-width:none;margin-top:-3px;padding:0 4px 7px 42px;font-size:11.5px;line-height:1.25;font-weight:500;color:#7a879c;border-bottom:1px solid #eef2f8}

/* DEL104 🗑️ Delete my account */
.setsh .stdel .stl{font-weight:800}
.setsh .stdelnote{font-size:13px;line-height:1.35;color:#8a94a6;padding:8px 4px 2px}
.delh{color:#d63a30}.delbox{background:#fff6f5;border:1px solid #f6d3cf;border-radius:14px;padding:10px 12px;margin:8px 0 12px;font-size:14.5px;line-height:1.4;color:#3a2b2a}
.delbox ul{margin:6px 0 8px 18px;padding:0}.delbox li{margin:3px 0}
.delin{text-align:center;font-weight:800;letter-spacing:3px;text-transform:uppercase}
.dellink{display:block;text-align:center;margin-top:12px;font-size:14px}
#delok:not(:disabled){background:#d63a30;color:#fff}

/* ===== G117 games (Shulem Nov 8 2026): colour picks, Side by side / Face to face, Memory sizes + result card ===== */
.gsetl{font-size:13px;font-weight:800;color:#5b6a82;margin:12px 4px 7px;letter-spacing:.2px}.gsetl span{font-weight:600;color:#8a97ab}
.hp1{background:#f4f6fb}
.gseg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gseg.two,.gseg.seat{grid-template-columns:1fr 1fr}
.gseg button{border:2px solid #e1e8f4;background:#f7f9fd;border-radius:14px;padding:10px 6px;color:#1d2a5a;font-weight:800;font-size:14.5px;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:46px;justify-content:center}
.gseg button.on{border-color:#2f6fe4;background:#eef4ff;box-shadow:0 0 0 1px #2f6fe4 inset}
.gseg small{font-size:12px;color:#6b7891;font-weight:600}.gseg b{font-size:14.5px}
.gseg.seat svg{width:46px;height:38px;fill:#2f6fe4;opacity:.9}.gseg.seat button:not(.on) svg{fill:#8a97ab}
.mszg{display:grid;grid-template-columns:repeat(var(--c),1fr);gap:2px;width:34px;height:34px;margin-bottom:3px}
.mszg i{background:#7b8fd6;border-radius:2px}.mszg i.fr{background:#f2b632}.gseg button:not(.on) .mszg i:not(.fr){background:#b9c3dc}
.hpick{display:flex;flex-direction:column;gap:8px}
.hpk{background:#f7f9fd;border:1px solid #e6ecf5;border-radius:14px;padding:8px 8px 9px}
.hpkn{font-size:13px;font-weight:800;color:#2a3a55;margin:0 2px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hpks{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.hpks button{border:2px solid transparent;background:#fff;border-radius:12px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 0;position:relative;box-shadow:0 1px 2px rgba(30,60,120,.06)}
.hpks button .cdot{width:28px;height:28px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.15),0 0 0 1px rgba(0,0,0,.14)}.hpks button small{font-size:10.5px;font-weight:800;color:#5b6a82}
.hpks button.on{border-color:#2f6fe4;background:#eef4ff}
.hpks button.on::after{content:"✓";position:absolute;top:-6px;right:-5px;width:17px;height:17px;border-radius:50%;background:#2f6fe4;color:#fff;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center}
.hpks button.taken{opacity:.28;filter:grayscale(.4)}
.hpks.emo{grid-template-columns:repeat(6,1fr)}.hpks.emo button{min-height:46px}.hpks.emo .bige{font-size:26px}
@media (max-width:370px){.hpks{gap:4px}.hpks button{min-height:50px}.hpks button .cdot{width:24px;height:24px}.hpks button small{font-size:9.5px}}
/* checkers: picked colours */
.ckb b.ck-red{background:radial-gradient(circle at 40% 35%,#ff6b62,#c62828);box-shadow:0 3px 0 #7f1414,inset 0 0 0 3px rgba(255,255,255,.18)}
.ckb b.ck-white{background:radial-gradient(circle at 40% 35%,#fffdf6,#e7dcc3);box-shadow:0 3px 0 #9a8a6a,inset 0 0 0 3px rgba(0,0,0,.06)}
.ckb b.ck-black{background:radial-gradient(circle at 40% 35%,#5a5a5a,#1d1d1d);box-shadow:0 3px 0 #000,inset 0 0 0 3px rgba(255,255,255,.12)}
.ckb b.ck-blue{background:radial-gradient(circle at 40% 35%,#6a9bff,#1f55c8);box-shadow:0 3px 0 #133a8c,inset 0 0 0 3px rgba(255,255,255,.18)}
.ckb b.ck-purple{background:radial-gradient(circle at 40% 35%,#b08cff,#6b3fd0);box-shadow:0 3px 0 #45258f,inset 0 0 0 3px rgba(255,255,255,.18)}
.ckb b.ck-gold{background:radial-gradient(circle at 40% 35%,#ffd76a,#d39410);box-shadow:0 3px 0 #8a5f06,inset 0 0 0 3px rgba(255,255,255,.2)}
/* 🔄 face to face: the board stays; each player's strip faces them; the message + buttons go to whoever's turn it is */
.gscr.f2f{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}.gscr.f2f>.gboard{margin-top:auto;margin-bottom:auto}.gscr.f2f>#gpl2{padding-bottom:max(6px,env(safe-area-inset-bottom))}
.gscr.f2f>.gtop{order:0}.gscr.f2f>#gpl{order:1}.gscr.f2f>.gboard{order:5}.gscr.f2f>#gpl2{order:8}.gscr.f2f>.grx{order:9}
.gscr.f2f.t2>#gmsg{order:2}.gscr.f2f.t2>#gextra{order:3}.gscr.f2f.t1>#gmsg{order:6}.gscr.f2f.t1>#gextra{order:7}
.gscr.f2f>#gpl,.gscr.f2f.t2>#gmsg,.gscr.f2f.t2>#gextra{transform:rotate(180deg)}
.gscr.f2f>#gpl{margin-bottom:6px}.gscr.f2f>#gpl2{margin-top:8px}
.gscr.f2f .chb .pb,.gscr.f2f .gseat.s2 .gstk .pb{display:inline-block;transform:rotate(180deg)}
.gscr.f2f .ckb b.d2,.gscr.f2f .ckb b.d4{transform:rotate(180deg)}
.gseat{display:flex;align-items:center;gap:10px;margin:2px 12px;padding:8px 12px;background:#fff;border-radius:16px;box-shadow:0 1px 4px rgba(30,60,120,.1);border:2px solid transparent;min-height:58px}
.gseat.on{border-color:#ff4d4d}
.gseat .gface{width:auto}.gseat .gfc{width:42px;height:42px;border-width:3px;font-size:20px}.gseat .gfn{display:none}.gseat .gfc .gmk{font-size:16px;right:-6px;bottom:-4px}
.gsn{flex:1;min-width:0;display:flex;flex-direction:column}.gsn b{font-size:15.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gsn small{font-size:12.5px;color:#6b7891;font-weight:700;display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-height:16px}
.gsdot{width:12px;height:12px;border-radius:50%;display:inline-block;box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),0 0 0 1px rgba(0,0,0,.08)}
.gsemo{font-size:16px;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif}
.gstk{display:inline-flex;flex-wrap:wrap;font-size:15px;line-height:1}.gstk .pw{color:#fff;-webkit-text-stroke:1px #555}.gstk .pb{color:#222}
.gstag{flex:none;border-radius:10px;padding:5px 10px;font-size:12.5px;font-weight:800;background:#e8ecf5;color:#5b6a82}.gstag.on{background:#ff4d4d;color:#fff}.gstag.win{background:#fff4cf;color:#8a6200}
/* 🃏 memory sizes: 3×3 · 4×4 · 5×5 (the 5×5 cards are smaller, still a good finger size) + the ⭐ free centre */
.memb{grid-template-columns:repeat(var(--mcols,4),min(21vw,82px))}
.memb.mc3{grid-template-columns:repeat(3,min(27vw,100px));gap:10px}
.memb.mc5{grid-template-columns:repeat(5,min(16.6vw,66px));gap:6px}.memb.mc5 button{border-radius:12px}.memb.mc5 button i{font-size:20px}.memb.mc5 button.up span{font-size:min(8vw,32px)}
.memb.mc3 button.up span{font-size:min(12vw,48px)}
.memb button.free{background:linear-gradient(135deg,#fff8e1,#ffecb3);box-shadow:inset 0 0 0 2px #f2c94c;flex-direction:column;gap:0;cursor:default}
.memb button.free span{font-size:min(7vw,28px);line-height:1;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif}
.memb button.free small{font-size:9.5px;font-weight:900;letter-spacing:1px;color:#9a7400;margin-top:2px}
.memb.mc3 button.free span{font-size:min(10vw,40px)}.memb.mc3 button.free small{font-size:11px}
/* 🎉 result card */
.gres{position:fixed;inset:0;z-index:120;background:rgba(15,25,45,.5);display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;transition:opacity .25s;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.gres.on{opacity:1}
.gresc{position:relative;width:100%;max-width:400px;background:#fff;border-radius:26px;padding:26px 20px 18px;text-align:center;box-shadow:0 18px 50px rgba(15,25,45,.3);transform:scale(.94);transition:transform .3s cubic-bezier(.2,1.3,.4,1)}
.gres.on .gresc{transform:none}
.gresx{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;background:#f1f4f9;color:#6b7891;font-size:15px;font-weight:800}
.gresi{font-size:64px;line-height:1.1;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif;animation:pop .45s}
.gresc h2{font-size:30px;font-weight:900;margin:6px 0 16px;line-height:1.15;color:#16213e;overflow-wrap:anywhere}
.gress{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.grr{display:flex;align-items:center;gap:10px;background:#f6f8fc;border-radius:16px;padding:10px 12px;text-align:left}
.grr.win{background:linear-gradient(135deg,#fff7d6,#fff0c2);box-shadow:inset 0 0 0 1.5px #f2c94c}
.grav{width:40px;height:40px;border-radius:50%;border:3px solid #d7e1f1;background:#e8ecff;display:flex;align-items:center;justify-content:center;font-weight:900;color:#2f4a8a;overflow:hidden;flex:none}
.grav img{width:100%;height:100%;object-fit:cover}
.grn{flex:1;min-width:0;font-weight:800;font-size:16.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grp{font-size:13.5px;color:#5b6a82;font-weight:700;white-space:nowrap}.grp b{font-size:24px;font-weight:900;color:#16213e;margin-right:2px}
.gresn{display:flex;justify-content:center;gap:12px;margin-bottom:18px}
.gresn div{flex:1;max-width:140px;background:#f6f8fc;border-radius:16px;padding:12px 6px}.gresn b{display:block;font-size:34px;font-weight:900;color:#16213e;line-height:1.1}.gresn small{font-size:13px;color:#6b7891;font-weight:700}
.gresb{display:flex;gap:10px}
.gresup{transform:rotate(180deg);font-size:19px;font-weight:900;color:#16213e;padding:0 0 14px;margin:-8px 0 14px;border-bottom:1px dashed #dfe5ef}
.gresup span{font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif}
html.kdark .gsetl{color:#adb6c5}html.kdark .gsetl span{color:#7d8899}html.kdark .hp1{background:#232323}
html.kdark .gseg button{background:#1d1e1f;border-color:#2c313a;color:#e6e9ef}html.kdark .gseg button.on{background:#17233a;border-color:#4d86ee;box-shadow:0 0 0 1px #4d86ee inset}html.kdark .gseg small{color:#96a2b4}
html.kdark .gseg.seat svg{fill:#6f9cf0}html.kdark .gseg.seat button:not(.on) svg{fill:#6b7585}html.kdark .gseg button:not(.on) .mszg i:not(.fr){background:#454c59}html.kdark .mszg i{background:#6f86cc}
html.kdark .hpk{background:#191a1b;border-color:#2a2e35}html.kdark .hpkn{color:#dfe3ea}html.kdark .hpks button{background:#232425;box-shadow:none}html.kdark .hpks button small{color:#adb6c5}html.kdark .hpks button.on{background:#17233a;border-color:#4d86ee}
html.kdark .gseat{background:#1c1c1c;box-shadow:0 1px 4px rgba(0,0,0,.4)}html.kdark .gseat.on{border-color:#c24646}html.kdark .gsn small{color:#96a2b4}
html.kdark .gstag{background:#232a36;color:#adb6c5}html.kdark .gstag.on{background:#a83838;color:#fff}html.kdark .gstag.win{background:#3a3214;color:#f2cf6b}
html.kdark .memb button.free{background:linear-gradient(135deg,#3a3119,#2c2614);box-shadow:inset 0 0 0 2px #8a6d1f}html.kdark .memb button.free small{color:#e2bd52}
html.kdark .gres{background:rgba(0,0,0,.6)}html.kdark .gresc{background:#1c1c1c;box-shadow:0 18px 50px rgba(0,0,0,.6)}html.kdark .gresx{background:#2a2b2d;color:#adb6c5}
html.kdark .gresc h2,html.kdark .grp b,html.kdark .gresn b,html.kdark .gresup{color:#f1f3f7}html.kdark .grr,html.kdark .gresn div{background:#242526}html.kdark .grp,html.kdark .gresn small{color:#adb6c5}
html.kdark .grr.win{background:linear-gradient(135deg,#3a3214,#2c2614);box-shadow:inset 0 0 0 1.5px #8a6d1f}html.kdark .grav{background:#24314d;color:#c9d6f5}html.kdark .gresup{border-color:#333}
html.kdark .ckb b.ck-red.ck-red{background:radial-gradient(circle at 40% 35%,#ff6b62,#c62828);box-shadow:0 3px 0 #7f1414,inset 0 0 0 3px rgba(255,255,255,.18)}
html.kdark .ckb b.ck-white.ck-white{background:radial-gradient(circle at 40% 35%,#f4efe2,#cfc3a6);box-shadow:0 3px 0 #6f6450,inset 0 0 0 3px rgba(0,0,0,.06)}
html.kdark .ckb b.ck-black.ck-black{background:radial-gradient(circle at 40% 35%,#5d5d5d,#141414);box-shadow:0 3px 0 #000,inset 0 0 0 2px rgba(255,255,255,.28)}
html.kdark .ckb b.ck-blue.ck-blue{background:radial-gradient(circle at 40% 35%,#6a9bff,#1f55c8);box-shadow:0 3px 0 #133a8c,inset 0 0 0 3px rgba(255,255,255,.18)}
html.kdark .ckb b.ck-purple.ck-purple{background:radial-gradient(circle at 40% 35%,#b08cff,#6b3fd0);box-shadow:0 3px 0 #45258f,inset 0 0 0 3px rgba(255,255,255,.18)}
html.kdark .ckb b.ck-gold.ck-gold{background:radial-gradient(circle at 40% 35%,#ffd76a,#d39410);box-shadow:0 3px 0 #8a5f06,inset 0 0 0 3px rgba(255,255,255,.2)}
html.kdark .hpks button .cdot{box-shadow:inset 0 -3px 0 rgba(0,0,0,.2),0 0 0 1.5px rgba(255,255,255,.28)}

/* KM121 Know Me tile = same as the other games */
.mkm{width:78px;height:78px;border-radius:16px;background:linear-gradient(145deg,#8f74ff,#5b3fe0);position:relative;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.mkm span{font-size:40px;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif}
.mkm i{position:absolute;font-style:normal;font-weight:900;color:#fff;background:#ffb020;border-radius:50%;width:20px;height:20px;font-size:13px;line-height:20px;text-align:center}
.mkm i:nth-of-type(1){top:-5px;right:-5px}.mkm i:nth-of-type(2){bottom:-4px;left:-6px;background:#2fbf71}

/* SEEK151 🎲 "3 people waiting" on the Find a player card (play.js) */
.fpbtn .fpwn{display:inline-flex;align-items:center;gap:5px;margin-top:4px;padding:1px 8px 1px 6px;border-radius:999px;background:#16a34a;color:#fff;font:700 11.5px/1.55 Inter,system-ui,sans-serif;white-space:nowrap}
.fpbtn .fpwn[hidden]{display:none}.fpbtn .fpwn i{width:6px;height:6px;border-radius:50%;background:#bbf7d0;box-shadow:0 0 0 2px rgba(187,247,208,.35);animation:fpwn151 1.6s ease-in-out infinite}
@keyframes fpwn151{50%{opacity:.35}}
/* EVTXT164 (BUILD 164): long event words end with a clean "…" — never cut mid-word with nothing after */
.inv.ivone .ivabout{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}
.ec .et{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}
