* { box-sizing: border-box; margin: 0; padding: 0; }body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0a0e17; color: #e0e0e0; padding-bottom: 78px; }header { background: #1a1f2e; padding: 16px; position: sticky; top: 0; z-index: 100; }header h1 { font-size: 24px; color: #7c8aff; }header p { color: #888; font-size: 14px; }.tab { display: none; }.tab.active { display: block; }#search { width: calc(100% - 32px); padding: 12px; margin: 12px 16px; border: 1px solid #333; border-radius: 8px; background: #1a1f2e; color: #fff; font-size: 16px; }#filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; }#sortrow { display: flex; align-items: center; gap: 8px; padding: 0 16px 12px; font-size: 14px; color: #888; }#sort { background: #1a1f2e; color: #fff; border: 1px solid #333; border-radius: 8px; padding: 8px 10px; font-size: 14px; }.filter-btn { padding: 8px 16px; border: 1px solid #333; border-radius: 20px; background: #1a1f2e; color: #ccc; white-space: nowrap; cursor: pointer; font-size: 14px; }.filter-btn.active { background: #7c8aff; color: #fff; border-color: #7c8aff; }#map { z-index: 1; background: #ddd; }#list, .content { padding: 16px; }.card { background: #1a1f2e; border-radius: 12px; padding: 16px; margin-bottom: 12px; cursor: pointer; position: relative; }.card h3 { color: #fff; margin-bottom: 8px; font-size: 17px; padding-right: 36px; }.fav-btn { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.35); border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 18px; cursor: pointer; z-index: 2; }.card p { color: #aaa; font-size: 14px; margin-bottom: 4px; line-height: 1.4; }.card .meta { display: flex; gap: 12px; margin-top: 8px; font-size: 13px; flex-wrap: wrap; }.card a { color: #7c8aff; text-decoration: none; }.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #2a3040; color: #aaa; margin-right: 6px; margin-bottom: 4px; }.open-badge { display: inline-block; background: #1d3a26; color: #4ade80; border: 1px solid #2d5a3d; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: bold; margin-bottom: 4px; }.paypill { display: inline-block; background: #1d3a26; color: #4ade80; border: 1px solid #2d5a3d; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: bold; margin: 0 6px 4px 0; }.newpill { display: inline-block; background: #3a2a1d; color: #fbbf24; border: 1px solid #8a6d2d; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: bold; margin-bottom: 4px; }#gig-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; }#loading { text-align: center; padding: 40px; color: #888; }nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #1a1f2e; border-top: 1px solid #333; z-index: 900; overflow-x: auto; }nav button { flex: 1 0 auto; min-width: 60px; padding: 10px 4px; background: none; border: none; color: #888; font-size: 11px; cursor: pointer; }nav button.active { color: #7c8aff; }nav button .ico { font-size: 20px; display: block; margin-bottom: 2px; }.sos { background: #e74c3c; color: #fff; border: none; padding: 10px 20px; border-radius: 20px; font-size: 14px; font-weight: bold; cursor: pointer; margin: 0 16px 12px; width: calc(100% - 32px); }.hotline { background: #1a1f2e; border-radius: 12px; padding: 16px; margin-bottom: 12px; border-left: 4px solid #e74c3c; }.hotline h3 { color: #fff; margin-bottom: 4px; }.hotline a { color: #7c8aff; font-size: 20px; font-weight: bold; text-decoration: none; }@keyframes goldPulse {0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }50% { box-shadow: 0 0 18px 4px rgba(255,215,0,0.6); }}.gold-flash { border: 2px solid #ffd700 !important; animation: goldPulse 1.2s ease-in-out 5; }.check { display: flex; align-items: center; gap: 12px; padding: 12px; background: #1a1f2e; border-radius: 8px; margin-bottom: 8px; cursor: pointer; }.check.done { opacity: 0.6; }.check.done .ct { text-decoration: line-through; }.check.done .todo-del { opacity: 1; }.todo-del { margin-left: auto; background: none; border: none; color: #e74c3c; font-size: 16px; cursor: pointer; padding: 4px 8px; }.todo-add { display: flex; gap: 8px; margin-bottom: 12px; }#todo-input { flex: 1; padding: 12px; border: 1px solid #333; border-radius: 8px; background: #1a1f2e; color: #fff; font-size: 16px; }#todo-add { background: #7c8aff; color: #fff; border: none; border-radius: 8px; padding: 0 20px; font-size: 15px; font-weight: bold; cursor: pointer; }.todo-hint { color: #666; font-size: 12px; margin: -6px 0 12px; }.emoji-pin { background: none; border: none; }.app-pin { width: 38px; height: 38px; position: relative; }.app-pin .pin-body { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); border: 3px solid; display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 1px 4px rgba(0,0,0,.4); }.app-pin .status-dot { position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; }.app-pin .status-dot.open { background: #22c55e; }.app-pin .status-dot.closed { background: #9ca3af; }.pin-label { display: none; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); max-width: 118px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; font-weight: 800; color: #0a0e17; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 2px #fff; pointer-events: none; } body.pnames .pin-label { display: block; }body.gs .app-pin .pin-body { width: calc(22px*var(--ps,1)); height: calc(22px*var(--ps,1)); font-size: calc(12px*var(--ps,1)); border-width: 2px; }body.gs .app-pin { width: calc(22px*var(--ps,1)); height: calc(22px*var(--ps,1)); }body.gs .pin-label { display: none; }body.gm .app-pin .pin-body { width: calc(30px*var(--ps,1)); height: calc(30px*var(--ps,1)); font-size: calc(17px*var(--ps,1)); }body.gm .app-pin { width: calc(30px*var(--ps,1)); height: calc(30px*var(--ps,1)); }#sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 2000; display: none; }#sheet-overlay.open { display: block; }#sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: #1a1f2e; border-radius: 18px 18px 0 0; padding: 20px 20px 30px; border-top: 1px solid #2a3040; }#sheet h2 { color: #fff; margin-bottom: 8px; font-size: 20px; padding-right: 40px; }#sheet .row { margin-bottom: 10px; font-size: 15px; color: #ccc; line-height: 1.45; }#sheet .row a { color: #7c8aff; text-decoration: none; }#sheet .sec { color: #7c8aff; font-weight: bold; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin: 14px 0 6px; }#sheet-close { position: absolute; top: 12px; right: 12px; background: #2a3040; color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 18px; cursor: pointer; }#mini-toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); background: #2a3040; color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px; z-index: 3000; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; border: 1px solid #7c8aff; white-space: nowrap; }#mini-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }.sheet-btn { display: inline-block; background: #7c8aff; color: #fff; padding: 10px 20px; border-radius: 10px; text-decoration: none; font-weight: bold; margin: 4px 8px 4px 0; }.guide-detail { margin-top: 10px; border-top: 1px solid #2a3040; padding-top: 6px; }.gsec { color: #7c8aff; font-weight: bold; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin: 14px 0 6px; }.gsteps { margin: 6px 0 6px 20px; font-size: 14px; color: #ccc; line-height: 1.55; }.gsteps li { margin-bottom: 8px; }.gdim { color: #aaa; font-size: 14px; }.guide-detail a { color: #7c8aff; text-decoration: none; }#wx-banner { margin: 0 16px; padding-top: 8px; }.wx-bar { display: flex; align-items: center; gap: 8px; background: #1a1f2e; border: 1px solid #2a3040; border-radius: 10px; padding: 8px 12px; font-size: 14px; color: #ccc; }.wx-cold { background: #3a1420; border: 1px solid #7c2d3a; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: #ffd7dd; line-height: 1.45; }.wx-cold b { color: #fff; }.wx-cold a { color: #9db4ff; font-weight: bold; }#learn-search { width: 100%; padding: 12px; margin: 0 0 12px; border: 1px solid #333; border-radius: 8px; background: #1a1f2e; color: #fff; font-size: 16px; }#learn-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; }.learn-free { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #aaa; margin-bottom: 12px; cursor: pointer; }.learn-free input { width: 18px; height: 18px; accent-color: #7c8aff; cursor: pointer; }.learn-note { color: #666; font-size: 12px; margin-top: 12px; line-height: 1.5; }.emoji-pin{transition:transform .2s ease-out;}.emoji-pin:hover{transform:scale(1.15);z-index:1000!important;}.app-pin .pin-body{transition:transform .2s ease-out,box-shadow .2s ease-out;}.leaflet-marker-icon{transition:opacity .3s ease-out;}.leaflet-zoom-animated{transition:transform .25s cubic-bezier(0.2,0.9,0.3,1.2);}
#peek.show { bottom: 0 !important; }#peek.full { max-height: 82vh !important; }#peek .gm-grab { width:36px;height:4px;border-radius:2px;background:#555;margin:0 auto 10px; }#peek .gm-t { font-size:18px;font-weight:600;color:#fff;line-height:1.25; }#peek .gm-s { margin-top:3px;font-size:13px;color:#888;display:flex;gap:6px;flex-wrap:wrap;align-items:center; }#peek .gm-a { display:flex;gap:8px;margin-top:12px;overflow-x:auto; }#peek .gm-a a, #peek .gm-a button { flex:none;display:flex;align-items:center;gap:6px;padding:9px 16px;border-radius:20px;border:1px solid #444;background:transparent;color:#7c8aff;font-weight:600;font-size:13px;text-decoration:none;cursor:pointer; }#peek .gm-a .p { background:#1a73e8;color:#fff;border-color:#1a73e8; }#peek .gm-row { font-size:15px;padding:9px 0;border-bottom:1px solid rgba(128,128,128,.25);line-height:1.35;color:#ddd; }#peek .gm-row a { color:#7c8aff;text-decoration:none;font-weight:600; }#peek .gm-desc { font-size:14px;line-height:1.5;margin:12px 0;color:#ccc; }#peek .gm-more { display:none; }#peek.full .gm-more { display:block; }.pin-selected .pin-body { background:#ea4335 !important;border-color:#b3261e !important;animation:gmdrop .28s cubic-bezier(.2,.9,.3,1.3); }@keyframes gmdrop { from { transform:translateY(-20px);opacity:.2; } to { transform:translateY(0);opacity:1; } }
/* "Can I go here?" finder (ported from the app) */
#finder-ov{position:fixed;inset:0;background:rgba(0,0,0,.75);z-index:2500;display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow-y:auto;}
#finder-in{background:#1a1f2e;border-radius:16px;max-width:560px;width:100%;padding:20px;margin:4vh 0;border:1px solid #2a3040;max-height:88vh;overflow-y:auto;}
#finder-in h2{color:#fff;margin-bottom:6px;font-size:20px;}
.finder-sub{color:#888;font-size:13px;margin-bottom:12px;line-height:1.5;}
.finder-sub b{color:#ccc;}
.finder-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;}
.finder-row{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:#0f1420;border:1px solid #2a3040;border-radius:10px;padding:10px;margin-bottom:8px;color:#fff;cursor:pointer;font-size:14px;}
.finder-row .fi{font-size:22px;flex:none;}
.finder-row .fb{flex:1;min-width:0;}
.finder-row .fb b{display:block;font-size:15px;}
.finder-row .fb small{color:#888;font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#rain-banner{margin:0 16px;}#rain-banner:empty{display:none;}.wx-rain{display:flex;align-items:center;gap:8px;background:#16283a;border:1px solid #2d5a7c;border-radius:10px;padding:10px 12px;font-size:14px;color:#cfe8ff;line-height:1.45;margin-top:8px;}.wx-rain b{color:#fff;}.wx-dismiss{margin-left:auto;background:none;border:1px solid #2d5a7c;color:#9db4ff;border-radius:8px;padding:4px 10px;font-size:13px;cursor:pointer;flex:none;}.plNote{margin-top:14px;border-top:1px solid #2a3040;padding-top:12px;}.plNote h4{color:#fff;font-size:15px;margin:0 0 8px;}.plChips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;}.plChip{background:#2a3040;color:#e0e0e0;border:1px solid #3a4055;border-radius:20px;padding:6px 12px;font-size:13px;cursor:pointer;}.plChip.on{background:#1a73e8;border-color:#1a73e8;color:#fff;}.plTa{width:100%;min-height:70px;background:#0f1420;color:#e0e0e0;border:1px solid #2a3040;border-radius:10px;padding:10px;font-size:14px;font-family:inherit;box-sizing:border-box;resize:vertical;}.plNote .fine{font-size:12px;color:#8a93a8;margin-top:6px;}
.fs-btn{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 12px;margin-bottom:8px;border-radius:12px;border:1px solid #2a3040;background:#1a2338;color:#fff;font-size:15px;font-weight:700;cursor:pointer}.fs-btn small{display:block;font-weight:500;font-size:12px;color:#9aa4bb;margin-top:2px}.fs-btn .fi{font-size:22px;flex:none}.fs-btn.fs-pri{background:linear-gradient(135deg,#6ea8ff,#8a7bff);color:#0a0e17;border:0}.fs-btn.fs-pri small{color:rgba(10,14,23,.75)}
.todo-rem{background:none;border:none;color:#9db4ff;font-size:16px;cursor:pointer;padding:4px 8px;}.todo-time{font-size:12px;color:#9db4ff;white-space:nowrap;}.todo-remedit{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 12px;background:#10141f;border-radius:8px;margin:-4px 0 8px;}.todo-remedit input[type="datetime-local"]{background:#1a1f2e;color:#fff;border:1px solid #333;border-radius:8px;padding:8px;color-scheme:dark;}
/* Program tools (ptools): per-program bring checklist + notes */
.bringrow{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#1a1f2e;border-radius:8px;margin-bottom:8px;cursor:pointer;font-size:14px;color:#ddd;}
.bringrow input{width:18px;height:18px;accent-color:#7c8aff;flex:none;cursor:pointer;}
.txtin{width:100%;min-height:90px;background:#0f1420;color:#e0e0e0;border:1px solid #2a3040;border-radius:10px;padding:10px;font-size:14px;font-family:inherit;box-sizing:border-box;resize:vertical;}

/* Chat channels (chat.js): General / Ask for Help / Free Stuff */
#chat-channels{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap;}
.chat-chip{padding:8px 14px;border:1px solid #333;border-radius:16px;background:#1a1f2e;color:#ccc;font-size:13px;cursor:pointer;}
.chat-chip.on{background:#7c8aff;border-color:#7c8aff;color:#fff;font-weight:bold;}

/* My pins (feature #28) */
.pin-fab{position:absolute;top:172px;right:10px;z-index:500;width:44px;height:44px;border:1px solid #333;border-radius:12px;background:rgba(26,31,46,.95);color:#fff;font-size:20px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;}
.mypin{width:34px;height:34px;border-radius:50%;border:2px dashed #fff;display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 2px 8px rgba(0,0,0,.5);}
.pin-ov{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px;}
.pin-card{background:#1a1f2e;border:1px solid #333;border-radius:16px;padding:20px;max-width:420px;width:100%;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,.5);}

/* Budget Studio (budget.js) — ported from the app */
.bgt-sec{margin:20px 0 10px;display:flex;align-items:center;gap:10px}
.bgt-sec h3{margin:0;font-size:16px;font-weight:800;color:#fff}
.bgt-sec .bar{width:5px;height:22px;border-radius:3px;background:linear-gradient(180deg,#818cf8,#22d3ee);flex:none}
.bgt-pills{display:flex;gap:8px;margin:0 0 12px}
.bgt-pill{flex:1;border:1.5px solid #2a3040;background:#1a1f2e;color:#e0e0e0;border-radius:14px;padding:11px 6px;font-weight:800;font-size:13px;cursor:pointer}
.bgt-pill.on{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border-color:transparent}
.bgt-card{background:#1a1f2e;border:1px solid #2a3040;border-radius:16px;margin-bottom:12px;padding:16px}
.bgt-card h4{margin:0 0 10px;font-size:14.5px;font-weight:800;color:#fff}
.bgt-sub{color:#888;font-size:13px;line-height:1.55;margin-bottom:6px}
.bgt-left{text-align:center;margin:2px 0 4px}
.bgt-left b{font-size:30px;font-weight:800;letter-spacing:-.5px}
.bgt-left small{display:block;color:#888;font-size:12px;margin-top:2px}
.bgt-stats{display:flex;gap:10px;margin:10px 0 4px}
.bgt-stat{flex:1;background:rgba(127,127,127,.1);border-radius:14px;padding:10px 6px;text-align:center}
.bgt-stat b{display:block;font-size:16px;font-variant-numeric:tabular-nums}
.bgt-stat small{color:#888;font-size:11.5px}
.bgt-donutwrap{display:flex;gap:14px;align-items:center;margin:6px 0 2px}
.bgt-donut{width:110px;height:110px;flex:none}
.bgt-donut svg{transform:rotate(-90deg);display:block}
.bgt-leg{flex:1;min-width:0;font-size:13px;color:#ccc}
.bgt-leg div{display:flex;align-items:center;gap:8px;margin:5px 0}
.bgt-leg i{width:12px;height:12px;border-radius:4px;flex:none}
.bgt-leg span{margin-left:auto;font-weight:800;font-variant-numeric:tabular-nums;color:#fff}
.bgt-row{display:flex;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #2a3040;color:#e0e0e0}
.bgt-row:last-of-type{border-bottom:0}
.bgt-row .nm{flex:1;min-width:0;font-weight:600;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bgt-row .amt{font-weight:800;font-variant-numeric:tabular-nums;font-size:13.5px;color:#fff}
.bgt-tag{font-size:10.5px;font-weight:800;border-radius:999px;padding:3px 8px;flex:none}
.bgt-tag.need{background:rgba(245,158,11,.18);color:#f59e0b}
.bgt-tag.want{background:rgba(139,92,246,.18);color:#a78bfa}
.bgt-tag.due{background:rgba(34,211,238,.15);color:#67e8f9}
.bgt-del{border:0;background:rgba(127,127,127,.2);color:#e0e0e0;border-radius:50%;width:28px;height:28px;flex:none;cursor:pointer;font-size:13px}
.bgt-add{display:flex;gap:8px;margin-top:10px}
.bgt-add input{min-width:0;background:#0f1420;border:1px solid #2a3040;color:#fff;border-radius:12px;padding:10px;font-size:14px}
.bgt-add input.nm{flex:1}
.bgt-add input.amt{flex:0 0 84px}
.bgt-btn{border:0;border-radius:12px;padding:10px 14px;font-weight:800;font-size:14px;background:linear-gradient(135deg,#34d399,#10b981);color:#04160a;cursor:pointer;flex:none}
.bgt-kind{display:flex;gap:6px;margin-top:8px}
.bgt-kind button{border:1.5px solid #2a3040;background:transparent;color:#e0e0e0;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer}
.bgt-kind button.on-n{background:#f59e0b;border-color:#f59e0b;color:#1a1005}
.bgt-kind button.on-w{background:#8b5cf6;border-color:#8b5cf6;color:#fff}
.bgt-tip{border-radius:14px;padding:11px 13px;font-size:13px;margin-top:12px;line-height:1.55;background:rgba(34,211,238,.1);border:1px solid rgba(34,211,238,.32);color:#ccc}
.bgt-tip.warn{background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.4)}
.bgt-tip.good{background:rgba(52,211,153,.12);border-color:rgba(52,211,153,.4)}
.bgt-bank{margin-top:12px;background:linear-gradient(135deg,rgba(79,70,229,.18),rgba(124,58,237,.12));border:1px solid rgba(129,140,248,.4)}
.bgt-bank b{display:block;font-size:14px;margin-bottom:4px;color:#fff}
.bgt-bank p{margin:0 0 10px;font-size:12.5px;color:#888;line-height:1.5}
.bgt-bank button{border:0;border-radius:12px;padding:10px 14px;font-weight:800;background:linear-gradient(135deg,#818cf8,#6366f1);color:#fff;cursor:pointer}
.bgt-empty{text-align:center;padding:18px 10px;color:#888;font-size:13px;line-height:1.6}
.bgt-empty .big{font-size:34px;margin-bottom:6px}
.bgt-due{font-size:11.5px;font-weight:800;border-radius:999px;padding:4px 10px;background:rgba(127,127,127,.18);flex:none;color:#ccc}
.bgt-due.soon{background:rgba(251,191,36,.2);color:#fbbf24}
.bgt-due.over{background:rgba(239,68,68,.22);color:#f87171}
.bgt-add input.due{flex:0 0 70px}
.lsn{border:1px solid #2a3040;border-radius:16px;background:#1a1f2e;margin-bottom:10px;overflow:hidden}
.lsn-head{display:flex;gap:12px;align-items:center;padding:14px;width:100%;background:none;border:0;color:inherit;text-align:left;cursor:pointer}
.lsn-ic{width:42px;height:42px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;font-size:21px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff}
.lsn-head b{flex:1;font-size:14px;line-height:1.35;color:#fff}
.lsn-state{flex:none;font-size:12px;font-weight:800;color:#888}
.lsn.learned .lsn-state{color:#34d399}
.lsn-body{display:none;padding:0 14px 14px}
.lsn.open .lsn-body{display:block}
.lsn-body p{color:#888;font-size:13.5px;line-height:1.6;margin:0 0 9px}
.lsn-try{background:rgba(52,211,153,.12);border:1px solid rgba(52,211,153,.3);border-radius:12px;padding:10px 12px;font-size:13px;margin:10px 0;line-height:1.55;color:#ccc}
.lsn-done{border:0;border-radius:12px;padding:11px;font-weight:800;width:100%;font-size:13.5px;cursor:pointer;background:linear-gradient(135deg,#34d399,#10b981);color:#04160a}
.lsn.learned .lsn-done{background:rgba(127,127,127,.2);color:#e0e0e0}
.bgo{border:1px solid #2a3040;border-radius:16px;background:#1a1f2e;margin-bottom:10px;padding:14px}
.bgo-top{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.bgo-top b{flex:1;font-size:14.5px;color:#fff}
.bgo-top span{font-size:13px;color:#888;font-variant-numeric:tabular-nums}
.bgo-bar{height:12px;background:rgba(127,127,127,.18);border-radius:7px;overflow:hidden;margin-bottom:10px}
.bgo-fill{height:100%;background:linear-gradient(90deg,#f59e0b,#ef4444);border-radius:7px}
.bgo.done .bgo-fill{background:linear-gradient(90deg,#34d399,#10b981)}
.bgo-add{display:flex;gap:8px;align-items:center}
.bgo-add input{flex:1;min-width:0;background:#0f1420;border:1px solid #2a3040;color:#fff;border-radius:12px;padding:9px 10px;font-size:14px}
.ck-card{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,rgba(249,115,22,.16),rgba(239,68,68,.1));border:1px solid rgba(249,115,22,.4);border-radius:16px;margin-bottom:12px;padding:14px}
.ck-flame{font-size:30px;flex:none}
.ck-mid{flex:1;min-width:0;color:#e0e0e0}
.ck-mid b{font-size:15px}
.ck-mid small{display:block;color:#888;font-size:12px;margin-top:2px;line-height:1.4}
.ck-btn{border:0;border-radius:14px;padding:11px 18px;font-weight:800;font-size:13.5px;background:linear-gradient(135deg,#fb923c,#ef4444);color:#fff;cursor:pointer;flex:none}
.ck-done{width:38px;height:38px;flex:none;border-radius:50%;background:linear-gradient(135deg,#34d399,#10b981);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}
/* back-to-top FAB for the places list (#list) — parity with the Android app's #topBtn */
#topBtnW{position:absolute;right:16px;bottom:24px;z-index:50;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:linear-gradient(135deg,#7c8aff,#9b5de5);color:#fff;font-size:24px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.25);-webkit-tap-highlight-color:transparent;opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity .22s ease,transform .28s cubic-bezier(.2,.9,.3,1.3);}
#topBtnW.show{opacity:1;transform:none;pointer-events:auto;}
#topBtnW:active{transform:scale(.92);}
@media(prefers-reduced-motion:reduce){#topBtnW{transition:none;}}

/* Saved-tab empty state — parity with the Android app's polished .empty (app §5).
   Accent-gradient CTA button, 48px touch target, dark-theme card. */
.empty{max-width:420px;margin:18px auto;padding:30px 22px;text-align:center;
  border-radius:18px;position:relative;overflow:hidden;
  background:#1a1f2e;border:1px solid #333;box-shadow:0 6px 22px -12px rgba(0,0,0,.5);}
.empty::before{content:"";position:absolute;inset:-40% -20% auto;height:130%;
  background:radial-gradient(circle at 50% 0%,rgba(124,138,255,.22),transparent 65%);
  pointer-events:none;}
.empty .big{font-size:52px;line-height:1;margin:0 0 12px;display:inline-block;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.4));}
.empty h3{color:#fff;margin:0 0 8px;font-size:18px;position:relative;}
.empty p{color:#888;margin:0 0 4px;font-size:14px;position:relative;}
.empty .emptybtn{width:auto;margin:16px auto 0;padding:13px 26px;min-height:48px;
  background:linear-gradient(135deg,#7c8aff,#9b5de5);color:#fff;border:none;border-radius:12px;cursor:pointer;
  font-size:16px;font-weight:bold;display:inline-flex;align-items:center;justify-content:center;position:relative;}
.empty .emptybtn:active{transform:scale(.97);}
@media(prefers-reduced-motion:reduce){.empty .emptybtn{transition:none;}}

/* Smarter Guide tab (feature #32) */
.sg-top{margin-bottom:10px;}
.sg-q{width:100%;padding:10px;border-radius:12px;border:1px solid #333;background:#1a1f2e;color:#fff;box-sizing:border-box;font-size:14px;}
.sg-chips{display:flex;gap:6px;overflow-x:auto;margin-top:8px;padding-bottom:4px;-webkit-overflow-scrolling:touch;}
.sg-chips button{flex:0 0 auto;padding:7px 11px;border-radius:999px;border:1px solid #2a2f3e;background:#1a1f2e;color:#cfd6ea;font-size:12px;cursor:pointer;white-space:nowrap;}
.sg-chips button.on{background:#7c8aff;border-color:#7c8aff;color:#fff;}
.sg-sug{margin-bottom:10px;}
.sg-sh{font-size:12px;color:#888;margin-bottom:6px;}
.sg-sr{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;}
.sg-sr button{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;border:1px solid #2a2f3e;background:#1a1f2e;color:#fff;font-size:12px;cursor:pointer;max-width:220px;}
.sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;}
.sg-card{background:#1a1f2e;border:1px solid #2a2f3e;border-radius:14px;overflow:hidden;}
.sg-head{width:100%;background:none;border:0;color:#fff;text-align:left;padding:12px;cursor:pointer;display:flex;gap:10px;align-items:flex-start;}
.sg-ic{font-size:22px;flex:0 0 auto;}
.sg-main{flex:1;min-width:0;}
.sg-main h3{margin:0;font-size:14px;font-weight:700;}
.sg-main p{margin:4px 0 0;font-size:12px;color:#888;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.sg-meta{margin-top:6px;font-size:11px;color:#888;display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.sg-pill{color:#7aa8ff;}
.sg-pill.all{color:#4ade80;font-weight:700;}
.sg-open{color:#4ade80;font-weight:700;}
.sg-closed{color:#e74c3c;}
.sg-dist{color:#888;}
.sg-chev{color:#666;font-size:20px;flex:0 0 auto;}
.sg-body{display:none;padding:0 12px 12px;}
.sg-card.open .sg-body{display:block;}
.sg-where{font-size:13px;margin-bottom:4px;color:#cfd6ea;}
.sg-btns{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 2px;}
.sg-b{padding:7px 10px;border-radius:10px;background:#232839;color:#fff;text-decoration:none;font-size:12px;border:1px solid #2a2f3e;cursor:pointer;display:inline-block;}
.sg-sec{font-size:11px;color:#888;margin:8px 0 4px;letter-spacing:.5px;}
.sg-sec small{color:#666;letter-spacing:0;}
.sg-chk{list-style:none;margin:0;padding:0;}
.sg-chk li{padding:8px;border-bottom:1px solid #2a2f3e;font-size:13px;cursor:pointer;display:flex;gap:8px;align-items:flex-start;color:#e8ecf7;}
.sg-chk li i{width:15px;height:15px;border:2px solid #555;border-radius:4px;flex:0 0 auto;margin-top:2px;font-style:normal;}
.sg-chk li.done i{background:#4ade80;border-color:#4ade80;}
.sg-chk li.done span{text-decoration:line-through;opacity:.5;}
.sg-steps{margin:0;padding:0;list-style:none;}
.sg-steps li{padding:8px;border-bottom:1px solid #2a2f3e;font-size:13px;cursor:pointer;display:flex;gap:8px;align-items:flex-start;color:#e8ecf7;}
.sg-steps li i{width:20px;height:20px;border-radius:50%;background:#232839;color:#7aa8ff;font-size:11px;font-style:normal;flex:0 0 auto;display:flex;align-items:center;justify-content:center;margin-top:1px;}
.sg-steps li.done span{text-decoration:line-through;opacity:.5;}
.sg-tip{background:rgba(250,204,21,.1);border-radius:8px;padding:8px;margin-top:8px;font-size:12px;color:#e8ecf7;}
.sg-empty{color:#888;padding:20px;text-align:center;font-size:14px;}
.sg-place{background:none;border:0;color:#7aa8ff;cursor:pointer;text-decoration:underline;padding:0;font-size:inherit;font-family:inherit;}
/* Volunteer tab (feature #33) */
#volQ{width:100%;padding:10px 12px;border-radius:12px;border:1px solid #333;background:#1a1f2e;color:#fff;margin-bottom:10px;box-sizing:border-box;font-size:14px;}
#volChips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.vl-chip{padding:8px 14px;border-radius:20px;border:1px solid #3a3f52;background:#1a1f2e;color:#cfd3e0;font-size:13px;cursor:pointer;}
.vl-chip.on{background:#7c8aff;border-color:#7c8aff;color:#fff;font-weight:700;}
.vl-sum{color:#888;font-size:13px;margin-bottom:10px;}
.vl-card{background:#1a1f2e;border:1px solid #2a2f3e;border-radius:14px;padding:14px;margin-bottom:10px;}
.vl-top{display:flex;gap:12px;align-items:flex-start;margin-bottom:6px;}
.vl-ic{font-size:26px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#232839;border-radius:12px;flex:0 0 auto;}
.vl-name{font-weight:700;color:#fff;font-size:15px;}
.vl-meta{margin-top:4px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.vl-badge{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;border:1px solid #333;}
.vl-badge.ok{color:#22c55e;border-color:#22c55e66;}
.vl-badge.call{color:#f59e0b;border-color:#f59e0b66;}
.vl-badge.court{color:#a78bfa;border-color:#a78bfa66;}
.vl-dist{font-size:12px;color:#7aa8ff;}
.vl-addr{font-size:13px;color:#aaa;margin:2px 0 8px;}
.vl-rows{display:flex;flex-direction:column;gap:8px;margin:8px 0 6px;}
.vl-row{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.4;color:#e8ecf7;}
.vl-row b{font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:#888;}
.vl-row.vl-perk span{color:#f59e0b;font-weight:700;}
.vl-tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0;}
.vl-tags span{font-size:12px;color:#9fb3c8;background:#232839;border-radius:8px;padding:3px 8px;}
.vl-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.vl-btn{display:inline-block;padding:8px 14px;border-radius:10px;background:#232839;border:1px solid #3a3f52;color:#fff;font-size:13px;text-decoration:none;cursor:pointer;}
.vl-btn:hover{border-color:#7c8aff;}
.vl-empty{text-align:center;color:#888;padding:40px 20px;}
.vl-areanote{background:rgba(124,138,255,.12);border:1px solid #7c8aff66;border-radius:10px;padding:10px 12px;font-size:13px;color:#cfd3e0;margin-bottom:10px;}
.vol-banner{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 12px;padding:11px 14px;border-radius:16px;border:1px solid #f59e0b55;background:#f59e0b18;color:#fff;font-size:22px;text-align:left;cursor:pointer;box-sizing:border-box;}
.vol-banner span{flex:1;display:flex;flex-direction:column;}
.vol-banner b{font-size:15px;}
.vol-banner small{font-size:12.5px;color:#aaa;font-weight:500;}

/* App parity (Android v1.0.3706): living pulse on the open-now badge so it reads as an active status.
   Scoped to .open-now so the "Verified" badge and "Free" cost pill stay still. */
.open-badge.open-now{animation:badgePulse 2.2s ease-in-out infinite}
@keyframes badgePulse{0%,100%{box-shadow:0 0 6px #4ade80,0 0 0 0 #4ade80;opacity:1}50%{box-shadow:0 0 10px #4ade80,0 0 0 4px transparent;opacity:.85}}
@media(prefers-reduced-motion:reduce){.open-badge.open-now{animation:none}}

/* Show-a-card (#34): full-screen big-text phrase cards for showing staff. */
#cardOv{position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:3000;display:flex;align-items:center;justify-content:center;padding:24px;cursor:pointer}
.cardOvIn{width:100%;max-width:620px;text-align:center}
.cardBig{font-size:36px;font-weight:800;color:#fff;line-height:1.35;margin:0 0 20px}
.cardBig.sm{font-size:30px;color:#bcd3ff}
.cardLangs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:26px 0}
.cardLangs button{background:#1a2138;border:1px solid #3a4a75;color:#dfe7ff;border-radius:20px;padding:10px 16px;font-size:15px;cursor:pointer}
.cardLangs button.on{background:#7c8aff;border-color:#7c8aff;color:#fff;font-weight:700}
.cardClose{background:#242c48;border:1px solid #3a4a75;color:#fff;border-radius:12px;padding:12px 28px;font-size:16px;font-weight:700;cursor:pointer;margin-top:6px}
#cardPick{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:3000;overflow-y:auto;padding:18px}
.cardPickIn{max-width:560px;margin:0 auto;background:#141a2b;border:1px solid #2c3550;border-radius:16px;padding:18px}
.cardPickIn h2{color:#fff;margin:0 0 4px;font-size:20px}
.cardPickSub{color:#9fb3d9;font-size:13.5px;margin:0 0 14px}
.cardOpt{display:block;width:100%;text-align:left;background:#1a2138;border:1px solid #2c3550;color:#fff;border-radius:12px;padding:12px 14px;margin:0 0 10px;font-size:16px;font-weight:600;cursor:pointer}
.cardOpt small{display:block;color:#9fb3d9;font-size:13px;font-weight:400;margin-top:4px}
.cardOpt:active{background:#232c4d}
#foodday-ov{position:fixed;inset:0;background:rgba(0,0,0,.75);z-index:2500;display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow-y:auto;}
#foodday-in{background:#1a1f2e;border-radius:16px;max-width:560px;width:100%;padding:20px;margin:4vh 0;border:1px solid #2a3040;max-height:88vh;overflow-y:auto;}
#foodday-in h2{color:#fff;margin-bottom:6px;font-size:20px;}

/* Feature #36: display modes (ported from app more-features.js: icon-first + high contrast) */
body.iconfirst nav button{font-size:11px;}
body.iconfirst .tabbar-btn .ic{width:32px;height:32px;}
body.iconfirst .filter-btn{font-size:16px;padding:12px 16px;}
body.iconfirst .sheet-btn{font-size:17px;padding:14px 18px;}
body.iconfirst .card h3{font-size:20px;}
body.hc{background:#000!important;}
body.hc header{background:#000!important;}
body.hc .card{background:#0a0a0a!important;border:2px solid #fff!important;}
body.hc .card p,body.hc .card .meta,body.hc .card small,body.hc .addr{color:#fff!important;}
body.hc .sheet-btn,body.hc .filter-btn{border:2px solid #fff!important;color:#fff!important;}
body.hc input,body.hc textarea,body.hc select{border:2px solid #fff!important;background:#000!important;color:#fff!important;}
body.hc :focus-visible{outline:3px solid #fff!important;}

/* Wiki tab (#38): port of the Android app's wiki.js. Structural UI classes;
   article card styles are injected by wiki.js itself (#wikiCss). */
.secHead{padding:16px 16px 0}
.secHead h2{margin:0 0 4px;color:#fff;font-size:20px}
.secHead p{margin:0 0 12px;color:#888;font-size:14px}
.searchbar{display:flex;align-items:center;gap:8px;background:#1a1f2e;border:1px solid #333;border-radius:12px;padding:0 4px 0 12px}
.searchbar input{flex:1;min-width:0;background:none;border:none;color:#fff;font-size:16px;padding:12px 0;outline:none}
.mag{color:#888;flex:none}
.iconbtn{background:none;border:none;color:#888;font-size:18px;cursor:pointer;padding:8px;flex:none}
.chips{display:flex;gap:8px;overflow-x:auto;padding:0 16px 10px}
.chip{flex:none;padding:8px 14px;border:1px solid #333;border-radius:16px;background:#1a1f2e;color:#aaa;font-size:13px;cursor:pointer}
.chip.on{background:#7c8aff;border-color:#7c8aff;color:#fff}
.scroll{overflow-y:auto}
.qbtn{padding:8px 14px;border:1px solid #7c8aff;border-radius:10px;background:none;color:#7c8aff;font-size:13px;cursor:pointer;text-decoration:none;display:inline-block;font-family:inherit}

/* #39 tag filter sheet */
#tagScrim{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1200;opacity:0;pointer-events:none;transition:opacity .2s}
#tagScrim.show{opacity:1;pointer-events:auto}
#tagSheet{position:fixed;left:0;right:0;bottom:-80vh;max-height:78vh;background:#1a1f2e;border-radius:16px 16px 0 0;z-index:1201;transition:bottom .25s;display:flex;flex-direction:column;padding:0 16px 16px;box-shadow:0 -4px 20px rgba(0,0,0,.5)}
#tagSheet.show{bottom:0}
#tagSheet .grab{width:44px;height:5px;border-radius:3px;background:#444;margin:10px auto 4px;flex:none}
#tagSheet .thead{display:flex;justify-content:space-between;align-items:center;flex:none}
#tagSheet .thead h2{color:#fff;font-size:18px;margin:8px 0}
#tagSheet .iconbtn{background:none;border:none;color:#888;font-size:18px;cursor:pointer;padding:8px}
#tagSheet .tsearch{display:flex;align-items:center;gap:8px;background:#232a3d;border:1px solid #333;border-radius:10px;padding:0 10px;margin:6px 0;flex:none}
#tagSheet .tsearch .mag{color:#888}
#tagSheet .tsearch input{flex:1;background:none;border:none;color:#fff;font-size:15px;padding:10px 0;outline:none}
#tagSheet .topts{display:flex;align-items:center;gap:10px;margin:6px 0;flex:none}
#tagSheet .seg{display:flex;background:#232a3d;border-radius:10px;overflow:hidden}
#tagSheet .seg button{background:none;border:none;color:#aaa;padding:8px 14px;font-size:14px;cursor:pointer}
#tagSheet .seg button.on{background:#7c8aff;color:#fff}
#tagSheet .tclear{background:none;border:1px solid #444;color:#aaa;border-radius:10px;padding:8px 14px;font-size:14px;cursor:pointer}
#tagSheet .tchips{overflow-y:auto;display:flex;flex-wrap:wrap;gap:8px;padding:4px 0;min-height:80px}
#tagSheet .tchip{background:#232a3d;border:1px solid #444;color:#e0e0e0;border-radius:20px;padding:8px 12px;font-size:14px;cursor:pointer}
#tagSheet .tchip.on{background:#7c8aff;border-color:#7c8aff;color:#fff}
#tagSheet .tchip i{font-style:normal;opacity:.6;font-size:12px;margin-left:4px}
#tagSheet .tnone{color:#888;text-align:center;width:100%}
#tagSheet .tdone{margin-top:10px;background:#7c8aff;color:#fff;border:none;border-radius:12px;padding:14px;font-size:16px;font-weight:bold;cursor:pointer;flex:none}
.tagbtn{background:#2a1f3d;border:1px solid #7c4dff;color:#fff;border-radius:12px;padding:12px;font-size:15px;font-weight:bold;cursor:pointer}
.tagbtn-wide{width:100%;text-align:center}
.tagbtn .catn{background:#7c8aff;color:#fff;border-radius:10px;padding:1px 8px;font-size:12px;margin-left:6px;font-weight:bold}
.tagbtn-map .catn{position:absolute;top:-6px;right:-6px;background:#7c8aff;color:#fff;border-radius:10px;padding:0 6px;font-size:11px;font-weight:bold}
/* Meal & daily alerts (#42): option chips in the Settings alerts card */
.al-chip{background:#2a3040;color:#ccc;border:1px solid #444;border-radius:16px;padding:8px 14px;font-size:13px;cursor:pointer;margin:2px 4px 2px 0;}
.al-chip.on{background:#7c8aff;color:#fff;border-color:#7c8aff;font-weight:bold;}
/* #43 phonelines: "More numbers to call" list under the hotlines */
.pl-line{border-left-color:#7c8aff;}
.pl-line a{font-size:18px;}

/* Feature #45: FAB pop-out map menu (ports app gm-fab.css; English-only). */
#hvFab{position:absolute;right:10px;bottom:12px;z-index:520;width:54px;height:54px;pointer-events:none}
#hvFabMain{position:absolute;right:0;bottom:0;width:54px;height:54px;border-radius:50%;border:1px solid #334;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:26px;line-height:1;font-weight:300;box-shadow:0 8px 22px rgba(0,0,0,.45);cursor:pointer;pointer-events:auto;display:flex;align-items:center;justify-content:center;padding:0;-webkit-tap-highlight-color:transparent;transition:transform .28s cubic-bezier(.2,.9,.3,1.2),box-shadow .2s}
#hvFabMain span{display:block;transition:transform .28s cubic-bezier(.2,.9,.3,1.2)}
#hvFabMain:active{transform:scale(.92)}
#hvFab.open #hvFabMain span{transform:rotate(135deg)}
#hvFab>.hvf-it{position:absolute!important;right:3px!important;bottom:3px!important;left:auto!important;top:auto!important;margin:0!important;width:48px!important;height:48px!important;border-radius:50%!important;z-index:1;display:flex!important;align-items:center!important;justify-content:center!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(0) scale(.2);transform-origin:50% 100%;transition:transform .26s cubic-bezier(.2,.9,.3,1.25),opacity .18s ease,visibility 0s linear .26s}
#hvFab.open>.hvf-it{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(calc(var(--i)*-60px - 62px)) scale(1);transition:transform .3s cubic-bezier(.2,.9,.3,1.25),opacity .2s ease,visibility 0s;transition-delay:calc(var(--i)*45ms)}
#hvFab>.hvf-it::before{content:attr(data-lbl);position:absolute;right:58px;top:50%;transform:translateY(-50%);white-space:nowrap;padding:6px 11px;border-radius:999px;background:rgba(20,27,46,.96);color:#fff;border:1px solid #334;font-size:12.5px;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.35);pointer-events:none}
#hvFabMain:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px rgba(37,99,235,.55),0 8px 22px rgba(0,0,0,.45)}
#hvFab.open>.hvf-it:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){#hvFab>.hvf-it,#hvFab.open>.hvf-it,#hvFabMain,#hvFabMain span{transition:none!important}}
#peek #gmClose{position:absolute;top:8px;right:8px;z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid #444;background:#2a2f3e;color:#fff;font:600 16px/1 system-ui;cursor:pointer;padding:0}
#peek #gmClose:active{background:#3a4152}
#guideReader{display:none;position:fixed;inset:0;background:#0a0e17;z-index:2500;overflow-y:auto;-webkit-overflow-scrolling:touch;}
#guideReader .gr-head{position:sticky;top:0;background:#0a0e17;padding:16px;border-bottom:1px solid #2a2f3e;z-index:2;}
#guideReader .gr-head h2{color:#fff;margin:8px 40px 0 0;font-size:22px;line-height:1.3;}
#guideReader .gr-close{position:absolute;top:12px;right:12px;background:#2a3040;color:#fff;border:none;border-radius:50%;width:42px;height:42px;font-size:18px;cursor:pointer;}
#guideReader .gr-close:active{background:#3a4050;}
#guideReader .gr-body{padding:16px 16px 60px;max-width:640px;margin:0 auto;}
.app-pin{width:calc(38px*var(--ps,1));height:calc(38px*var(--ps,1));}
.app-pin .pin-body{width:calc(38px*var(--ps,1));height:calc(38px*var(--ps,1));font-size:calc(21px*var(--ps,1));}
.pin-label{top:calc(50px*var(--ps,1));}
.card a.sheet-btn{color:#fff;}
#dc-chat{display:flex;height:72vh;min-height:420px;margin:16px;background:#313338;border:1px solid #1e1f22;border-radius:12px;overflow:hidden;}
#dc-sidebar{width:190px;flex:none;background:#2b2d31;display:flex;flex-direction:column;padding:12px 8px;}
.dc-side-head{font-size:11px;font-weight:700;color:#949ba4;letter-spacing:.5px;padding:0 8px 8px;}
#chat-channels{display:flex;flex-direction:column;gap:2px;margin-bottom:0;}
.dc-chan{display:flex;align-items:center;gap:6px;width:100%;background:none;border:none;color:#949ba4;font-size:15px;padding:8px 10px;border-radius:6px;cursor:pointer;text-align:left;}
.dc-chan:hover{background:#35373c;color:#dbdee1;}
.dc-chan.on{background:#404249;color:#fff;}
.dc-hash{color:#80848e;font-weight:700;}
.dc-chan.on .dc-hash{color:#fff;}
.dc-side-note{margin-top:auto;font-size:11px;color:#6d6f78;padding:10px 8px 0;line-height:1.5;}
#dc-main{flex:1;display:flex;flex-direction:column;min-width:0;position:relative;}
#dc-chan-head{display:flex;align-items:center;gap:6px;padding:12px 16px;border-bottom:1px solid #1e1f22;font-weight:700;color:#fff;font-size:16px;background:#313338;}
#dc-chan-hash{color:#80848e;}
#chat-msgs{flex:1;overflow-y:auto;padding:12px 0;}
.dc-msg{position:relative;display:flex;gap:14px;padding:4px 16px;margin-top:14px;}
.dc-msg.grouped{margin-top:2px;}
.dc-msg:hover{background:#2e3035;}
.dc-av{flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px;}
.dc-msg.grouped .dc-av{visibility:hidden;height:0;min-height:0;}
.dc-body{flex:1;min-width:0;}
.dc-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
.dc-name{color:#fff;font-weight:600;font-size:15px;}
.dc-time{color:#949ba4;font-size:11px;}
.dc-text{color:#dbdee1;font-size:15px;line-height:1.45;word-wrap:break-word;white-space:pre-wrap;}
.dc-actions{position:absolute;top:-14px;right:12px;display:flex;gap:2px;background:#2b2d31;border:1px solid #1e1f22;border-radius:8px;padding:2px;opacity:0;transition:opacity .12s;z-index:5;}
.dc-msg:hover .dc-actions{opacity:1;}
@media (hover:none){.dc-actions{opacity:1;}}
.dc-actions button{background:none;border:none;color:#b5bac1;font-size:15px;padding:6px 8px;border-radius:6px;cursor:pointer;}
.dc-actions button:hover{background:#35373c;color:#fff;}
#dc-composer{display:flex;align-items:center;gap:8px;margin:0 16px 16px;background:#383a40;border-radius:24px;padding:6px 8px 6px 6px;}
#chat-input{flex:1;min-width:0;background:none;border:none;color:#dbdee1;font-size:15px;padding:10px 8px;outline:none;}
#chat-input::placeholder{color:#6d6f78;}
#dc-emoji-btn{background:none;border:none;font-size:22px;cursor:pointer;padding:6px;border-radius:50%;flex:none;}
#dc-emoji-btn:hover{background:#2b2d31;}
#dc-send{background:#5865F2;border:none;color:#fff;width:40px;height:40px;border-radius:50%;font-size:16px;cursor:pointer;flex:none;}
#dc-send:hover{background:#4752c4;}
#dc-emoji-pop{position:absolute;left:16px;bottom:78px;display:none;grid-template-columns:repeat(5,1fr);gap:4px;background:#2b2d31;border:1px solid #1e1f22;border-radius:12px;padding:10px;z-index:50;box-shadow:0 8px 24px rgba(0,0,0,.5);}
#dc-emoji-pop button{background:none;border:none;font-size:24px;padding:6px;border-radius:8px;cursor:pointer;}
#dc-emoji-pop button:hover{background:#35373c;}
.dc-empty{text-align:center;padding:60px 20px;color:#949ba4;}
.dc-empty-hash{font-size:56px;color:#4e5058;margin-bottom:8px;}
.dc-empty-title{color:#fff;font-size:20px;font-weight:700;margin-bottom:6px;}
.dc-empty-sub{font-size:14px;line-height:1.6;}
@media (max-width:560px){#dc-sidebar{width:128px;}#dc-chat{margin:8px;height:74vh;}}
.tab:not(#tab-map),header,#sidebar,#filter-panel,#places-sheet,#sheet-overlay,#place-panel,#guideReader{zoom:var(--ts,1);}
#tab-map>*:not(#map-wrap){zoom:var(--ts,1);}

/* App-style pins (match Haven FW app) */
.emoji-pin{background:none;border:none;}
.emoji-pin .pin{position:relative;}
.emoji-pin .pname{display:none;position:absolute;top:calc(50px*var(--ps,1));left:50%;transform:translateX(-50%);background:rgba(0,0,0,.75);color:#fff;font-size:11px;padding:2px 8px;border-radius:4px;white-space:nowrap;pointer-events:none;z-index:10;}
body.pnames .emoji-pin .pname{display:block;}
/* ===== haven-fix design system (2026-10-22, website team) ===== */
:root{
  --bg:#1a1f2e; --bg2:#141828; --surface:#232a40; --page:#0a0e17;
  --text:#f2f4fa; --text2:#b9c1d6; --text3:#aab2c8;
  --accent:#7c8aff; --ok:#4ade80; --warn:#fbbf24; --danger:#f87171;
  --line:#2a3040; --line2:#333;
}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.ic{flex:none;}

/* header */
.app-header{display:flex;align-items:center;gap:12px;}
.wordmark-btn{background:none;border:none;cursor:pointer;padding:8px;min-width:44px;min-height:44px;display:flex;align-items:center;}
.header-sub{color:var(--text3);font-size:14px;}
.header-sub #count{color:var(--text2);}
.area-chip{margin-left:auto;background:var(--bg);border:1px solid var(--line2);color:#fff;border-radius:20px;padding:8px 14px;font-size:14px;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:6px;min-height:44px;}
.area-chip .ic{color:var(--accent);}
.area-caret{color:var(--accent);font-size:16px;line-height:1;}

/* crisis strip */
.crisis-strip{background:linear-gradient(135deg,#3a1420,#2a1a2e);border-bottom:1px solid var(--line);padding:12px 16px;}
.crisis-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;}
.crisis-title{color:#fff;font-weight:800;font-size:16px;}
.crisis-tel{background:#fff;color:#dc2626;padding:10px 18px;border-radius:12px;text-decoration:none;font-weight:800;font-size:16px;min-height:44px;display:inline-flex;align-items:center;}
.crisis-tel[href="tel:211"]{background:rgba(255,255,255,.16);color:#fff;}
.crisis-tel[href="sms:988"]{background:rgba(255,255,255,.16);color:#fff;}
.crisis-chips{display:flex;gap:8px;}
.crisis-chips .chip{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 8px;min-height:44px;}
.crisis-chips .chip .ic{color:var(--accent);}
.crisis-hint{display:block;width:100%;margin-top:8px;padding:6px;background:none;border:none;color:rgba(255,255,255,.55);font-size:12px;text-align:center;cursor:pointer;}
.crisis-hint:active{color:#fff;}

/* map search + controls */
#map-wrap{position:relative;margin:0;}
#map{height:52vh;min-height:300px;}
.map-search{position:absolute;top:10px;left:10px;right:10px;z-index:500;display:flex;gap:8px;align-items:center;}
.map-search-input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line2);border-radius:12px;background:rgba(26,31,46,.95);color:#fff;font-size:16px;box-shadow:0 2px 8px rgba(0,0,0,.3);}
#search.map-search-input{width:auto;margin:0;}
.map-icon-btn{width:44px;height:44px;flex:none;border:1px solid var(--line2);border-radius:12px;background:rgba(26,31,46,.95);color:var(--accent);font-size:18px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;}
#voice-btn{display:none;}
.map-filter-btn{position:absolute;top:64px;right:10px;z-index:500;}
.map-open-btn{position:absolute;top:118px;right:10px;z-index:500;border-color:#dc2626;background:#dc2626;color:#fff;border-radius:12px;}

/* bottom tab bar: exactly 5 tabs, no scroll */
.tabbar{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--bg);border-top:1px solid var(--line2);z-index:900;overflow:visible;padding-bottom:env(safe-area-inset-bottom);}
.tabbar-btn{flex:1 1 0;min-width:0;padding:10px 2px 8px;background:none;border:none;color:var(--text3);font-size:11px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:60px;justify-content:center;}
.tabbar-btn .ic{color:currentColor;}
.tabbar-btn.active{color:var(--accent);}

/* more sheet */
.scrim{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:1998;display:none;}
.more-sheet{position:fixed;left:0;right:0;bottom:-80vh;max-height:75vh;background:var(--bg);z-index:1999;transition:bottom .28s;border-radius:18px 18px 0 0;box-shadow:0 -4px 20px rgba(0,0,0,.5);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);}
.more-sheet.open{bottom:0;}
.sheet-grab{padding:12px;text-align:center;cursor:pointer;flex:none;}
.sheet-grab .grab{width:44px;height:5px;border-radius:3px;background:#555;margin:0 auto;}
.more-list{overflow-y:auto;padding:4px 8px 16px;}
.more-row{display:flex;align-items:center;gap:14px;width:100%;padding:13px 12px;background:none;border:none;border-bottom:1px solid var(--line);color:var(--text);font-size:16px;cursor:pointer;text-align:left;min-height:56px;}
.more-row .mi{color:var(--accent);}
.more-row .ml{flex:1;}
.more-row .chev{color:#666;}

/* side panels (filters / place details) */
.side-panel{position:fixed;top:0;left:-290px;width:280px;max-width:85vw;height:100%;background:var(--bg);z-index:2000;transition:left .3s;overflow-y:auto;padding:20px 0;box-shadow:2px 0 10px rgba(0,0,0,.5);}
.side-panel.right{left:auto;right:-410px;width:380px;transition:right .3s;box-shadow:-2px 0 10px rgba(0,0,0,.5);}
.side-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:0 20px;}
.side-panel-head h2{color:var(--accent);margin:0;font-size:20px;}
.side-panel-head button{background:none;border:none;color:var(--text3);font-size:24px;cursor:pointer;min-width:44px;min-height:44px;}
.side-panel-h3{color:var(--text3);font-size:12px;margin:0 0 8px;padding:0 20px;cursor:default;}
#sidebar-filters{padding:0 20px;}
.panel-pad{padding:16px;}

/* places bottom sheet */
.places-sheet{position:fixed;bottom:-70vh;left:0;right:0;height:70vh;background:var(--bg);z-index:1002;transition:bottom .3s;border-radius:16px 16px 0 0;box-shadow:0 -4px 20px rgba(0,0,0,.5);display:flex;flex-direction:column;}
.places-title{color:var(--accent);font-weight:bold;}
.places-tools{padding:12px 16px;border-bottom:1px solid var(--line2);flex:none;}
.places-list{flex:1;overflow-y:auto;padding:0 16px 16px;}
.places-fab{position:fixed;bottom:96px;left:16px;z-index:1001;padding:12px 24px;background:var(--accent);color:#fff;border:none;border-radius:24px;font-size:16px;font-weight:bold;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.4);min-height:48px;}

/* content components */
.view-head{margin-bottom:12px;}
.view-head h2{color:#fff;margin:0;font-size:20px;}
.view-head p{color:var(--text3);font-size:14px;margin:4px 0;}
.sec-h2{color:#fff;margin:20px 0 4px;font-size:18px;}
.view-sub{color:var(--text3);font-size:14px;margin:4px 0;}
.sec-title{margin:16px 0 8px;font-weight:800;color:#fff;font-size:16px;}
.tip-sub{font-size:13px;color:var(--text3);margin-bottom:8px;}
.hero-card{border-radius:16px;padding:20px;margin-bottom:12px;text-align:center;}
.hero-red{background:linear-gradient(135deg,#dc2626,#991b1b);}
.hero-blue{background:linear-gradient(135deg,#1a73e8,#7c4dff);}
.big-emoji{font-size:40px;}
.hero-title{font-size:20px;font-weight:800;color:#fff;margin:4px 0;}
.hero-sub{font-size:13px;opacity:.9;margin-bottom:12px;color:#fff;}
.tip-box{background:rgba(250,204,21,.1);border-radius:12px;padding:12px;margin-bottom:8px;font-size:14px;color:var(--text2);line-height:1.5;}
.tip-box b{color:#fff;}
.btn-row{display:flex;gap:8px;}
.btn-row.center{justify-content:center;}
.pad-x{padding:0 16px 12px;}
.btn-primary{padding:12px;background:#2a1f3d;border:1px solid #7c4dff;color:#fff;border-radius:12px;font-size:15px;font-weight:bold;cursor:pointer;min-height:48px;}
.flex1{flex:1;}
.btn-white{background:#fff;color:#dc2626;padding:10px 18px;border-radius:12px;text-decoration:none;font-weight:800;min-height:44px;display:inline-flex;align-items:center;}
.btn-white-ghost{background:rgba(255,255,255,.2);color:#fff;padding:10px 18px;border-radius:12px;text-decoration:none;font-weight:800;min-height:44px;display:inline-flex;align-items:center;}
/* New Here Guide entry card — warm, welcoming, stands out from crisis red */
.newhere-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;margin-bottom:12px;border-radius:14px;border:1px solid #8a6d2d;background:linear-gradient(135deg,#3a2c12,#241a0a);cursor:pointer;min-height:64px;}
.newhere-card:active{transform:scale(.99);}
.newhere-card.tonight-card{border-color:#3b5bdb;background:linear-gradient(135deg,#16213e,#0d1428);}
.newhere-card.tonight-card .newhere-text b{color:#bcd2ff;}
.newhere-card.tonight-card .newhere-sub{color:#8fa8d8;}
.newhere-card.tonight-card .newhere-arrow{color:#8fa8d8;}
.newhere-card.charge-card{border-color:#65a30d;background:linear-gradient(135deg,#1a2e0a,#0f1c05);}
.newhere-card.charge-card .newhere-text b{color:#d9f99d;}
.newhere-card.charge-card .newhere-sub{color:#a3b86b;}
.newhere-card.charge-card .newhere-arrow{color:#a3b86b;}
.tonight-row{display:flex;gap:8px;margin:8px 16px 0;}
.tonight-btn{flex:1.4;padding:12px 14px;background:linear-gradient(135deg,#1e2a5a,#101a3a);border:1px solid #3b5bdb;border-radius:12px;color:#fff;font-size:15px;font-weight:800;cursor:pointer;min-height:52px;text-align:left;line-height:1.3;}
.tonight-btn:active{transform:scale(.99);}
.tonight-sub{display:block;font-weight:400;font-size:12px;color:#8fa8d8;}
.charge-btn{flex:1;padding:12px 10px;background:linear-gradient(135deg,#22330f,#141f08);border:1px solid #65a30d;border-radius:12px;color:#d9f99d;font-size:14px;font-weight:800;cursor:pointer;min-height:52px;}
.charge-btn:active{transform:scale(.99);}
.bus-btn{flex:1;padding:12px 10px;background:linear-gradient(135deg,#0f2b33,#081418);border:1px solid #14b8a6;border-radius:12px;color:#a5f3fc;font-size:14px;font-weight:800;cursor:pointer;min-height:52px;}
.bus-btn:active{transform:scale(.99);}
.newhere-emoji{font-size:30px;flex:none;}
.newhere-text{flex:1;display:flex;flex-direction:column;gap:3px;}
.newhere-text b{color:#ffe9b8;font-size:16px;}
.newhere-sub{color:#cbb37e;font-size:13px;line-height:1.35;}
.newhere-arrow{font-size:28px;color:#cbb37e;flex:none;font-weight:300;}
/* New Here Guide sheet sections */
.nh-intro{font-size:15px;line-height:1.55;color:#d8cfc0;margin-bottom:4px;}
.nh-sec{color:#f5c76a;font-weight:bold;font-size:13px;text-transform:uppercase;letter-spacing:.5px;margin:18px 0 8px;}
.nh-sec:first-of-type{margin-top:14px;}
.nh-p{font-size:15px;line-height:1.6;color:#e6e0d4;margin-bottom:6px;}
.btn-sos{width:100%;padding:14px;background:#dc2626;color:#fff;border:0;border-radius:12px;font-size:16px;font-weight:800;margin-bottom:12px;cursor:pointer;min-height:52px;}
.btn-card{width:100%;padding:14px;background:var(--bg);border:1px solid var(--accent);border-radius:12px;font-size:16px;font-weight:800;margin-bottom:12px;cursor:pointer;color:#fff;min-height:52px;}
.btn-sub{font-weight:400;font-size:13px;color:#9fb3d9;}
.btn-danger{padding:8px 16px;border:1px solid #dc2626;border-radius:16px;background:#dc2626;color:#fff;font-size:13px;cursor:pointer;min-height:44px;}
.toggle-btn{padding:8px 16px;border:1px solid #444;border-radius:16px;background:#2a2f3e;color:#aaa;font-size:13px;cursor:pointer;min-height:44px;display:inline-flex;align-items:center;gap:6px;}
.btn-row.wrap{flex-wrap:wrap;}
.search-row{display:flex;gap:8px;margin-bottom:8px;}
.chip-row{display:flex;gap:6px;overflow-x:auto;padding-bottom:12px;}
.field{padding:10px 12px;background:var(--bg);border:1px solid var(--line2);border-radius:10px;color:#fff;font-size:16px;}
.field.full{width:100%;margin-bottom:8px;}
select.field{font-size:16px;}
textarea.field{font-family:inherit;resize:vertical;}
.card-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;}
.flyer-btn{background:var(--bg);border:1px solid var(--line2);border-radius:12px;padding:14px;color:#fff;cursor:pointer;min-height:64px;}
.flyer-emoji{font-size:24px;}
.flyer-label{font-size:13px;font-weight:700;}
.about-link{width:100%;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:12px;padding:14px;font-size:15px;font-weight:700;cursor:pointer;margin-bottom:12px;min-height:52px;text-align:left;}
.share-box{background:var(--bg);border-radius:12px;padding:16px;text-align:center;margin-bottom:12px;}
.share-url{font-size:13px;color:#7aa8ff;word-break:break-all;margin-bottom:8px;}
.card-sub{color:var(--text3);font-size:14px;margin:0 0 10px;}
.scale-row{display:flex;align-items:center;gap:10px;}
.range{flex:1;accent-color:var(--accent);min-height:44px;}
.scale-val{min-width:48px;text-align:right;color:#fff;font-weight:bold;}
.sheet-btn.small{font-size:13px;padding:8px 14px;}
.meta-label{color:var(--text3);font-size:13px;}
.form-stack{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;}
.badge-unconfirmed{display:inline-block;background:#3a2a1d;color:var(--warn);border:1px solid #8a6d2d;padding:2px 8px;border-radius:10px;font-size:12px;font-weight:bold;margin-bottom:4px;}
.todo-hint{color:var(--text3);font-size:14px;margin:-6px 0 12px;}
.learn-note{color:var(--text3);font-size:14px;margin-top:12px;line-height:1.5;}
.learn-note b{color:#fff;}

/* AC15: every text input 16px minimum (kills iOS auto-zoom) */
input[type="text"],input[type="search"],input[type="time"],input[type="datetime-local"],textarea,select{font-size:16px;}
/* tap targets */
button{min-height:44px;}
.tabbar-btn{min-height:60px;}
/* filter panel slides from the right (toggleFilterPanel sets style.right) */
#filter-panel{left:auto;right:-290px;transition:right .3s;}
#peek{position:fixed;left:0;right:0;bottom:-50vh;background:#1a1f2e;z-index:1003;transition:bottom .3s;border-radius:20px 20px 0 0;padding:8px 16px 14px;box-shadow:0 -4px 18px rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.12);border-bottom:0;max-height:46vh;overflow-y:auto;}

#voice-btn.listening{background:var(--accent);animation:voice-pulse 1.2s ease-in-out infinite;}
@keyframes voice-pulse{0%,100%{opacity:1;}50%{opacity:.55;}}

/* ================= VISUAL REFRESH 2026-10-23 =================
   Wren (layout) + Ink (art) + Lens (QA) briefs.
   Visual language: blue = where you are, green = what you can do, red = crisis only. */
:root{--action:#4ade80;--text3:#c3cadb;}
body{line-height:1.45;}
h1,h2,h3{letter-spacing:-.01em;}

/* --- action-green: every do-something button goes green --- */
.sheet-btn{background:var(--action);border-color:var(--action);color:#06130b;font-size:16px;padding:12px 22px;min-height:48px;}
#peek .gm-a .p{background:var(--action);border-color:var(--action);color:#06130b;}
.fs-btn.fs-pri{background:linear-gradient(135deg,#4ade80,#22c55e);color:#06130b;border:0;}
.fs-btn.fs-pri small{color:rgba(6,19,11,.72);}
.btn-primary{background:var(--action);border-color:var(--action);color:#06130b;}
.tonight-btn{background:linear-gradient(135deg,#14532d,#0b2e18);border:1px solid var(--action);}

/* --- green leading edge: tappable action rows scan instantly --- */
.fs-btn:not(.fs-pri){border-left:3px solid var(--action);padding-left:15px;}
.hotline{border-left:4px solid var(--danger);}

/* --- lit active tab: top glow + icon glow + dot --- */
.tabbar-btn{position:relative;}
.tabbar-btn .ic{stroke-width:2.25;}
.tabbar-btn.active{color:var(--accent);box-shadow:inset 0 2px 0 var(--accent);}
.tabbar-btn.active .ic{filter:drop-shadow(0 0 3px rgba(124,138,255,.7));}
.tabbar-btn.active::after{content:"";position:absolute;bottom:4px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:var(--accent);}

/* --- crisis strip: flat, calm, sacred --- */
.crisis-strip{background:#33121d;}

/* --- map pins: halo glow, nearest pin glows green --- */
.app-pin .pin-body{filter:drop-shadow(0 0 6px rgba(124,138,255,.55));}
.app-pin.pin-nearest .pin-body{filter:drop-shadow(0 0 8px rgba(74,222,128,.85));}

/* --- thumb targets: 48px minimum on interactive controls --- */
.filter-btn{padding:12px 18px;min-height:48px;}
#sheet-close{width:44px;height:44px;}
.crisis-chips .chip{min-height:44px;}

/* --- Lens: no text under 13px --- */
.bgt-tag{font-size:13px;}
.bgt-stat small{font-size:13px;}
.bgt-due{font-size:13px;}
.vl-row b{font-size:13px;}

/* ===== VISUAL REFRESH 2 — sub-tabs, slim crisis bar, need chips ===== */
.slim-crisis{display:none;position:sticky;top:0;z-index:950;background:#33121d;border-bottom:1px solid var(--line);padding:8px 12px;align-items:center;gap:8px;font-size:14px;}
.slim-t{color:#ffd7dd;font-weight:700;}
.slim-b{background:#a02c3a;color:#fff;text-decoration:none;font-weight:700;font-size:13px;padding:8px 14px;border-radius:16px;min-height:40px;display:inline-flex;align-items:center;}
.need-label{font-size:13px;font-weight:800;color:var(--text2);padding:10px 16px 6px;letter-spacing:.03em;text-transform:uppercase;}
.need-row{display:flex;gap:8px;overflow-x:auto;padding:4px 16px 10px;}
.need-chip{flex:none;padding:12px 20px;min-height:48px;border:1px solid var(--line2);border-radius:20px;background:var(--bg);color:var(--text2);font-size:15px;font-weight:700;cursor:pointer;}
.need-chip.on{background:var(--action);border-color:var(--action);color:#06130b;}
.hsub-row{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;}
.hsub-chip{flex:none;padding:10px 18px;min-height:44px;border:1px solid var(--line2);border-radius:20px;background:var(--bg);color:var(--text2);font-size:14px;font-weight:700;cursor:pointer;}
.hsub-chip.on{background:var(--accent);border-color:var(--accent);color:#fff;}
.gear-btn{background:var(--bg);border:1px solid var(--line2);color:var(--text2);border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none;}
.more-sec{font-size:12px;font-weight:800;color:var(--text3);text-transform:uppercase;letter-spacing:.06em;padding:14px 16px 6px;}

/* ===== PASS 4: Tonight strip, plan card, open words, bus rows ===== */
#tonight-strip{padding:0 12px;}
.tonight-card{background:#1a1f2e;border:1px solid #2a2f3e;border-radius:14px;padding:12px;margin:12px 0;}
.tonight-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px;}
.tonight-head b{color:#fff;font-size:17px;}
.tonight-head span{color:#aab2c5;font-size:13px;}
.tstep{display:flex;gap:10px;padding:10px 0;border-top:1px solid #242a3d;align-items:flex-start;}
.tstep-icon{font-size:24px;flex:none;line-height:1.2;}
.tstep-body{flex:1;min-width:0;}
.tstep-label{font-size:13px;color:#aab2c5;font-weight:700;}
.tstep-name{color:#fff;font-weight:700;font-size:15px;margin-top:2px;}
.tstep-sub{font-size:13px;margin-top:2px;color:#aab2c5;}
.tstep-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;}
.tstep-btns .sheet-btn{min-height:44px;display:inline-flex;align-items:center;}
.tstep.done{opacity:.6;}
.tstep-check{color:#4ade80;font-size:22px;font-weight:700;flex:none;}
.tstep-missing{color:#e0e0e0;font-size:14px;margin-top:4px;}
.ow-open{color:#4ade80;font-weight:700;font-size:13px;}
.ow-soon{color:#fbbf24;font-weight:700;font-size:13px;}
.ow-closed{color:#ff7a7a;font-weight:700;font-size:13px;}
.ow-unknown{color:#aab2c5;font-size:13px;}
.bus-row{font-size:13px;color:#aab2c5;margin:6px 0 0;}
.bus-row a{color:#7c8aff;font-weight:600;}
.plan-card{background:#1a1f2e;border:1px solid #2a2f3e;border-radius:14px;padding:14px;margin-bottom:12px;}
.plan-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px;}
.plan-head b{color:#fff;font-size:17px;}
.plan-head span{color:#aab2c5;font-size:13px;}
.plan-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #242a3d;align-items:center;}
.plan-row b{color:#fff;font-size:14px;}
.plan-row.done{opacity:.6;}
.plan-addr{font-size:13px;color:#aab2c5;}
.plan-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.plan-btns .sheet-btn{min-height:44px;display:inline-flex;align-items:center;}
.plan-empty{color:#aab2c5;font-size:14px;}
.plan-prog{font-size:13px;color:#aab2c5;margin-top:8px;}
.plan-note{font-size:12px;color:#aab2c5;margin:8px 0 0;}
.bus-next{color:#4ade80;font-weight:700;font-size:13px;}
.bus-next a{color:#7c8aff;font-weight:600;}
