/* Playful illustration skin for the public mbg.ninja page only (meme.html loads it; the member area on
   future.mbg.ninja keeps brutal.css). Owner's reference (2026-11-02): a bright sky-blue hero, chunky rounded white
   headline, a big cute 3D mascot with soft clouds, orange accents and pill buttons. Always day: meme.html forces
   data-theme=light and the day/night switch is not on this page.
   Fredoka for headings / buttons, Nunito for text and numbers (tabular figures). The token list (meme.js) sits on a
   white rounded board; on phones each token becomes its own card. */
body.pf {
  --sky: #3aa3f5; --sky-deep: #1f7fe0; --sky-soft: #e8f4ff; --ink: #14233c; --ink-soft: #55657f;
  --orange: #ff7a2f; --orange-deep: #e85d12; --sun: #ffd23f; --mint: #20c997; --berry: #ff4f79;
  --board: #ffffff; --line: #e3edf8;
  --bg: var(--sky); --card: var(--board); --muted-bg: var(--sky-soft); --text: var(--ink); --muted: var(--ink-soft);
  --primary: var(--orange); --on-primary: #fff; --link: var(--sky-deep); --ring: var(--orange);
  --pos: #12a150; --neg: #e5394b; --gain: #12a150; --loss: #e5394b;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Nunito", system-ui, sans-serif;
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --round: 28px; --shadow: 0 18px 40px rgba(17, 66, 140, .18), 0 3px 0 rgba(17, 66, 140, .06);
  color: var(--ink); font-family: var(--font); font-size: 16px; font-variant-numeric: tabular-nums;
}
body.pf, body.pf.home { background: linear-gradient(180deg, #56b4fb 0%, var(--sky) 38%, #2e93ee 70%, #2a8ae6 100%) fixed; }
body.pf ::selection { background: var(--sun); color: var(--ink); }
body.pf .night-sky { display: none; }

/* drifting clouds behind everything */
.pf-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; display: block; width: var(--w, 160px); height: calc(var(--w, 160px) * .36); border-radius: 999px;
  background: #fff; box-shadow: inset 0 -8px 0 rgba(58, 163, 245, .12); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 46%; height: 128%; left: 14%; bottom: 30%; }
.cloud::after { width: 34%; height: 96%; right: 16%; bottom: 36%; }
.pf-sky .cloud { opacity: .9; animation: pf-drift linear infinite; }
.pf-sky .c1 { --w: 190px; top: 14vh; left: -12vw; animation-duration: 70s; }
.pf-sky .c2 { --w: 120px; top: 34vh; left: -20vw; animation-duration: 95s; animation-delay: -40s; opacity: .7; }
.pf-sky .c3 { --w: 230px; top: 62vh; left: -25vw; animation-duration: 110s; animation-delay: -70s; opacity: .55; }
.pf-sky .c4 { --w: 100px; top: 8vh; left: -10vw; animation-duration: 80s; animation-delay: -15s; opacity: .8; }
@keyframes pf-drift { to { transform: translateX(135vw); } }

/* header: soft glass bar; the docked logo goes white-on-blue */
body.pf .home-top { background: rgba(31, 127, 224, .55) !important; backdrop-filter: blur(10px); border-bottom: 0;
  box-shadow: 0 6px 24px rgba(17, 66, 140, .15); padding-right: 16px; }
body.pf .theme-toggle { display: none !important; }
body.pf .lp-text { filter: invert(1) drop-shadow(0 2px 0 rgba(17, 66, 140, .35)) !important; }
body.pf .lp-mascot { filter: drop-shadow(0 6px 12px rgba(17, 66, 140, .35)) !important; }
.pf-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px;
  font: 600 .9rem/1 var(--head); background: #fff; color: var(--sky-deep); }
.pf-pill-ghost { background: rgba(255, 255, 255, .2); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }

body.pf .home-main { max-width: 1400px; position: relative; z-index: auto; }   /* auto: the modals inside must rise above the header */

/* hero: big chunky headline left, the mascot floating among clouds right */
.pf-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 2rem;
  min-height: min(560px, 72vh); padding: 1.5rem 0 2.5rem; }
.pf-kicker { color: var(--orange-deep); box-shadow: 0 4px 0 rgba(17, 66, 140, .12); }
.pf-kicker span { color: var(--sun); -webkit-text-stroke: 1px var(--orange-deep); }
.pf-title { margin: 1rem 0 .9rem; font: 700 clamp(3.4rem, 9.5vw, 7.4rem)/.92 var(--head); letter-spacing: -.01em; text-transform: uppercase;
  color: #fff; text-shadow: 0 6px 0 rgba(17, 66, 140, .28), 0 18px 34px rgba(17, 66, 140, .25); }
.pf-lead { max-width: 46ch; margin: 0 0 1.6rem; font-size: 1.12rem; font-weight: 700; color: rgba(255, 255, 255, .92); }
.pf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; }
.pf-status { display: inline-flex; align-items: center; gap: .5rem; font: 600 .95rem/1 var(--head); color: #fff; }
.pf-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #5cf29b;
  box-shadow: 0 0 0 4px rgba(92, 242, 155, .3); animation: pf-pulse 1.6s ease-in-out infinite; }
.pf-status.mf-bad::before { background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 210, 63, .35); }
@keyframes pf-pulse { 50% { box-shadow: 0 0 0 8px rgba(92, 242, 155, 0); } }
.pf-hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.pf-mascot { position: relative; z-index: 2; width: min(380px, 80%); border-radius: 50%;
  filter: drop-shadow(0 26px 30px rgba(17, 66, 140, .35)); animation: pf-bob 4.5s ease-in-out infinite; }
.pf-hero-art::after { content: ""; position: absolute; z-index: 1; bottom: 4%; width: 52%; height: 22px; border-radius: 50%;
  background: rgba(17, 66, 140, .22); filter: blur(6px); animation: pf-shadow 4.5s ease-in-out infinite; }
@keyframes pf-bob { 50% { transform: translateY(-16px) rotate(-2deg); } }
@keyframes pf-shadow { 50% { transform: scaleX(.86); opacity: .7; } }
.pf-art-cloud { z-index: 3; animation: pf-float 6s ease-in-out infinite; }
.pf-art-cloud.a { --w: 150px; top: 6%; left: 2%; }
.pf-art-cloud.b { --w: 120px; bottom: 10%; right: 0; animation-delay: -3s; }
@keyframes pf-float { 50% { transform: translateY(-10px); } }

/* the board: white rounded panel holding the list */
.pf-board { position: relative; background: var(--board); border-radius: var(--round); padding: 1.6rem 1.2rem 1.2rem;
  box-shadow: var(--shadow); margin-bottom: 3rem; scroll-margin-top: 84px; }
.pf-board::before { content: ""; position: absolute; left: 28px; right: 28px; top: -10px; height: 10px; border-radius: 12px 12px 0 0;
  background: var(--orange); }


body.pf .mf-card { overflow-x: auto; border-radius: 18px; }
body.pf .mf-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .92rem; }
body.pf .mf-table th { position: static; background: var(--sky-soft); color: var(--ink-soft); font: 600 .8rem/1 var(--head);
  text-transform: none; letter-spacing: .01em; padding: .8rem .4rem; border: 0; }
body.pf .mf-table th:first-child { border-radius: 14px 0 0 14px; padding-left: 1rem; }
body.pf .mf-table th:last-child { border-radius: 0 14px 14px 0; padding-right: 1rem; }
body.pf .mf-table td { padding: .7rem .4rem; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; font-weight: 700; }
body.pf .mf-table td:first-child { padding-left: 1rem; }
body.pf .mf-table td:last-child { padding-right: 1rem; }
body.pf .mf-table tbody tr:hover td { background: #f4f9ff; }
/* every column except Token is centred, heading and cells alike (owner: "harusnya ini rata tengah") */
body.pf .mf-table th, body.pf .mf-table td, body.pf .mf-table .r { text-align: center; }
body.pf .mf-table th:first-child, body.pf .mf-table td:first-child { text-align: left; }
body.pf .mf-table small { color: var(--ink-soft); font-size: .8em; font-weight: 700; }
body.pf .pos { color: var(--gain); }
body.pf .neg { color: var(--loss); }
body.pf .mf-tokin { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
body.pf .mf-name { display: flex; align-items: center; gap: .65rem; color: var(--ink); min-width: 0; }
body.pf .mf-table tbody tr[data-addr] { cursor: pointer; }
body.pf .mf-table tbody tr[data-addr]:hover .mf-name b { color: var(--sky-deep); }
body.pf .mf-table tbody tr[data-addr]:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
body.pf .mf-tok img, body.pf .mf-noimg { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--sky-soft); box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(17, 66, 140, .2); }
body.pf .mf-nm { display: flex; flex-direction: column; min-width: 0; }
body.pf .mf-tok b { font: 600 1.05rem/1.15 var(--head); }
body.pf .mf-nm small { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; }
body.pf .mf-dot { display: inline-block; width: 9px; height: 9px; margin-right: .35rem; border-radius: 50%; vertical-align: .1em;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .22); }
body.pf .mf-ca { font: 700 .72rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: -.01em; color: var(--ink-soft); background: var(--sky-soft); border: 0; border-radius: 999px;
  padding: .45rem .7rem; cursor: pointer; min-height: 32px; }
body.pf .mf-ca:hover { background: #d7ebff; color: var(--sky-deep); }
body.pf .tag { display: inline-block; padding: .3rem .65rem; border-radius: 999px; font: 600 .78rem/1 var(--head); }
body.pf .tag.mf-trending { background: #fff0e6; color: var(--orange-deep); }
body.pf .tag.mf-hot { background: #ffe8ee; color: #d61f4f; }
body.pf .tag.mf-new { background: #e3faf2; color: #0d8a63; }
body.pf .mf-card .empty { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 2.5rem 1rem; text-align: center; }
body.pf .mf-card .empty img { border-radius: 50%; animation: pf-bob 4.5s ease-in-out infinite; }
body.pf .mf-card .empty strong { font: 600 1.25rem/1.3 var(--head); }
body.pf .muted { color: var(--ink-soft); }
.mf-note { margin: .9rem .2rem 0; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }

/* channels: Pump.fun now, Stonk.fun later (owner, 2026-11-02); each channel carries its own colour dot */
.ch-pump { --ch: #2fd17a; --ch-deep: #12a150; }
.ch-stonk { --ch: #a46bff; --ch-deep: #7a3fe0; }
.pf-channels { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .35rem; border-radius: 999px;
  background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.pf-ch-label { padding: 0 .4rem 0 .6rem; font: 600 .82rem/1 var(--head); color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.pf-ch { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; font: 600 .95rem/1 var(--head);
  color: #fff; text-decoration: none; }
.pf-ch i { width: 10px; height: 10px; border-radius: 50%; background: var(--ch); box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }
.pf-ch.on { background: #fff; color: var(--ch-deep); box-shadow: 0 4px 0 rgba(17, 66, 140, .15); }
.pf-ch.on:hover { text-decoration: none; color: var(--ch-deep); }
.pf-ch[aria-disabled] { opacity: .8; cursor: default; }
.pf-ch em { font-style: normal; font-size: .72rem; padding: .2rem .45rem; border-radius: 999px; background: var(--sun); color: var(--ink); }

/* sort / age / sound */
.pf-ctl select:focus-visible, .pf-dir:focus-visible, .pf-sound:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }


/* controls above the table: label + pill control, all 42px tall and centred on one line */
.pf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 0 0 1.1rem; }
.pf-field { display: inline-flex; align-items: center; gap: .6rem; }
.pf-lbl { font: 600 .92rem/1 var(--head); color: var(--ink-soft); white-space: nowrap; }
.pf-ctl { display: inline-flex; align-items: center; height: 42px; padding: 0 4px 0 0; border-radius: 999px; background: var(--sky-soft); }
.pf-ctl select { height: 42px; padding: 0 2rem 0 1rem; border: 0; border-radius: 999px; cursor: pointer; appearance: none;
  font: 700 .95rem/42px var(--font); color: var(--ink); background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, var(--sky-deep) 50%), linear-gradient(135deg, var(--sky-deep) 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.pf-ctl:only-child select, .pf-ctl select:last-child { padding-right: 2.1rem; }
.pf-dir { height: 34px; padding: 0 .85rem; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 600 .88rem/34px var(--head); color: var(--sky-deep); background: #fff; box-shadow: 0 2px 0 rgba(31, 127, 224, .15); }
.pf-dir:hover { color: #fff; background: var(--sky-deep); }
.pf-sound { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 .5rem 0 1rem; border: 0;
  border-radius: 999px; cursor: pointer; font: 600 .92rem/1 var(--head); color: var(--ink-soft); background: var(--sky-soft); }
.pf-sound b { display: inline-grid; place-items: center; height: 30px; padding: 0 .75rem; border-radius: 999px; font: 600 .82rem/1 var(--head);
  color: var(--ink-soft); background: #fff; }
.pf-sound[aria-pressed=true] { color: #7a5600; background: #fff4d6; }
.pf-sound[aria-pressed=true] b { color: #fff; background: #12a150; }

/* sortable column headings: the active one is orange with its arrow */
body.pf .mf-table th button { font: inherit; color: inherit; background: none; border: 0; padding: .2rem 0; cursor: pointer; white-space: nowrap; }
body.pf .mf-table th button:hover { color: var(--sky-deep); }
body.pf .mf-table th button.on { color: var(--orange-deep); }
body.pf .mf-table th button[data-arrow]:not([data-arrow=""])::after { content: attr(data-arrow); margin-left: .2rem; }
body.pf .mf-table th button.sub { font-size: .85em; opacity: .8; }
body.pf .mf-table th button small { font-size: .85em; }
body.pf .mf-table th button:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; border-radius: 6px; }

/* per-token actions: copy CA + outbound links */

/* gain since the call, next to the token name */
body.pf .mf-gain { display: inline-block; margin-left: .3rem; padding: .22rem .5rem; border-radius: 999px; vertical-align: .1em;
  font: 700 .74rem/1 var(--head); }
body.pf .mf-gain.up { color: #0b7a3e; background: #dcf8e8; }
body.pf .mf-gain.down { color: #c42236; background: #ffe4e8; }
body.pf .mf-peak { margin-left: .35rem; font: 600 .72rem/1 var(--head); color: var(--ink-soft); }

/* a token that appeared while the page is open */
body.pf .mf-new { font-style: normal; font: 700 .66rem/1 var(--head); padding: .22rem .45rem; border-radius: 999px; vertical-align: .2em;
  color: #fff; background: var(--berry); }
body.pf .mf-table tr.is-new td { animation: pf-flash 2.4s ease-out 2; }
@keyframes pf-flash { 0% { background: #fff1c2; } 100% { background: transparent; } }

@media (max-width: 900px) {
  .pf-hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: .5rem; gap: .5rem; }
  .pf-hero-art { order: -1; min-height: 0; }
  .pf-mascot { width: min(220px, 58vw); }
  .pf-lead { margin-left: auto; margin-right: auto; }
  .pf-cta { justify-content: center; }
  .pf-channels { margin: 0 auto; }
  .pf-art-cloud.a { --w: 100px; left: 4%; }
  .pf-art-cloud.b { --w: 84px; right: 4%; }
}
@media (max-width: 760px) {
  .pf-board { padding: 1.2rem .8rem 1rem; border-radius: 22px; }
  /* each token becomes a small rounded card: name row on top, the numbers in a two-column grid with their labels */
  body.pf .mf-table thead { display: none; }
  body.pf .mf-table, body.pf .mf-table tbody { display: block; }
  body.pf .mf-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; padding: .9rem; margin-bottom: .7rem;
    border-radius: 18px; background: #f7fbff; box-shadow: inset 0 0 0 2px var(--line); }
  body.pf .mf-table tbody tr:hover td { background: transparent; }
  body.pf .mf-table td { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: 0 !important; border: 0; }
  body.pf .mf-table td[data-l]::before { content: attr(data-l); font: 600 .78rem/1.5 var(--head); color: var(--ink-soft); }
  body.pf .mf-table td.mf-tok { display: block; grid-column: 1 / -1; margin-bottom: .2rem; }
  body.pf .mf-table td.mf-src { grid-column: 1 / -1; justify-content: flex-start; }
  body.pf .mf-table td.mf-src::before { display: none; }
  body.pf .mf-table td.mf-src .v { display: flex; gap: .35rem; }
  .pf-sound { margin-left: 0; }
  body.pf .mf-tokin { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  body.pf .mf-table tr.is-new { box-shadow: inset 0 0 0 2px var(--berry); }
}
@media (prefers-reduced-motion: reduce) {
  body.pf .mf-table tr.is-new td,
  .pf-sky .cloud, .pf-mascot, .pf-hero-art::after, .pf-art-cloud, .pf-status::before, body.pf .mf-card .empty img { animation: none; }
}

/* token cell first line: link (logo + name) and the gain-since-call button */
body.pf .mf-row1 { display: flex; align-items: center; gap: .45rem; }
body.pf button.mf-gain { border: 0; cursor: pointer; margin-left: 0; transition: transform var(--ease), box-shadow var(--ease); }
body.pf button.mf-gain:hover { transform: translateY(-1px) scale(1.05); box-shadow: 0 3px 8px rgba(17, 66, 140, .18); }
body.pf button.mf-gain:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
body.pf .mf-ca { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* share card modal */
body.pf-modal-open { overflow: hidden; }
.pf-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; overflow-y: auto;
  background: rgba(10, 40, 90, .45); backdrop-filter: blur(6px); }
.pf-modal[hidden] { display: none !important; }
.pf-modal-box { position: relative; width: min(420px, 100%); animation: pf-pop .28s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pf-pop { from { transform: scale(.9) translateY(12px); opacity: 0; } }
.pf-close { position: absolute; top: -14px; right: -10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  font: 700 1rem/1 var(--font); color: var(--ink); background: #fff; box-shadow: 0 6px 16px rgba(17, 66, 140, .3); }
.pf-close:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.pf-card { --c: #12a150; --c-soft: #dcf8e8; position: relative; overflow: hidden; border-radius: 28px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px rgba(10, 40, 90, .35); padding: 0 1.4rem 1.2rem; font-family: var(--font); }
.pf-card.down { --c: #e5394b; --c-soft: #ffe4e8; }
.pf-card-top { display: flex; justify-content: space-between; align-items: center; margin: 0 -1.4rem 1.1rem; padding: .85rem 2.6rem .85rem 1.2rem;
  background: linear-gradient(135deg, #56b4fb, #2a8ae6); color: #fff; font: 600 .95rem/1 var(--head); }
.pf-card-ch { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: #fff; color: #12a150; }
.pf-card-ch i { width: 9px; height: 9px; border-radius: 50%; background: #2fd17a; }
.pf-card-tok { display: flex; align-items: center; gap: .8rem; }
.pf-card-tok img, .pf-card-tok .mf-noimg { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(17, 66, 140, .25); background: var(--sky-soft); display: block; }
.pf-card-tok b { display: block; font: 700 1.5rem/1.1 var(--head); }
.pf-card-tok small { color: var(--ink-soft); font-weight: 700; }
.pf-card-big { margin: 1rem 0 0; font: 700 clamp(3rem, 15vw, 4.4rem)/1 var(--head); color: var(--c); letter-spacing: -.01em; }
.pf-card-sub { display: inline-block; margin-top: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--c-soft); color: var(--c);
  font: 600 .85rem/1 var(--head); }
.pf-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.1rem 0 .9rem; }
.pf-card-grid div { padding: .65rem .8rem; border-radius: 16px; background: var(--sky-soft); }
.pf-card-grid dt { font: 600 .75rem/1.2 var(--head); color: var(--ink-soft); }
.pf-card-grid dd { margin: .25rem 0 0; font: 800 1.05rem/1.2 var(--font); }
.pf-card-ca { padding: .55rem .7rem; border-radius: 12px; background: #f4f7fb; color: var(--ink-soft); word-break: break-all;
  font: 600 .72rem/1.35 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.pf-card-foot { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font: 600 .95rem/1 var(--head); }
.pf-card-foot img { width: 30px; height: 30px; border-radius: 50%; }
.pf-card-foot em { margin-left: auto; font-style: normal; font-size: .82rem; color: var(--ink-soft); }
.pf-card-miss { padding: 2rem 1.4rem; border-radius: 28px; background: #fff; text-align: center; }
.pf-card-miss strong { font: 700 1.25rem/1.3 var(--head); }
.pf-card-miss p { margin: .4rem 0 0; color: var(--ink-soft); font-weight: 700; }
.pf-share { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .9rem; }
.pf-share[hidden] { display: none; }
.pf-sh { display: grid; place-items: center; min-height: 48px; padding: 0 .6rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .95rem/1 var(--head); color: #fff; text-decoration: none; box-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.pf-sh:hover { text-decoration: none; color: #fff; transform: translateY(-1px); }
.pf-sh:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.pf-sh.wa { background: #25d366; }
.pf-sh.tg { background: #229ed9; }
.pf-sh.cp { background: #fff; color: var(--ink); }
.pf-sh.nt { grid-column: 1 / -1; background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .pf-modal-box { animation: none; } }

/* token page parts (token.js): sections, bars, chips, tables */
.pf-modal[data-mf-modal] { z-index: 95; }   /* the share card opens on top of the detail panel */
.dt-loading { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 3rem 1rem; text-align: center; }
.dt-loading img { width: 70px; border-radius: 50%; animation: pf-bob 1.6s ease-in-out infinite; }
.dt-loading b { font: 600 1.15rem/1.3 var(--head); }
.dt-loading small { color: var(--ink-soft); font-weight: 700; }
.dt-head { display: flex; align-items: center; gap: .9rem; }
.dt-head > img, .dt-head > .mf-noimg { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; display: block;
  box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(17, 66, 140, .25); background: var(--sky-soft); }
.dt-head > div { min-width: 0; }
.dt-head b { font: 700 1.6rem/1.1 var(--head); }
.dt-head small { display: block; margin: .2rem 0 .4rem; color: var(--ink-soft); font-weight: 700; }
.dt-head .mf-ca { max-width: 100%; }
.dt-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 .4rem; }
.dt-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .9rem; border-radius: 999px; font: 600 .88rem/1 var(--head);
  color: var(--sky-deep); background: var(--sky-soft); text-decoration: none; }
.dt-btn:hover { color: #fff; background: var(--sky-deep); text-decoration: none; }
.dt-btn.main { color: #fff; background: var(--orange); box-shadow: 0 3px 0 var(--orange-deep); }
.dt-btn.plain { min-height: 0; padding: 0; background: none; font: 700 .9rem/1.2 var(--font); }
.dt-btn.plain:hover { color: var(--orange-deep); background: none; text-decoration: underline; }
.dt-sec { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 20px; background: #f6faff; box-shadow: inset 0 0 0 2px var(--line); }
.dt-sec h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font: 700 1.15rem/1.2 var(--head); }
.dt-sec h3 span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .9rem; }
.dt-sec > small { display: block; margin-top: .5rem; color: var(--ink-soft); font-weight: 700; }
.dt-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; }
.dt-row small { color: var(--ink-soft); font-weight: 700; }
.dt-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 .75rem; border-radius: 999px; font: 600 .82rem/1 var(--head); }
.dt-chip.ok { color: #0b7a3e; background: #dcf8e8; }
.dt-chip.warn { color: #8a5a00; background: #fff1c2; }
.dt-chip.bad { color: #c42236; background: #ffe4e8; }
.dt-chip.none { color: var(--ink-soft); background: #eaf0f7; }
.dt-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .7rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-weight: 700; font-size: .92rem; }
.dt-facts b { color: var(--ink); }
.dt-bars { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem .9rem; margin-bottom: .8rem; }
.dt-bar-h { display: flex; justify-content: space-between; font: 600 .85rem/1.3 var(--head); }
.dt-bar-t { height: 8px; margin-top: .3rem; border-radius: 999px; background: #e3edf8; overflow: hidden; }
.dt-bar-t i { display: block; height: 100%; border-radius: 999px; background: var(--sky); }
.dt-bar.bad .dt-bar-t i { background: #e5394b; }
.dt-bar.bad .dt-bar-h b { color: #c42236; }
.dt-bar small { color: var(--ink-soft); font-weight: 700; font-size: .75rem; }
.dt-scroll { margin-top: .7rem; max-height: 300px; overflow: auto; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dt-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dt-table th { position: sticky; top: 0; z-index: 1; padding: .55rem .6rem; text-align: left; background: #eef5fd; color: var(--ink-soft); font: 600 .78rem/1 var(--head); }
.dt-table td { padding: .5rem .6rem; border-top: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.dt-table tr.gone td { color: var(--ink-soft); }
.dt-tag { color: var(--ink-soft); font-size: .72rem; }
.dt-org { display: flex; align-items: baseline; gap: .4rem; }
.dt-org b { font: 700 2.6rem/1 var(--head); }
.dt-org span { color: var(--ink-soft); font-weight: 800; }
.dt-org em { margin-left: .5rem; padding: .3rem .7rem; border-radius: 999px; font: 600 .85rem/1 var(--head); font-style: normal; background: #eaf0f7; }
.dt-org.ok b { color: #12a150; } .dt-org.ok em { color: #0b7a3e; background: #dcf8e8; }
.dt-org.warn b { color: #c98500; } .dt-org.warn em { color: #8a5a00; background: #fff1c2; }
.dt-org.bad b { color: #e5394b; } .dt-org.bad em { color: #c42236; background: #ffe4e8; }
.dt-foot { margin: .9rem .2rem 0; color: var(--ink-soft); font-size: .8rem; font-weight: 700; text-align: right; }
@media (max-width: 600px) {
  .dt-head b { font-size: 1.3rem; }
  .dt-sec { padding: .85rem .8rem; }
}

/* token page (/token/<CA>): live chart left, numbers + checks right; one column on phones */
.tk-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.tk-brand img { height: 40px; width: 40px; border-radius: 50%; }
.tk-brand .tk-word { width: auto; height: 26px; border-radius: 0; filter: invert(1) drop-shadow(0 2px 0 rgba(17, 66, 140, .35)); }
.tk-main { padding-top: 88px; padding-bottom: 3rem; }
.tk-back { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; margin-bottom: .9rem; border-radius: 999px;
  font: 600 .95rem/1 var(--head); color: #fff; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); text-decoration: none; }
.tk-back:hover { color: var(--sky-deep); background: #fff; text-decoration: none; }
.tk-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
section.dt-sec.tk-card { background: #fff; box-shadow: var(--shadow); margin-top: 0; }
.tk-head { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.tk-head > img, .tk-head > .mf-noimg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; display: block;
  box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(17, 66, 140, .25); background: var(--sky-soft); }
.tk-head-main { flex: 1 1 320px; min-width: 0; }
.tk-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tk-title b { font: 700 2rem/1.1 var(--head); }
.tk-title .mf-gain { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font: 700 .95rem/1 var(--head); text-decoration: none; }
.tk-title .mf-gain.up { color: #0b7a3e; background: #dcf8e8; }
.tk-title .mf-gain.down { color: #c42236; background: #ffe4e8; }
.tk-title .mf-peak { font: 600 .82rem/1 var(--head); color: var(--ink-soft); }
.tk-head-main > small { display: block; margin: .25rem 0 .5rem; color: var(--ink-soft); font-weight: 700; }
.tk-head .mf-ca { font: 700 .78rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink-soft); background: var(--sky-soft); border: 0;
  border-radius: 999px; padding: .5rem .8rem; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-head .mf-ca:hover { color: var(--sky-deep); background: #d7ebff; }
.tk-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: 1rem; align-items: start; }
.tk-left, .tk-right { display: grid; gap: 1rem; min-width: 0; }
.tk-left > div:empty, .tk-right > div:empty { display: none; }
.tk-chart { overflow: hidden; padding: 0; height: 560px; }
.tk-chart iframe { display: block; width: 100%; height: 100%; border: 0; }
.tk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; }
.tk-stats div { padding: .6rem .75rem; border-radius: 14px; background: var(--sky-soft); }
.tk-stats dt { font: 600 .74rem/1.2 var(--head); color: var(--ink-soft); }
.tk-stats dd { margin: .2rem 0 0; font: 800 1rem/1.25 var(--font); }
.tk-stats small { color: var(--ink-soft); font-size: .78em; }
.tk-page .dt-loading.tk-card { padding: 3rem 1rem; }
.tk-page .dt-loading .dt-btn { margin-top: .6rem; }
.tk-page .dt-scroll { max-height: 420px; }
.tk-page .dt-bars { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) {
  .tk-grid { grid-template-columns: 1fr; }
  .tk-chart { height: 420px; }
}
@media (max-width: 600px) {
  .tk-title b { font-size: 1.5rem; }
  .tk-head { padding: .9rem; }
  .tk-page .dt-bars { grid-template-columns: 1fr; }
  .tk-brand .tk-word { display: none; }
}
