/* Your account and logbook pages (/account, /logbook; D-066). On top of site.css. Card and tier looks match the map's old side panel. */
#toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2000; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 16px; max-width: min(520px, calc(100% - 32px)); text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
@media (max-width: 760px) { #toast { bottom: 84px; } }   /* clear of the phone bottom bar */
.narrow { max-width: 480px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--cyan); }
.field small { color: var(--dim); font-size: 13px; }
.pill { font: 700 12px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid; white-space: nowrap; }
.pill.pending { color: var(--amber); } .pill.approved { color: var(--ok); } .pill.rejected, .pill.hidden { color: var(--red); }
.tier { display: inline-block; font: 700 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px;
  color: #05080c; background: var(--t, #9fb0b8); vertical-align: middle; }
.xpbar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.xpbar i { display: block; height: 100%; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.mcard { background: linear-gradient(160deg, color-mix(in srgb, var(--g, #d9d2bf) 16%, var(--bg)), var(--bg) 60%); border: 1.5px solid var(--g, var(--line));
  border-radius: 14px; padding: 12px; display: grid; gap: 4px; min-width: 0; color: var(--ink); text-decoration: none; }
a.mcard:hover { box-shadow: 0 0 0 2px var(--g); }
.mcard .mtop { display: flex; justify-content: space-between; align-items: center; gap: 6px; font: 700 15px var(--font-mono); }
.mcard .mart { display: grid; place-items: center; padding: 4px 0; }
.mcard .mname { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .mmeta { font: 12px var(--font-mono); color: var(--dim); }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.catch { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); color: var(--ink); text-decoration: none; min-width: 0; }
a.catch:hover { border-color: var(--cyan); }
.catch img, .catch .noimg { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.catch .sub { color: var(--dim); font-size: 13px; }
.lrow2 { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.lrow2 .v { font: 700 15px var(--font-mono); color: var(--gold); }
.lrow2 .sub { grid-column: 1 / -1; color: var(--dim); font-size: 13px; }
.lrow2.locked { opacity: .45; }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cstats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 2px; text-align: center; min-width: 0; }
.cstats b { font: 700 16px var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cstats span { font: 700 12px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tabs a { flex: none; padding: 8px 14px; color: var(--dim); text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 -2px 0 var(--cyan); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.crumbs { font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--dim); }
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.links a.card { gap: 4px; padding: 16px; }
.links a.card b { display: flex; gap: 8px; align-items: center; }
.links a.card span { color: var(--dim); font-size: 14px; }
.meSection { display: grid; gap: 14px; scroll-margin-top: 80px; }
.meSection h2 { font-size: 22px; }
.meSection + .meSection { margin-top: 40px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.airTag { display: inline-grid; place-items: center; width: 56px; height: 38px; border-radius: 8px; font: 700 15px var(--font-mono); letter-spacing: .06em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px var(--line); flex: none; }
a.lrow2 { color: var(--ink); text-decoration: none; }
a.lrow2:hover { border-color: var(--cyan); }
.lrow2.air { grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 14px; }
.lrow2.air .airTag { grid-row: 1 / 3; }
.lrow2.air .sub { grid-column: 2 / 4; }
