:root {
  --red: #b8191e; --red2: #e0392f; --gold: #ffd54a; --green: #2f8a5f; --green2: #3c8d6a; --cream: #fff8ec;
  --ink: #2b2420; --ink2: #6b5e55; --line: rgba(43, 36, 32, .12); --card: #fffdf8;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --panel-w: 400px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #1c1a22; font-family: var(--font); color: var(--ink); }
button { font-family: inherit; cursor: pointer; border: 0; color: inherit; }
#c { position: fixed; inset: 0; width: 100vw; height: 100dvh; display: block; touch-action: none; }
[hidden] { display: none !important; }

/* ── HUD ── */
#hud {
  position: fixed; top: 10px; left: 10px; right: 10px; z-index: 20;
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: rgba(255, 252, 245, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.h-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.logo { width: 38px; height: 38px; border-radius: 12px; background: var(--red); display: grid; place-items: center; font-size: 22px; flex: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.h-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.h-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.h-txt small { font-size: 12px; color: var(--ink2); font-weight: 700; }
.h-cash { display: flex; flex-direction: column; align-items: center; margin: 0 auto; line-height: 1.05; }
.h-cash b { font-size: 24px; font-weight: 900; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.h-cash b.neg { color: var(--red); }
.h-cash small { font-size: 12px; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.h-cash small.neg { color: var(--red); }
.h-stats { display: flex; gap: 6px; font-weight: 800; font-size: 13px; }
.h-stats span { background: #f3ebde; padding: 5px 9px; border-radius: 10px; white-space: nowrap; }
.h-speed { display: flex; background: #f3ebde; border-radius: 12px; padding: 3px; }
.h-speed button { background: none; width: 34px; height: 30px; border-radius: 9px; font-size: 14px; }
.h-speed button.on { background: var(--red); color: #fff; box-shadow: 0 2px 6px rgba(184,25,30,.4); }
.icon-btn { background: #f3ebde; width: 36px; height: 36px; border-radius: 12px; font-size: 16px; display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: #eadfcd; }

#ticker { position: fixed; top: 72px; left: 10px; right: 10px; z-index: 15; height: 26px; overflow: hidden;
  background: rgba(30, 24, 20, .72); color: #ffe9a8; border-radius: 10px; font-size: 13px; font-weight: 700; }
#tickerIn { white-space: nowrap; position: absolute; left: 100%; top: 0; line-height: 26px; }
#tickerIn.run { animation: tick linear forwards; }
@keyframes tick { to { transform: translateX(calc(-100% - 100vw)); } }
#tickerIn .tag { background: var(--red); color: #fff; border-radius: 6px; padding: 1px 6px; margin-right: 8px; font-size: 11px; }

#goal { position: fixed; top: 106px; left: 10px; z-index: 15; max-width: min(360px, calc(100vw - 20px));
  background: rgba(255, 252, 245, .94); border-radius: 14px; padding: 8px 12px; font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.15); display: flex; gap: 8px; align-items: center; }
#goal .rw { color: var(--green); white-space: nowrap; }
#goal.flash { animation: flash .9s ease 2; }
@keyframes flash { 50% { background: var(--gold); transform: scale(1.04); } }

#outletBar { position: fixed; top: 106px; right: 10px; z-index: 15; display: flex; align-items: center; gap: 6px;
  background: rgba(255,252,245,.94); border-radius: 14px; padding: 5px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
#outletName { font-weight: 900; font-size: 13px; padding: 0 6px; text-align: center; min-width: 120px; }
#outletName small { display: block; font-weight: 700; color: var(--ink2); font-size: 11px; }
#camBtns { position: fixed; right: 10px; bottom: 96px; z-index: 15; display: flex; flex-direction: column; gap: 6px; }
#camBtns .icon-btn { background: rgba(255,252,245,.92); box-shadow: 0 3px 10px rgba(0,0,0,.15); font-weight: 900; }

/* ── Tabs ── */
#tabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); z-index: 25;
  display: flex; gap: 4px; padding: 6px; background: rgba(255, 252, 245, .95); border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
#tabs button { background: none; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 6px 12px; border-radius: 14px; font-weight: 800; font-size: 12px; min-width: 62px; position: relative; }
#tabs button i { font-style: normal; font-size: 22px; line-height: 1; }
#tabs button.on { background: var(--red); color: #fff; }
#tabs button .dot { position: absolute; top: 3px; right: 10px; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 2px #fff; }

/* ── Panel ── */
#panel { position: fixed; z-index: 24; top: 150px; right: 10px; width: var(--panel-w); bottom: 96px;
  background: var(--card); border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
  display: flex; flex-direction: column; transform: translateX(calc(100% + 20px)); transition: transform .28s cubic-bezier(.2,.9,.3,1.1); }
#panel.open { transform: none; }
#panel > header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
#panel h2 { margin: 0; font-size: 20px; font-weight: 900; }
#panelBody { overflow-y: auto; padding: 0 14px 16px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sec { margin: 14px 0 6px; font-size: 12px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; color: var(--ink2); display: flex; justify-content: space-between; }
.note { font-size: 12.5px; color: var(--ink2); line-height: 1.4; margin: 4px 0 8px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; font-size: 13px; background: #f6efe3; border-radius: 14px; padding: 10px 12px; }
.kv span:nth-child(even) { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.kv .tot { border-top: 1px dashed var(--line); padding-top: 5px; font-weight: 900; }
.pos { color: var(--green); } .neg { color: var(--red); }
.item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.item .ic { font-size: 26px; width: 40px; height: 40px; display: grid; place-items: center; background: #f6efe3; border-radius: 12px; flex: none; }
.item .tx { flex: 1; min-width: 0; }
.item .tx b { font-size: 14px; display: block; }
.item .tx small { font-size: 12px; color: var(--ink2); display: block; line-height: 1.35; }
.item .tx em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--green); }
.item.owned { background: #f0f8f2; border-color: #cde6d6; }
.item.locked { opacity: .55; }
.btn { background: var(--red); color: #fff; font-weight: 900; font-size: 13px; padding: 9px 12px; border-radius: 12px; white-space: nowrap; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.alt { background: #efe4d2; color: var(--ink); }
.btn.green { background: var(--green); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn[disabled], .btn.dis { background: #ddd3c4; color: #8f8478; box-shadow: none; cursor: not-allowed; }
.btn.wide { width: 100%; padding: 12px; font-size: 15px; margin: 6px 0; white-space: normal; }
.row { display: flex; gap: 8px; } .row > * { flex: 1; }
.pill { display: inline-block; font-size: 11px; font-weight: 900; padding: 2px 7px; border-radius: 8px; background: #f3ebde; margin-right: 4px; }
.pill.halal { background: #dff3e5; color: #1e7a45; } .pill.pork { background: #fde2ec; color: #b0245f; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.check i { font-style: normal; width: 20px; text-align: center; }
.check span { flex: 1; } .check b { font-variant-numeric: tabular-nums; }
table.fy { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.fy th { text-align: left; color: var(--ink2); font-size: 11px; text-transform: uppercase; }
table.fy td, table.fy th { padding: 5px 4px; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
table.fy td:not(:first-child), table.fy th:not(:first-child) { text-align: right; }
.bar { height: 8px; background: #efe4d2; border-radius: 6px; overflow: hidden; margin: 4px 0; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #7bd389); border-radius: 6px; }

/* map */
.map { background: #bfe3f5; border-radius: 16px; overflow: hidden; position: relative; }
.map svg { display: block; width: 100%; height: auto; }
.map .land { fill: #f4e7c9; stroke: #c9b48a; stroke-width: 1.5; }
.map .pin { cursor: pointer; }
.map .pin circle { stroke: #fff; stroke-width: 2.5; transition: r .15s; }
.map .pin text { font: 900 24px var(--font); fill: #3b2f27; paint-order: stroke; stroke: #fff8ec; stroke-width: 4px; pointer-events: none; }
.map .pin.sel circle { stroke: var(--ink); stroke-width: 4; }
.map .inset { fill: none; stroke: #8fb9cf; stroke-dasharray: 6 5; stroke-width: 2; }
.cityCard { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 12px; margin-top: 10px; }
.cityCard h3 { margin: 0 0 4px; font-size: 17px; }
.regions { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.regions > div { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.regions b { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink2); width: 100%; }
.cchip { font-size: 12px; font-weight: 800; padding: 5px 9px; border-radius: 9px; background: #f3ebde; }
.cchip.own { background: #ffe1de; color: var(--red); } .cchip.fr { background: #ece3ff; color: #6a3fd1; } .cchip.full { opacity: .5; }
.cchip.on { outline: 2.5px solid var(--ink); }
.legend { display: flex; gap: 10px; font-size: 11.5px; font-weight: 800; color: var(--ink2); margin: 6px 2px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }

/* ── Bubbles over 3D ── */
#bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 10; overflow: hidden; }
.bub { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; }
.bub .bub-in { position: absolute; bottom: 0; left: 0; transform: translateX(-50%); background: #fff; color: var(--ink);
  padding: 6px 10px; border-radius: 14px; font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.22); animation: bubIn .25s cubic-bezier(.2,1.6,.4,1); }
.bub .bub-in::after { content: ''; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #fff; }
.bub.tap { pointer-events: auto; cursor: pointer; z-index: 2; }
.bub.tap .bub-in { padding: 8px 12px 8px 12px; font-size: 14px; animation: bubIn .25s cubic-bezier(.2,1.6,.4,1), wob 1.4s ease-in-out .3s infinite; }
.bub.tap:hover .bub-in { transform: translateX(-50%) scale(1.06); }
.bub.kira .bub-in { background: var(--gold); } .bub.kira .bub-in::after { border-top-color: var(--gold); }
.bub.alert .bub-in { background: #ff5a4e; color: #fff; } .bub.alert .bub-in::after { border-top-color: #ff5a4e; }
.bub.ask .bub-in { background: #8e5cf6; color: #fff; } .bub.ask .bub-in::after { border-top-color: #8e5cf6; }
.bub.order .bub-in { background: #3c2a1e; color: #ffe9a8; } .bub.order .bub-in::after { border-top-color: #3c2a1e; }
.bub.gold .bub-in { background: linear-gradient(90deg,#ff9ff3,#feca57); color: #3b2f27; } .bub.gold .bub-in::after { border-top-color: #feca57; }
.bub.say .bub-in { background: rgba(255,255,255,.95); font-size: 12px; padding: 4px 8px; }
.bub .ring { position: absolute; left: 0; bottom: 0; transform: translate(-50%, 10px); width: 34px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.25); overflow: hidden; }
.bub .ring::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 1)); }
.bub.float .bub-in { background: none; box-shadow: none; color: #1e9e5a; font-size: 16px; font-weight: 900; text-shadow: 0 2px 0 #fff, 0 0 8px #fff; animation: fade 1.4s ease forwards; }
.bub.float.bad .bub-in { color: #e0392f; }
.bub.float .bub-in::after { display: none; }
.bub.pop .bub-in { animation: pop .18s ease forwards; }
@keyframes bubIn { from { transform: translateX(-50%) scale(.3); opacity: 0; } }
@keyframes wob { 50% { transform: translateX(-50%) translateY(-3px); } }
@keyframes pop { to { transform: translateX(-50%) scale(.2); opacity: 0; } }
@keyframes fade { 70% { opacity: 1; } to { opacity: 0; } }

/* ── Toasts ── */
#toasts { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(96px + var(--safe-b)); display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; pointer-events: none; width: min(92vw, 460px); }
.toast { background: rgba(30, 24, 20, .92); color: #fff; padding: 9px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.3); animation: tin .3s ease; text-align: center; max-width: 100%; }
.toast.good { background: #1f7a4a; } .toast.bad { background: #b8191e; } .toast.news { background: #3b2f6b; } .toast.gold { background: var(--gold); color: var(--ink); }
.toast.out { animation: tout .3s ease forwards; }
@keyframes tin { from { transform: translateY(14px); opacity: 0; } }
@keyframes tout { to { transform: translateY(-8px); opacity: 0; } }

/* ── Modal ── */
#modal { position: fixed; inset: 0; z-index: 50; background: rgba(20, 14, 10, .55); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(3px); }
#modal .card { background: var(--card); border-radius: 22px; width: min(520px, 100%); max-height: 92dvh; overflow-y: auto; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: mIn .3s cubic-bezier(.2,1.4,.4,1); }
@keyframes mIn { from { transform: scale(.85); opacity: 0; } }
#modal h3 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
#modal p { line-height: 1.45; margin: 6px 0; font-size: 14.5px; }
.choices { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.choices .btn { white-space: normal; text-align: left; padding: 12px 14px; font-size: 14px; }
.big-emoji { font-size: 56px; text-align: center; line-height: 1; margin: 4px 0 8px; }

/* kopi lingo */
.k-order { background: #3c2a1e; color: #ffe9a8; border-radius: 16px; padding: 12px; text-align: center; font-size: 26px; font-weight: 900; letter-spacing: .3px; }
.k-order small { display: block; font-size: 12px; color: #d9c49a; font-weight: 700; letter-spacing: 0; }
.k-wrap { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.k-rows { flex: 1; }
.k-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0; align-items: center; }
.k-row > span { font-size: 11px; font-weight: 900; color: var(--ink2); width: 44px; text-transform: uppercase; }
.chip { background: #f3ebde; padding: 7px 10px; border-radius: 10px; font-weight: 800; font-size: 13px; }
.chip.on { background: var(--red); color: #fff; }
.chip small { font-weight: 700; opacity: .7; font-size: 10.5px; margin-left: 3px; }
.glass { width: 74px; height: 104px; border: 3px solid #b8c6cc; border-top: 0; border-radius: 0 0 14px 14px; position: relative; overflow: hidden; flex: none; background: rgba(220,240,255,.4); }
.glass .liq { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; transition: background .25s; }
.glass .ice { position: absolute; width: 18px; height: 18px; background: rgba(255,255,255,.75); border-radius: 4px; transform: rotate(18deg); }
.glass .lbl { position: absolute; top: 4px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cheat { font-size: 12px; background: #f6efe3; border-radius: 12px; padding: 8px 10px; margin-top: 10px; line-height: 1.5; }
.k-timer { height: 6px; background: #efe4d2; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.k-timer i { display: block; height: 100%; background: var(--red); transform-origin: left; }

/* gong */
.gong { width: 170px; height: 170px; margin: 8px auto; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffe9a0, #e0a82e 45%, #a06a12 70%, #6d4508);
  box-shadow: 0 0 0 10px #5b3a1a, 0 10px 30px rgba(0,0,0,.4); display: grid; place-items: center; font-weight: 900; color: #5b3a1a; font-size: 18px; cursor: pointer; user-select: none; }
.gong:active, .gong.hit { animation: gongHit .8s ease; }
@keyframes gongHit { 15% { transform: rotate(-6deg) scale(.96); } 35% { transform: rotate(5deg); } 55% { transform: rotate(-3deg); } 75% { transform: rotate(2deg); } }
.stock { font-size: 42px; font-weight: 900; text-align: center; letter-spacing: 2px; }
.stock small { display: block; font-size: 13px; letter-spacing: 0; color: var(--ink2); }

/* ── Title ── */
#title { position: fixed; inset: 0; z-index: 60; display: flex; padding: 16px; overflow-y: auto;
  background: radial-gradient(1200px 600px at 50% 0%, rgba(184,25,30,.55), transparent), linear-gradient(180deg, rgba(20,16,30,.35), rgba(20,16,30,.8)); }
.t-card { margin: auto; width: min(640px, 100%); min-width: 0; background: rgba(255, 252, 245, .97); border-radius: 26px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.t-kicker { font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
#title h1 { margin: 4px 0 8px; font-size: clamp(38px, 8vw, 60px); line-height: .92; font-weight: 900; letter-spacing: -1px; }
#title h1 span { color: var(--red); }
.t-sub { margin: 0 0 16px; color: var(--ink2); font-size: 15px; line-height: 1.45; }
.t-foot { margin: 14px 0 0; font-size: 12px; color: var(--ink2); text-align: center; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field label { font-size: 12px; font-weight: 900; color: var(--ink2); text-transform: uppercase; letter-spacing: .6px; }
.field input { font: inherit; font-size: 17px; font-weight: 800; padding: 11px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; }
.field input:focus { outline: none; border-color: var(--red); }
.towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.town { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px; }
.town b { font-size: 15px; display: block; }
.town small { font-size: 11.5px; color: var(--ink2); line-height: 1.3; display: block; margin-top: 2px; }
.town em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--green); display: block; margin-top: 4px; }
.town.on { border-color: var(--red); background: #fff3ef; }

/* ── Mobile ── */
@media (max-width: 760px) {
  :root { --panel-w: 100vw; }
  #hud { top: 6px; left: 6px; right: 6px; padding: 6px 8px; gap: 6px; flex-wrap: wrap; border-radius: 16px; }
  .logo { width: 32px; height: 32px; font-size: 18px; border-radius: 10px; }
  .h-txt b { font-size: 13px; max-width: 120px; }
  .h-cash { margin: 0 0 0 auto; align-items: flex-end; }
  .h-cash b { font-size: 20px; }
  .h-stats { order: 3; flex: 1; font-size: 12px; } .h-stats span { padding: 4px 7px; }
  .h-speed { order: 4; } .h-speed button { width: 30px; height: 28px; }
  #settingsBtn { order: 5; width: 32px; height: 32px; }
  #ticker { top: 100px; left: 6px; right: 6px; font-size: 12px; height: 24px; } #tickerIn { line-height: 24px; }
  #goal { top: 130px; left: 6px; font-size: 12px; padding: 6px 10px; max-width: calc(100vw - 12px); }
  #outletBar { top: 166px; right: 6px; padding: 3px; } #outletBar .icon-btn { width: 30px; height: 30px; } #outletName { min-width: 90px; font-size: 12px; }
  #tabs { left: 6px; right: 6px; transform: none; bottom: calc(6px + var(--safe-b)); justify-content: space-between; padding: 4px; border-radius: 18px; }
  #tabs button { min-width: 0; flex: 1; padding: 6px 2px; font-size: 10.5px; }
  #tabs button i { font-size: 20px; }
  #panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 64dvh; border-radius: 22px 22px 0 0;
    transform: translateY(105%); padding-bottom: calc(70px + var(--safe-b)); }
  #panel.open { transform: none; }
  #camBtns { bottom: calc(84px + var(--safe-b)); right: 6px; }
  #toasts { bottom: calc(84px + var(--safe-b)); }
  .t-card { padding: 18px; border-radius: 22px; }
  .towns { grid-template-columns: 1fr 1fr; }
  .k-order { font-size: 21px; }
  .glass { width: 58px; height: 86px; }
}
@media (max-width: 380px) { .h-stats #clock { display: none; } }

/* ── IPOkopi: paths, leaderboard ── */
.paths{display:grid;gap:10px;margin:10px 0}
.pathcard{text-align:left;border:2px solid var(--pc,#c0392b);border-radius:14px;background:#fff;padding:12px 12px 10px;cursor:pointer;font:inherit;color:inherit;display:block;width:100%}
.pathcard:hover,.pathcard:focus-visible{background:color-mix(in srgb,var(--pc) 8%,#fff);outline:none}
.pathcard .pi{font-size:30px;float:left;margin-right:10px;line-height:1}
.pathcard b{font-size:16px;display:block}.pathcard em{font-style:normal;font-size:12px;color:var(--pc);font-weight:700}
.pathcard small{display:block;margin:6px 0 4px;font-size:12.5px;line-height:1.35;clear:both}
.pathcard ul{margin:4px 0 0;padding:0;list-style:none;font-size:12px;line-height:1.4}
.tabs2{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.lb{display:flex;flex-direction:column;gap:4px;margin:8px 0;max-height:46vh;overflow:auto}
.lbrow{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:2px 6px;padding:6px 8px;border-radius:10px;background:#faf3e6}
.lbrow.me{background:#fff0b8;outline:2px solid #e2b33c}
.lbrow .rk{font-weight:800;text-align:center}.lbrow .nm{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lbrow .sc{font-weight:800}.lbrow small{grid-column:2/4;color:var(--ink2);font-size:11.5px}
@media (min-width:760px){.paths{grid-template-columns:repeat(3,1fr)}#modal .card:has(.paths){width:min(900px,100%)}}
