/* meme.css — MEME CITY (meme.html). A bright toy city by day in Solana's colours: purple #9945FF → teal #00C2FF → green #14F195
   on white glass (the owner, 2026-11-17: "솔라나 로고 확인하고 밝은 톤으로"). */
:root { --bg: #eef4ff; --glass: rgba(255, 255, 255, 0.8); --glass2: rgba(255, 255, 255, 0.95); --line: rgba(110, 70, 220, 0.16); --line2: rgba(153, 69, 255, 0.3); --ink: #1c1442; --dim: #6b6596; --pink: #9945ff; --cyan: #0098d4; --gold: #c98a00; --mint: #0bb871; --red: #e5395b; --sol: linear-gradient(120deg, #9945ff 0%, #00c2ff 55%, #14f195 100%); --sol2: linear-gradient(120deg, #8a3cf0, #14d18a); --shadow: 0 10px 30px rgba(60, 30, 140, 0.14); --pad: 16px; --r: 18px; --sa-t: env(safe-area-inset-top, 0px); --sa-b: env(safe-area-inset-bottom, 0px); color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font: 14px/1.45 Sora, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#mc-c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
a { color: var(--cyan); }
button { font: inherit; color: inherit; }
.mc-top, .mc-stats, .mc-side, .mc-card, .mc-sheet, .mc-note, .mc-chips { position: fixed; z-index: 2; }
.mc-top { top: calc(12px + var(--sa-t)); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; }
.mc-top > * { pointer-events: auto; }
.mc-brand h1 { margin: 0; font: 400 42px/1 "Lilita One", "Sora", sans-serif; letter-spacing: 0.02em; background: var(--sol); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #ffffff) drop-shadow(0 8px 16px rgba(80, 40, 180, 0.28)); background-size: 200% 100%; animation: mcSheen 8s ease-in-out infinite alternate; }
@keyframes mcSheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.mc-brand .b1, .mc-brand .b2 { color: transparent; }
.mc-brand p { margin: 6px 0 0; color: var(--ink); font-size: 13px; font-weight: 600; text-shadow: 0 0 8px #fff, 0 0 2px #fff; }
.mc-brand .mc-by { color: var(--dim); font-size: 11.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mc-sol { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); font: 700 11px Sora, sans-serif; color: var(--ink); box-shadow: 0 2px 8px rgba(80, 40, 180, 0.12); }
.mc-sol svg { width: 14px; height: 11px; }
.mc-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mc-live { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--dim); white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: 0 0 auto; }
.mc-live.on i { background: #14f195; box-shadow: 0 0 10px #14f195; animation: mcPulse 1.6s ease-in-out infinite; }
@keyframes mcPulse { 50% { transform: scale(1.35); opacity: 0.7; } }
.mc-tools select { height: 34px; background: var(--glass); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; font: 600 12px Sora, sans-serif; }
.mc-tools option { background: #ffffff; }
.mc-launch { height: 38px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; font: 400 17px "Lilita One", Sora, sans-serif; letter-spacing: 0.02em; color: #ffffff; background: var(--sol); box-shadow: 0 4px 0 #6a2fd0, 0 10px 26px rgba(120, 60, 230, 0.35); text-shadow: 0 1px 2px rgba(40, 10, 90, 0.35); transition: transform 0.15s, filter 0.15s; }
.mc-launch:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mc-launch:active { transform: translateY(2px); box-shadow: 0 2px 0 #6a2fd0; }

.mc-stats { top: calc(108px + var(--sa-t)); left: var(--pad); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 380px; }
.mc-st { padding: 9px 12px; background: var(--glass); border: 1px solid var(--line); border-radius: 14px; min-width: 0; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mc-st b { display: block; font: 400 22px/1.1 "Lilita One", Sora, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-st span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-st.gold b { color: var(--gold); } .mc-st.pink b { color: var(--pink); } .mc-st.cyan b { color: var(--cyan); } .mc-st.red b { color: #e2581c; } .mc-st.mint b { color: var(--mint); } .mc-st b { color: #6a4fd8; }
.mc-st b.bump { animation: mcBump 0.6s ease; } @keyframes mcBump { 40% { transform: scale(1.18); } }

.mc-side { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mc-side h2 { margin: 0 0 8px; font: 700 12px/1.2 Sora, sans-serif; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.mc-how { left: var(--pad); width: 380px; top: calc(250px + var(--sa-t)); max-height: calc(100vh - 270px - var(--sa-t)); overflow-y: auto; }
.mc-how ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mc-how li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; }
.mc-how li b { flex: 0 0 22px; text-align: center; font-size: 15px; }
.mc-hint { margin: 10px 0 0; font-size: 11px; color: var(--dim); }
.mc-list { right: var(--pad); top: calc(108px + var(--sa-t)); width: 320px; max-height: calc(100vh - 128px - var(--sa-t)); display: flex; flex-direction: column; }
.mc-tabs { display: flex; gap: 4px; background: rgba(90, 60, 190, 0.07); border-radius: 10px; padding: 3px; margin-bottom: 8px; }
.mc-tabs button { flex: 1; height: 30px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; font-size: 12.5px; color: var(--dim); font-weight: 600; }
.mc-tabs button.on { background: #ffffff; color: #6a2fd0; box-shadow: 0 2px 6px rgba(80, 40, 180, 0.15); }
#mc-coins { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; gap: 4px; }
#mc-coins li button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; }
#mc-coins li button:hover, #mc-coins li button.sel { background: rgba(90, 60, 190, 0.07); }
.mc-ic { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #ece7ff; display: grid; place-items: center; font: 700 12px Sora; color: var(--dim); overflow: hidden; }
.mc-ic img { width: 100%; height: 100%; object-fit: cover; }
.mc-nm { min-width: 0; }
.mc-nm b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-nm span { display: block; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-bar { display: block; height: 4px; border-radius: 3px; background: rgba(90, 60, 190, 0.1); margin-top: 4px; overflow: hidden; }
.mc-bar i { display: block; height: 100%; background: var(--sol); border-radius: 3px; }
.mc-bar.grad i { background: linear-gradient(90deg, #f2b100, #ffe27a); }
.mc-v { text-align: right; font: 700 12.5px "JetBrains Mono", monospace; }
.mc-v small { display: block; font: 500 10.5px Sora; color: var(--dim); }
.mc-empty { color: var(--dim); font-size: 12.5px; padding: 10px 6px; }

.mc-chips { inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.mc-chip { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(60, 30, 140, 0.16); font: 700 12px Sora, sans-serif; white-space: nowrap; pointer-events: auto; cursor: pointer; will-change: transform; }
.mc-chip .mc-ic { width: 22px; height: 22px; font-size: 9px; }
.mc-chip em { font-style: normal; color: #7a4fe0; font: 700 11px "JetBrains Mono", monospace; }
.mc-chip.grad { border-color: #f2b100; }
.mc-chip.empty { padding: 4px 10px; color: var(--dim); font-weight: 600; border-style: dashed; }
.mc-chip.sel { border-color: #9945ff; box-shadow: 0 0 0 2px rgba(153, 69, 255, 0.25), 0 6px 18px rgba(153, 69, 255, 0.35); }
.mc-chip:hover { transform-origin: 50% 100%; }

.mc-card { right: var(--pad); top: calc(108px + var(--sa-t)); width: 380px; max-height: calc(100vh - 128px - var(--sa-t)); overflow-y: auto; background: var(--glass2); border: 1px solid var(--line2); border-radius: var(--r); padding: 16px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(60, 30, 140, 0.22); z-index: 4; animation: mcIn 0.3s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes mcIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.mc-card header { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.mc-card header .mc-ic { width: 56px; height: 56px; font-size: 16px; }
.mc-card h3 { margin: 0; font: 400 22px/1.1 "Lilita One", Sora, sans-serif; }
.mc-card h3 small { display: block; font: 600 12px Sora; color: var(--dim); margin-top: 3px; }
.mc-x { all: unset; cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 20px; color: var(--dim); }
.mc-x:hover { background: rgba(90, 60, 190, 0.08); color: var(--ink); }
.mc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; }
.mc-row div { background: rgba(90, 60, 190, 0.05); border-radius: 10px; padding: 7px 9px; min-width: 0; }
.mc-row b { display: block; font: 700 14px "JetBrains Mono", monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row span { display: block; font-size: 10.5px; color: var(--dim); }
.mc-curve { margin: 12px 0 0; }
.mc-curve p { margin: 0 0 5px; display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }
.mc-curve p b { color: var(--ink); }
.mc-curve .mc-bar { height: 10px; border-radius: 6px; }
.mc-masc { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; padding: 8px 10px; border-radius: 12px; background: rgba(90, 60, 190, 0.05); font-size: 12.5px; }
.mc-masc img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mc-masc i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; vertical-align: -1px; margin: 0 2px; border: 1px solid rgba(30, 20, 70, 0.2); }
.mc-masc button { margin-left: auto; }
.mc-card h4 { margin: 14px 0 6px; font: 700 11.5px Sora; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.mc-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mc-tl li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; padding: 5px 8px; border-radius: 9px; background: rgba(90, 60, 190, 0.04); }
.mc-tl li a { font: 500 11px "JetBrains Mono", monospace; text-decoration: none; }
.mc-tl .none { color: var(--dim); }
.mc-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mc-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(153, 69, 255, 0.06); color: #4b2fa8; text-decoration: none; font: 600 12.5px Sora; cursor: pointer; transition: transform 0.12s, filter 0.12s; }
.mc-btn:active { transform: scale(0.97); }
.mc-btn:disabled { opacity: 0.5; cursor: default; }
.mc-btn.pri { border: 0; background: var(--sol); color: #ffffff; text-shadow: 0 1px 2px rgba(40, 10, 90, 0.3); box-shadow: 0 4px 12px rgba(120, 60, 230, 0.28); }
.mc-btn:hover { filter: brightness(1.1); }

.mc-sheet { inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(40, 25, 100, 0.32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: var(--pad); }
.mc-sheet[hidden] { display: none; }
.mc-sheet > div { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--glass2); border: 1px solid var(--line2); border-radius: 22px; padding: 20px; box-shadow: 0 24px 70px rgba(60, 30, 140, 0.3); animation: mcIn 0.3s cubic-bezier(.2, .9, .3, 1.2); }
.mc-sheet h3 { margin: 0 0 6px; font: 400 26px "Lilita One", Sora, sans-serif; background: var(--sol); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-sheet p { color: var(--dim); margin: 0 0 12px; font-size: 13px; }
.mc-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.mc-steps li { position: relative; padding: 10px 12px 10px 44px; border-radius: 12px; background: rgba(90, 60, 190, 0.05); font-size: 13px; }
.mc-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sol); color: #ffffff; font: 700 12px Sora; }
.mc-racers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 4px 0 12px; }
.mc-racers button { all: unset; cursor: pointer; border-radius: 12px; overflow: hidden; border: 2px solid transparent; text-align: center; font: 700 11px Sora; padding-bottom: 4px; background: rgba(90, 60, 190, 0.05); }
.mc-racers button img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.mc-racers button.on { border-color: #9945ff; box-shadow: 0 4px 14px rgba(153, 69, 255, 0.3); }
.mc-racers button { transition: transform 0.15s; } .mc-racers button:hover { transform: translateY(-2px); }
.mc-swatches, .mc-hats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.mc-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(30, 20, 70, 0.12); cursor: pointer; }
.mc-swatches button.on { border-color: #fff; box-shadow: 0 0 0 3px #9945ff; }
.mc-hats button { height: 32px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(90, 60, 190, 0.05); cursor: pointer; font-size: 12.5px; }
.mc-hats button.on { border-color: #9945ff; background: rgba(153, 69, 255, 0.12); color: #4b2fa8; }
.mc-hats button:disabled { opacity: 0.45; cursor: default; }
.mc-lbl { font: 700 11px Sora; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

.mc-note { left: 50%; bottom: calc(24px + var(--sa-b)); transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: #ffffff; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line2); font-size: 13px; z-index: 8; max-width: calc(100vw - 32px); text-align: center; }
.mc-nojs { position: fixed; inset: 0; display: grid; place-items: center; }

body.mc-carded .mc-list { display: none; } /* the card takes the list's place: never one over the other */
/* phones: the list becomes a bottom sheet that peeks; the how-to folds away; the card covers the bottom */
@media (max-width: 760px) {
  :root { --pad: 12px; }
  .mc-brand h1 { font-size: 30px; }
  .mc-brand p { font-size: 11.5px; }
  .mc-brand .mc-by { display: none; }
  .mc-live { display: none; }
  .mc-tools select { height: 32px; }
  .mc-launch { height: 36px; font-size: 15px; padding: 0 12px; }
  .mc-stats { top: calc(92px + var(--sa-t)); right: var(--pad); width: auto; display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .mc-stats::-webkit-scrollbar { display: none; }
  .mc-st { flex: 0 0 auto; min-width: 104px; padding: 6px 10px; } .mc-st b { font-size: 18px; } .mc-st span { font-size: 9.5px; }
  .mc-how { display: none; }
  .mc-list { top: auto; left: var(--pad); right: var(--pad); width: auto; bottom: calc(10px + var(--sa-b)); max-height: 36vh; padding: 8px 10px; }
  .mc-list.peek #mc-coins { max-height: 112px; }
  .mc-card { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: calc(10px + var(--sa-b)); max-height: 62vh; }
}
@media (prefers-reduced-motion: reduce) { .mc-card, .mc-sheet > div { animation: none; } }

/* SPECIAL LAUNCH (a coin past $10K: ARCIRCLE PAD pays its early marketing) */
.mc-special { margin: 12px 0 0; padding: 9px 11px; border-radius: 12px; background: rgba(255, 201, 74, 0.12); border: 1px dashed rgba(201, 138, 0, 0.45); font-size: 12px; display: grid; gap: 4px; }
.mc-special b { color: var(--gold); font-size: 12.5px; }
.mc-special span { color: var(--dim); }
.mc-special.got { border-style: solid; background: rgba(255, 201, 74, 0.2); }
.mc-special.got span { color: var(--ink); }
.mc-special .mc-bar { height: 6px; margin-top: 2px; }
.mc-special .mc-bar i { background: linear-gradient(90deg, #ffd166, #fff2b0); }
.mc-chip.sp { border-color: rgba(255, 209, 102, 0.85); box-shadow: 0 0 12px rgba(255, 209, 102, 0.35); }
/* the launch form (meme-launch.js) */
.ml-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 6px 0 10px; }
.ml-form .ml-wide, .ml-form .ml-logo { grid-column: 1 / -1; }
.ml-f { display: grid; gap: 4px; font-size: 11.5px; color: var(--dim); font-weight: 600; }
.ml-f input, .ml-f textarea { width: 100%; background: #ffffff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: 500 14px Sora, sans-serif; padding: 9px 11px; resize: vertical; }
.ml-f input:focus, .ml-f textarea:focus { outline: none; border-color: var(--pink); }
.ml-drop { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px dashed var(--line2); cursor: pointer; background: rgba(90, 60, 190, 0.03); }
.ml-drop b { display: block; font-size: 13px; }
.ml-drop small { color: var(--dim); font-size: 11.5px; }
.ml-prev { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: #ece7ff; overflow: hidden; flex: 0 0 auto; }
.ml-prev img { width: 100%; height: 100%; object-fit: cover; }
.ml-special { margin: 4px 0 6px; padding: 9px 11px; border-radius: 12px; background: rgba(255, 201, 74, 0.14); border: 1px solid rgba(201, 138, 0, 0.35); color: var(--ink); font-size: 12.5px; }
.ml-wallet { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 6px; padding: 8px 10px; border-radius: 12px; background: rgba(90, 60, 190, 0.05); font-size: 12.5px; }
.ml-wallet span { margin-right: auto; }
.ml-wallet small { display: block; color: var(--dim); font-size: 11px; }
.ml-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--dim); margin: 6px 0; }
.ml-steps { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 5px; }
.ml-steps li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--dim); }
.ml-steps li i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2); flex: 0 0 auto; margin-top: 2px; }
.ml-steps li.doing i { border-color: var(--cyan); border-top-color: transparent; animation: mlspin 0.8s linear infinite; }
.ml-steps li.doing, .ml-steps li.ok { color: var(--ink); }
.ml-steps li.ok i { background: var(--mint); border-color: var(--mint); }
.ml-steps li.bad i { background: var(--red); border-color: var(--red); }
.ml-steps small { display: block; font-size: 11px; color: var(--dim); }
@keyframes mlspin { to { transform: rotate(360deg); } }
.ml-err { color: var(--red); font-size: 12.5px; margin: 6px 0; }
.ml-done { width: 100%; margin: 0 0 6px; color: var(--gold); font-weight: 700; }
@media (max-width: 520px) { .ml-form { grid-template-columns: 1fr; } }

/* driving (meme-drive.js): a thumb stick on phones, the visit button, the keys line on computers, my name tag */
.mc-tbtn { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--glass); color: #4b2fa8; box-shadow: 0 2px 8px rgba(80, 40, 180, 0.12); font: 700 13px Sora, sans-serif; cursor: pointer; white-space: nowrap; }
.mc-drive { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.mc-drive[hidden] { display: none; }
.mc-joy { position: absolute; left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(26px + var(--sa-b)); width: 124px; height: 124px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); border: 2px solid var(--line2); box-shadow: var(--shadow); pointer-events: auto; touch-action: none; display: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mc-joy i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--sol); box-shadow: 0 4px 14px rgba(80, 40, 180, 0.4); }
.mc-visit { position: absolute; left: 50%; bottom: calc(40px + var(--sa-b)); transform: translateX(-50%); pointer-events: auto; height: 46px; padding: 0 20px; border-radius: 14px; border: 0; cursor: pointer; font: 400 18px "Lilita One", Sora, sans-serif; color: #ffffff; background: var(--sol); box-shadow: 0 4px 0 #6a2fd0, 0 8px 20px rgba(80, 40, 180, 0.35); white-space: nowrap; text-shadow: 0 1px 2px rgba(40, 10, 90, 0.35); animation: mcPop 0.35s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes mcPop { from { transform: translateX(-50%) scale(0.6); opacity: 0; } }
.mc-keys { position: absolute; left: 50%; bottom: calc(8px + var(--sa-b)); transform: translateX(-50%); margin: 0; font-size: 11.5px; color: var(--ink); font-weight: 600; white-space: nowrap; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.mc-me { position: absolute; left: 0; top: 0; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: 0 3px 10px rgba(60, 30, 140, 0.2); border: 2px solid #9945ff; font: 700 12px Sora, sans-serif; white-space: nowrap; }
.mc-me:empty { display: none; }
body.mc-driving .mc-how { display: none; }
@media (max-width: 760px) {
  .mc-tbtn { height: 32px; padding: 0 9px; font-size: 12px; }
  .mc-joy { display: block; }
  .mc-keys { display: none; }
  .mc-visit { left: auto; right: calc(16px + env(safe-area-inset-right, 0px)); transform: none; bottom: calc(60px + var(--sa-b)); font-size: 16px; }
  body.mc-driving .mc-list { display: none; }
  body.mc-carded .mc-drive { display: none; }
}
@media (max-width: 760px) {
  .mc-tools { flex-wrap: nowrap; gap: 6px; }
  .mc-launch span { display: none; }
  .mc-launch { width: 40px; padding: 0; }
  .mc-tools select { width: 58px; padding: 0 4px; }
  .mc-brand { min-width: 0; }
  .mc-brand p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
}

/* MC3 (2026-11-17): creator tools, rising words, my character in the launch form */
.mc-fxl { z-index: 3; }
.mc-say { position: absolute; left: 0; top: 0; padding: 6px 14px 7px; border-radius: 999px; font: 400 22px/1 "Lilita One", Sora, sans-serif; letter-spacing: 0.03em; color: #ffffff; white-space: nowrap; pointer-events: none; will-change: transform, opacity;
  background: var(--sol); border: 2px solid #ffffff; box-shadow: 0 8px 22px rgba(80, 40, 180, 0.35); text-shadow: 0 1px 2px rgba(40, 10, 90, 0.35); }
.mc-say.lock { background: linear-gradient(120deg, #f2b100, #ffd76a); color: #4a3000; text-shadow: none; box-shadow: 0 8px 22px rgba(200, 140, 0, 0.4); }
.mc-say.buy { background: linear-gradient(120deg, #00c2ff, #14f195); box-shadow: 0 8px 22px rgba(20, 200, 140, 0.4); }
.mc-say.burn { background: linear-gradient(120deg, #ff3d6e, #ff8a2a); box-shadow: 0 8px 22px rgba(255, 90, 40, 0.45); }
.mc-tools-btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 2px; width: 100%; margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: var(--sol); color: #fff; box-shadow: 0 6px 18px rgba(120, 60, 230, 0.3); position: relative; overflow: hidden; }
.mc-tools-btn b { font: 400 18px "Lilita One", Sora, sans-serif; letter-spacing: 0.02em; text-shadow: 0 1px 2px rgba(40, 10, 90, 0.35); }
.mc-tools-btn small { font: 600 11px Sora, sans-serif; opacity: 0.9; }
.mc-tools-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-100%); animation: mcShine 3.2s ease-in-out infinite; }
@keyframes mcShine { 60%, 100% { transform: translateX(100%); } }
.mc-usemine { width: 100%; justify-content: center; height: 44px; margin: 0 0 10px; }
.mc-usemine img, .ml-mine img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.ml-mine { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(120deg, rgba(153, 69, 255, 0.1), rgba(20, 241, 149, 0.12)); border: 1px solid var(--line2); }
.ml-mine img { width: 54px; height: 54px; border-radius: 12px; }
.ml-mine span { display: grid; gap: 1px; margin-right: auto; min-width: 0; }
.ml-mine small { font-size: 11px; color: var(--dim); font-weight: 600; }
.ml-mine b { font: 400 18px "Lilita One", Sora, sans-serif; }
.ml-mine em { font-style: normal; font-size: 12px; color: var(--dim); }
.ml-mine em i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; vertical-align: -1px; }
.ml-mine[hidden], [data-p][hidden] { display: none; }
.ma-h { display: flex; gap: 12px; align-items: flex-start; }
.ma-coin { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--sol); box-shadow: 0 4px 12px rgba(120, 60, 230, 0.3); }
.ma-coin img { width: 100%; height: 100%; object-fit: cover; }
.ma-h p { margin: 0 0 8px; }
.ma-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(90, 60, 190, 0.07); margin: 4px 0 6px; }
.ma-tabs button { height: 40px; border: 0; border-radius: 10px; background: transparent; font: 700 13.5px Sora, sans-serif; color: var(--dim); cursor: pointer; transition: background 0.15s, color 0.15s; }
.ma-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 3px 10px rgba(80, 40, 180, 0.16); }
.ma[data-tab="buy"] .ma-tabs button.on { color: #0a9a5f; } .ma[data-tab="burn"] .ma-tabs button.on { color: #d9480f; } .ma[data-tab="lock"] .ma-tabs button.on { color: #b07800; }
.ma-body { animation: mcIn 0.25s ease; }
.ma-p { color: var(--dim); font-size: 12.5px; margin: 6px 0 10px !important; }
.ma-date { margin: -4px 0 6px !important; font: 700 13px "JetBrains Mono", monospace; color: #b07800 !important; }
.ma-warn { width: 100%; margin: 6px 0 0 !important; padding: 7px 10px; border-radius: 10px; background: rgba(229, 57, 91, 0.08); color: #b4233f !important; font-size: 12px !important; }
@media (prefers-reduced-motion: reduce) { .mc-brand h1, .mc-tools-btn::after, .mc-live.on i { animation: none; } }

/* MC4 (2026-11-17, the owner: "아이콘 고급적인걸로 · 런칭 창은 중간에 적당히 뜨고 스크롤로"): the icon set (meme-icons.js) */
.mi { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -0.2em; display: inline-block; }
.mi-sm { width: 1em; height: 1em; }
.mi-gold { color: #d79a00; } .mi-ember { color: #f0581f; }
.mi-t { --a: #9945ff; --b: #14f195; display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--a), var(--b)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 6px rgba(0, 0, 0, 0.12), 0 4px 10px -2px color-mix(in srgb, var(--a) 55%, transparent); }
.mi-t::before { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)); border-radius: inherit; pointer-events: none; }
.mi-t .mi { width: 18px; height: 18px; position: relative; filter: drop-shadow(0 1px 1px rgba(30, 10, 70, 0.25)); }
.mi-t.mi-s { width: 26px; height: 26px; border-radius: 8px; } .mi-t.mi-s .mi { width: 15px; height: 15px; }
.k-sol { --a: #9945ff; --b: #19c8f0; } .k-lock { --a: #f2a900; --b: #ffd45c; } .k-buy { --a: #00a8e8; --b: #14d18a; } .k-burn { --a: #ff3d6e; --b: #ff8a2a; }
.k-gold { --a: #e8a000; --b: #ffcf4a; } .k-floors { --a: #6f5bff; --b: #00c2ff; } .k-play { --a: #ff5fc8; --b: #9945ff; } .k-warn { --a: #ff4d6d; --b: #ff9a3d; } .k-soft { --a: #b9a6ff; --b: #9fe9d2; }
.mc-how li { align-items: center; }
.mc-tl li { grid-template-columns: 26px 1fr auto; }
.mc-h3i { display: flex; align-items: center; gap: 10px; }
.mc-h3i .mi-t { width: 38px; height: 38px; border-radius: 12px; } .mc-h3i .mi-t .mi { width: 22px; height: 22px; }
.mc-tbtn, .mc-launch, .mc-btn, #mc-mode { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.mc-launch .mi { width: 19px; height: 19px; }
.mc-tools-btn b { display: flex; align-items: center; gap: 8px; } .mc-tools-btn b .mi { width: 20px; height: 20px; }
.mc-special b { display: flex; align-items: center; gap: 6px; }
.ml-special .mi { color: #d79a00; vertical-align: -0.25em; }
.mc-masc .mi-hat, .ml-mine .mi-hat { color: #6a4fd8; }
.mc-hats .mi-hat { width: 18px; height: 18px; color: #6a4fd8; vertical-align: -0.3em; }
.ml-prev .mi { width: 26px; height: 26px; color: #9a86e6; }
.ma-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.ma-tabs button:not(.on) .mi-t { filter: saturate(0.35) opacity(0.7); }
.mc-say { display: inline-flex; align-items: center; gap: 8px; } .mc-say .mi { width: 20px; height: 20px; }
.ml-done .mi { color: #0bb871; vertical-align: -0.2em; }
.ma-date .mi { vertical-align: -0.2em; }
.mc-chip .mi-sm { margin-right: -2px; }

/* phones: a window floats in the middle at a comfortable height and scrolls inside (it used to fill the screen) */
@media (max-width: 760px) {
  .mc-sheet { padding: 14px; align-items: center; }
  .mc-sheet > div { width: min(440px, 100%); max-height: 78vh; max-height: min(78dvh, 720px); padding: 16px 16px 14px; border-radius: 22px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .mc-sheet h3 { font-size: 22px; }
  .mc-sheet .mc-acts { position: sticky; bottom: -14px; margin: 12px -16px -14px; padding: 10px 16px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 30%); }
}
.ma-coin { display: grid; place-items: center; color: #fff; } .ma-coin > .mi { width: 26px; height: 26px; }

/* MC5 (2026-11-17): one wallet button, my coins, creator fees */
.mc-walletb.on { border-color: rgba(11, 184, 113, 0.5); color: #0a8a57; }
.mc-walletb.on .mi { color: #0bb871; }
.mc-wal { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(120deg, rgba(153, 69, 255, 0.08), rgba(20, 241, 149, 0.1)); border: 1px solid var(--line); }
.mc-wal-k { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; margin-right: auto; }
.mc-wal-k .mi { grid-row: span 2; width: 26px; height: 26px; color: #6a2fd0; }
.mc-wal-k b { font: 700 14px "JetBrains Mono", monospace; } .mc-wal-k small { color: var(--dim); font-size: 11px; }
.mc-wal-list { display: grid; gap: 6px; margin: 6px 0; }
.mc-wal-list .mc-btn { height: 44px; justify-content: flex-start; font-size: 14px; }
.mc-wal-list img { width: 22px; height: 22px; border-radius: 6px; }
.mc-my { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.mc-my li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(90, 60, 190, 0.05); }
.mc-my li > span:not(.mc-ic) { display: grid; margin-right: auto; min-width: 0; } .mc-my small { color: var(--dim); font-size: 11.5px; }
.mc-feesrow { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 9px 11px; border-radius: 12px; background: rgba(255, 201, 74, 0.12); border: 1px solid rgba(201, 138, 0, 0.3); }
.mc-feesrow > span:not(.mi-t) { display: grid; margin-right: auto; } .mc-feesrow small { color: var(--dim); font-size: 11px; font-weight: 600; }
.mc-feesrow b { font: 700 14px "JetBrains Mono", monospace; } .mc-feesrow em { font: 500 11.5px Sora; color: var(--dim); font-style: normal; }
.mc-mine { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 700 11px Sora, sans-serif; color: #7a5200; background: linear-gradient(120deg, #ffd45c, #ffefb0); }
.mc-mine .mi { width: 13px; height: 13px; }
.mc-chip.mine { border-color: #f2b100; box-shadow: 0 0 0 2px rgba(242, 177, 0, 0.35), 0 4px 12px rgba(200, 140, 0, 0.3); }
.ma-fees { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, rgba(255, 201, 74, 0.16), rgba(255, 233, 163, 0.25)); border: 1px solid rgba(201, 138, 0, 0.3); }
.ma-fees span { color: var(--dim); font-size: 12px; font-weight: 600; margin-right: auto; }
.ma-fees b { font: 700 22px "JetBrains Mono", monospace; color: #8a5a00; } .ma-fees em { font-style: normal; color: var(--dim); font-size: 12px; }
.ma-split { font-size: 12px !important; color: var(--ink) !important; margin: 8px 0 0 !important; }
.ma[data-tab="fees"] .ma-tabs button.on { color: #b07800; }
.ma-tabs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .mc-walletb span { display: none; } .ma-tabs button > span:not(.mi-t) { font-size: 12px; } .ma-tabs button { gap: 4px; padding: 0 2px; } }
@media (max-width: 420px) { .ma-tabs button > span:not(.mi-t) { display: none; } }
.mc-my .mc-btn, .mc-feesrow .mc-btn { white-space: nowrap; flex: 0 0 auto; }

/* MC6 (2026-11-17): the empty-city banner, night */
.mc-emptyb { position: fixed; z-index: 2; left: 420px; right: 356px; bottom: calc(20px + var(--sa-b)); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px; background: var(--glass2); border: 1px solid var(--line2); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: mcIn 0.5s cubic-bezier(.2, .9, .3, 1.2); }
.mc-emptyb[hidden] { display: none; }
.mc-emptyb > div { display: grid; gap: 2px; flex: 1 1 220px; min-width: 0; }
.mc-emptyb b { font: 400 19px "Lilita One", Sora, sans-serif; background: var(--sol); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-emptyb span { font-size: 12.5px; color: var(--dim); }
.mc-emptyb .mi-t { width: 42px; height: 42px; border-radius: 13px; } .mc-emptyb .mi-t .mi { width: 24px; height: 24px; }
@media (max-width: 1099px) and (min-width: 761px) { body.mc-isempty .mc-how { display: none; } .mc-emptyb { left: var(--pad); } }
@media (max-width: 760px) { .mc-emptyb { left: var(--pad); right: var(--pad); bottom: auto; top: calc(152px + var(--sa-t)); padding: 11px 12px; gap: 8px 10px; } .mc-emptyb b { font-size: 16px; } .mc-emptyb span { font-size: 11.5px; } .mc-emptyb .mc-btn { flex: 1 1 auto; justify-content: center; } }
body.mc-driving .mc-emptyb { display: none; }
.mc-chip.empty { color: #6a2fd0; border: 1px dashed rgba(153, 69, 255, 0.55); background: rgba(255, 255, 255, 0.9); }
/* night: the words over the sky turn light */
html[data-sky="night"] .mc-brand p, html[data-sky="dusk"] .mc-brand p { color: #ffffff; text-shadow: 0 1px 6px rgba(20, 10, 60, 0.8); }
html[data-sky="night"] .mc-brand .mc-by, html[data-sky="dusk"] .mc-brand .mc-by { color: #e4dcff; text-shadow: 0 1px 4px rgba(20, 10, 60, 0.8); }
html[data-sky="night"] .mc-keys { color: #fff; text-shadow: 0 1px 4px #000; }

/* MC7 (2026-11-17): live trades ticker, other drivers, emotes */
.mc-ticker { position: fixed; z-index: 2; left: 420px; right: 356px; bottom: calc(18px + var(--sa-b)); display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.mc-ticker[hidden] { display: none; }
.mc-tk-h { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font: 700 10.5px Sora; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.mc-tk-h i { width: 7px; height: 7px; border-radius: 50%; background: #14f195; box-shadow: 0 0 8px #14f195; animation: mcPulse 1.6s ease-in-out infinite; }
.mc-tk-row { display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.mc-tk { all: unset; cursor: pointer; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font: 600 12px Sora; white-space: nowrap; background: rgba(20, 241, 149, 0.1); color: #0a8a57; }
.mc-tk.sell { background: rgba(255, 77, 109, 0.1); color: #c4264a; }
.mc-tk b { color: var(--ink); } .mc-tk span { color: inherit; } .mc-tk em { font-style: normal; color: var(--dim); font-size: 11px; }
.mc-tk.new { animation: mcTk 0.5s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes mcTk { from { transform: translateX(-24px) scale(0.85); opacity: 0; } }
body.mc-isempty .mc-ticker, body.mc-driving .mc-ticker { display: none; }
@media (max-width: 1099px) { .mc-ticker { left: var(--pad); } }
@media (max-width: 760px) { .mc-ticker { left: var(--pad); right: var(--pad); bottom: auto; top: calc(150px + var(--sa-t)); padding: 5px 6px 5px 10px; } .mc-tk-h span, .mc-tk-h { font-size: 0; gap: 0; } .mc-tk { font-size: 11.5px; } }
.mc-other { border-width: 2px; opacity: 0.92; }
.mc-emotes { position: fixed; z-index: 3; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(110px + var(--sa-b)); display: none; flex-direction: column; gap: 8px; }
body.mc-driving .mc-emotes { display: flex; }
.mc-emotes button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--glass2); color: #4b2fa8; font: 700 13px Sora; cursor: pointer; box-shadow: var(--shadow); }
.mc-emotes button:active { transform: scale(0.94); }
@media (min-width: 761px) { .mc-emotes { right: 356px; bottom: 24px; flex-direction: row; } body.mc-carded .mc-emotes { right: 412px; } }
@media (max-width: 760px) { .mc-emotes { bottom: calc(124px + var(--sa-b)); } .mc-emotes button span { display: none; } .mc-emotes button { width: 46px; justify-content: center; padding: 0; } }
.mc-drv { display: inline-flex; align-items: center; gap: 3px; margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: rgba(153, 69, 255, 0.12); color: #6a2fd0; font: 700 11px Sora; }
.mc-drv[hidden] { display: none; }
@media (min-width: 761px) { .mc-tools { flex-wrap: nowrap; } .mc-brand { flex: 1 1 auto; min-width: 0; } .mc-brand .mc-by { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; } .mc-brand .mc-by > span:last-child { overflow: hidden; text-overflow: ellipsis; } }
@media (min-width: 761px) and (max-width: 1180px) { .mc-walletb span { display: none; } }
.mc-fxl { z-index: 1; } /* rising pills and name tags pass under the panels, never over them */

/* MC8 (2026-11-17): the safety grade, daily quests */
.mc-safe { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 9px 11px; border-radius: 12px; background: rgba(90, 60, 190, 0.05); border: 1px solid var(--line); }
.mc-safe > div { display: grid; margin-right: auto; } .mc-safe b { font-size: 13px; } .mc-safe small { color: var(--dim); font-size: 11.5px; }
.mc-grade { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font: 400 22px "Lilita One", Sora, sans-serif; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 10px rgba(0, 0, 0, 0.12); }
.g-A .mc-grade, .mc-g.g-A { background: linear-gradient(140deg, #0bb871, #14f195); } .g-B .mc-grade, .mc-g.g-B { background: linear-gradient(140deg, #00a8e8, #19c8f0); }
.g-C .mc-grade, .mc-g.g-C { background: linear-gradient(140deg, #e8a000, #ffcf4a); } .g-D .mc-grade, .mc-g.g-D { background: linear-gradient(140deg, #ff7a2e, #ffa25c); } .g-F .mc-grade, .mc-g.g-F { background: linear-gradient(140deg, #e5395b, #ff6f86); }
.mc-safe .mc-btn.on { background: rgba(153, 69, 255, 0.14); }
.mc-safe-parts { list-style: none; margin: 6px 0 0; padding: 8px 10px; border-radius: 12px; background: rgba(90, 60, 190, 0.04); display: grid; gap: 5px; font-size: 12px; animation: mcIn 0.25s ease; }
.mc-safe-parts[hidden] { display: none; }
.mc-safe-parts li { display: grid; grid-template-columns: 1fr 90px 38px; gap: 8px; align-items: center; }
.mc-safe-parts i { display: block; height: 6px; border-radius: 4px; background: rgba(90, 60, 190, 0.1); overflow: hidden; } .mc-safe-parts em { display: block; height: 100%; background: var(--sol); border-radius: 4px; }
.mc-safe-parts b { font: 700 11px "JetBrains Mono", monospace; text-align: right; }
.mc-safe-parts li.fl { grid-template-columns: auto 1fr; color: #b4233f; } .mc-safe-parts li.note { display: block; color: var(--dim); font-size: 11px; }
.mc-g { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 5px; font: 400 11px "Lilita One", Sora, sans-serif; font-style: normal; color: #fff; vertical-align: 1px; }
.mc-tabs button { white-space: nowrap; } .mc-tabs button small { font: 700 10px Sora; color: #9945ff; }
.mc-tab-q { display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
#mc-coins .mc-q-h { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px; } #mc-coins .mc-q-h b { font: 400 17px "Lilita One", Sora; } #mc-coins .mc-q-h span { font-size: 11px; color: var(--dim); }
#mc-coins .mc-q { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(90, 60, 190, 0.04); }
#mc-coins .mc-q b { display: block; font-size: 13px; } #mc-coins .mc-q i { display: block; height: 6px; margin-top: 5px; border-radius: 4px; background: rgba(90, 60, 190, 0.1); overflow: hidden; } #mc-coins .mc-q i em { display: block; height: 100%; background: var(--sol); border-radius: 4px; transition: width 0.4s; }
#mc-coins .mc-q > em { font: 700 11.5px "JetBrains Mono", monospace; font-style: normal; color: var(--dim); }
#mc-coins .mc-q.done { background: rgba(20, 241, 149, 0.1); } #mc-coins .mc-q.done > em { color: #0a8a57; }
#mc-coins .mc-q-f { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 6px 2px; font-size: 12px; font-weight: 600; } .mc-q-t { color: #7a5200; }
#mc-coins .mc-q-n { padding: 0 6px 4px; font-size: 11px; color: var(--dim); }
.mc-drive .mc-me small { font-size: 10px; color: #7a5200; margin-left: 3px; }
@media (max-width: 760px) { .mc-tabs button { font-size: 11.5px; } }
#mc-snd.off { color: var(--dim); opacity: 0.8; }
.mc-launch { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1440px) { .mc-walletb span { display: none; } }
@media (max-width: 760px) { #mc-snd { display: none; } }
.mc-emotes .mc-snd2 { display: none; } @media (max-width: 760px) { .mc-emotes .mc-snd2 { display: inline-flex; } }
.mc-sndrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 8px 10px; border-radius: 12px; background: rgba(90, 60, 190, 0.05); font-size: 13px; }

/* MC9b (2026-11-17): the Staking Zone window + COIN RUSH */
.ms-coins { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; } .ms-coins::-webkit-scrollbar { display: none; } .ms-coins[hidden] { display: none; }
.ms-coins button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(90, 60, 190, 0.05); font: 700 12.5px Sora; color: var(--ink); cursor: pointer; }
.ms-coins button.on { border-color: #9945ff; background: rgba(153, 69, 255, 0.12); color: #4b2fa8; }
.ms-coins img, .ms-coins i { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font: 800 10px Sora; font-style: normal; color: #fff; background: var(--sol); }
.ml-wallet[hidden] { display: none; }
.ms-pool { margin: 4px 0 10px !important; padding: 9px 11px; border-radius: 12px; background: rgba(255, 201, 74, 0.14); border: 1px solid rgba(201, 138, 0, 0.3); color: var(--ink) !important; font-weight: 600; font-size: 12.5px !important; }
.ms-board { list-style: none; margin: 6px 0 8px; padding: 0; display: grid; gap: 4px; counter-reset: none; }
.ms-board li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(90, 60, 190, 0.05); font-size: 13px; }
.ms-board li b { font: 400 16px "Lilita One", Sora; color: #9945ff; } .ms-board li:nth-child(1) b { color: #d79a00; } .ms-board li span { font-family: "JetBrains Mono", monospace; font-size: 12px; } .ms-board li em { font-style: normal; font: 700 14px "JetBrains Mono", monospace; }
.ms-board li.me { background: rgba(20, 241, 149, 0.14); } .ms-board .ms-wait { display: block; color: var(--dim); }
.ms-ann { margin: 8px 0; padding: 8px 10px; border-radius: 12px; border: 1px dashed rgba(201, 138, 0, 0.5); } .ms-ann summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.ms-ann > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; align-items: end; } .ms-ann select { height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 8px; font: 600 13px Sora; } .ms-ann .mc-btn { grid-column: 1 / -1; justify-content: center; }
.ms-game { position: relative; }
.ms-game canvas { display: block; width: 100%; height: min(62vh, 520px); border-radius: 16px; touch-action: none; background: #efe8ff; box-shadow: inset 0 0 0 1px var(--line); }
.ms-hud { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; align-items: center; gap: 10px; pointer-events: none; font: 700 13px Sora; color: var(--ink); }
.ms-hud b { font: 400 22px "Lilita One", Sora; color: #6a2fd0; } .ms-hud i { flex: 1; height: 8px; border-radius: 6px; background: rgba(90, 60, 190, 0.15); overflow: hidden; } .ms-hud i em { display: block; height: 100%; background: var(--sol); transition: width 0.2s linear; }
.ms-how { margin: 6px 0 0 !important; text-align: center; font-size: 11.5px !important; }
.ms-over { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; border-radius: 16px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: mcIn 0.35s cubic-bezier(.2, .9, .3, 1.3); }
.ms-over b { font: 400 22px "Lilita One", Sora; color: var(--dim); } .ms-over strong { font: 400 46px "Lilita One", Sora; background: var(--sol); -webkit-background-clip: text; background-clip: text; color: transparent; } .ms-over span { font-size: 13px; color: var(--ink); font-weight: 600; }

/* Floor Defense (MEME CITY's launch split, the coin card's panel, the treasury's approvals) */
.ml-fd { margin: 8px 0 6px; padding: 11px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(153, 69, 255, 0.09), rgba(20, 241, 149, 0.08)); border: 1px solid rgba(153, 69, 255, 0.25); }
.ml-fd h4 { margin: 0 0 4px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ml-fd p { margin: 0 0 8px; font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.ml-split { margin-top: 8px; }
.ml-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 2px; }
.ml-bar i { display: block; transition: flex 0.35s ease; }
.ml-split ul { list-style: none; margin: 7px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 12px; font-size: 12px; }
.ml-split li { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.ml-split li i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.ml-split li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.ml-s-fdYou, .ml-split li.ml-s-fdYou i { background: #14c98a; }
.ml-s-fdFloor, .ml-split li.ml-s-fdFloor i { background: #9945ff; }
.ml-s-fdArc, .ml-split li.ml-s-fdArc i { background: #1d9fcf; }
.ml-s-fdStake, .ml-split li.ml-s-fdStake i { background: #f0a500; }
.ml-split li.ml-s-fdYou, .ml-split li.ml-s-fdFloor, .ml-split li.ml-s-fdArc, .ml-split li.ml-s-fdStake { background: none; }
.fd-box { margin: 10px 0; padding: 11px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(153, 69, 255, 0.08), rgba(20, 241, 149, 0.07)); border: 1px solid rgba(153, 69, 255, 0.22); }
.fd-box h4 { margin: 0 0 6px; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.fd-box h4 small { margin-left: auto; font-weight: 600; font-size: 11px; color: var(--dim); text-transform: none; letter-spacing: 0; text-align: right; }
.fd-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(20, 201, 138, 0.14); color: #0b8a5f; }
.fd-state.arm { background: rgba(153, 69, 255, 0.14); color: #7a2ee0; }
.fd-state.hot { background: rgba(255, 92, 92, 0.14); color: #d23b3b; }
.fd-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: fdPulse 1.6s infinite; }
@keyframes fdPulse { 50% { opacity: 0.25; } }
.fd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; }
.fd-tiles div { background: rgba(255, 255, 255, 0.7); border-radius: 10px; padding: 6px 8px; }
.fd-tiles small { display: block; font-size: 10.5px; color: var(--dim); }
.fd-tiles b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.fd-chart { width: 100%; height: 120px; display: block; border-radius: 10px; background: rgba(255, 255, 255, 0.6); }
.fd-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--dim); margin: 5px 0 0; }
.fd-legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.fd-math { margin-top: 8px; font-size: 12px; }
.fd-math summary { cursor: pointer; font-weight: 700; color: #7a2ee0; }
.fd-eq { font-family: "Cambria Math", "STIX Two Math", "Latin Modern Math", Georgia, serif; font-size: 13.5px; background: rgba(255, 255, 255, 0.75); border-radius: 10px; padding: 8px 10px; margin: 6px 0; line-height: 1.9; overflow-wrap: anywhere; }
.fd-eq em { font-style: italic; }
.fd-eq .v { color: #7a2ee0; font-weight: 700; font-style: normal; font-family: inherit; }
.fd-math p { margin: 4px 0; color: var(--dim); line-height: 1.45; }
.fd-buys { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; }
.fd-buys li { display: flex; gap: 8px; align-items: center; padding: 4px 0; border-top: 1px solid rgba(120, 100, 180, 0.12); }
.fd-buys li b { font-variant-numeric: tabular-nums; }
.fd-buys li a { margin-left: auto; color: #7a2ee0; }
.fd-honest { font-size: 11px; color: var(--dim); margin: 6px 0 0; }
.tr-row { padding: 9px 0; border-top: 1px solid rgba(120, 100, 180, 0.15); font-size: 12.5px; }
.tr-row b { font-variant-numeric: tabular-nums; }
.tr-row ol { margin: 4px 0; padding-left: 18px; }
.tr-row code { font-size: 11px; }
.tr-f { display: grid; gap: 6px; margin: 8px 0; }
.tr-f input { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(120, 100, 180, 0.3); font: inherit; }
html[data-sky="night"] .fd-tiles div, html[data-sky="night"] .fd-chart, html[data-sky="night"] .fd-eq { background: rgba(255, 255, 255, 0.85); }
