.mk-title {
font-family: 'Press Start 2P', monospace;
font-size: 20px;
line-height: 1.5;
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.mk-sub {
margin-top: 10px;
font-size: 15px;
opacity: 0.8;
}
.mk-h2 {
font-family: 'Press Start 2P', monospace;
font-size: 12px;
line-height: 1.6;
}
.mk-btn {
font-size: 10px;
padding: 10px 14px;
background: var(--stone);
}
.mk-btn-danger { background: #8A3A34; }
.mk-item-img {
image-rendering: pixelated;
display: block;
}
.mk-item-unknown {
display: grid;
place-items: center;
font-family: 'Press Start 2P', monospace;
font-size: 12px;
color: rgba(255, 246, 227, 0.5);
}
.mk-slot {
position: relative;
width: 44px;
height: 44px;
display: grid;
place-items: center;
background: var(--stone-dark);
border: 2px solid #1A1006;
box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.35), inset -2px -2px 0 rgba(255, 255, 255, 0.12);
}
.mk-slot.is-empty { background: rgba(67, 71, 76, 0.55); }
.mk-slot.is-editable { cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
.mk-slot.is-editable:hover { border-color: var(--gold); }
}
.mk-slot.is-magic::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(115deg, transparent 30%, rgba(200, 111, 232, 0.55) 50%, transparent 70%);
background-size: 260% 100%;
animation: mkGlint 3.2s linear infinite;
mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) {
.mk-slot.is-magic::after { animation: none; background-position: 50% 0; }
}
.mk-slot-count {
position: absolute;
right: 2px;
bottom: 0;
font-family: 'Press Start 2P', monospace;
font-size: 8px;
color: var(--cream);
text-shadow: 1px 1px 0 #1A1006, -1px 1px 0 #1A1006, 1px -1px 0 #1A1006, -1px -1px 0 #1A1006;
pointer-events: none;
}
.mk-slot-bar {
position: absolute;
left: 4px;
right: 4px;
bottom: 3px;
height: 3px;
background: #1A1006;
pointer-events: none;
}
.mk-slot-bar-fill { display: block; height: 100%; background: var(--grass); }
.mk-tip-name { font-weight: 700; }
.mk-tip-name.is-magic { color: var(--diamond); }
.mk-tip-name.is-renamed { font-style: italic; }
.mk-tip-sub { opacity: 0.6; font-size: 12px; }
.mk-tip-ench { color: #C6B7F0; font-size: 12px; }
.mk-tip-lore { color: rgba(255, 246, 227, 0.55); font-style: italic; font-size: 12px; }
.mk-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.mk-tag {
font-family: 'Press Start 2P', monospace;
font-size: 8px;
color: var(--cream);
text-decoration: none;
background: var(--deep-dark);
border: 2px solid #1A1006;
padding: 7px 9px;
opacity: 0.55;
}
.mk-tag.is-on { opacity: 1; background: var(--stone-dark); box-shadow: inset 0 -3px 0 var(--gold); }
.mk-tag.is-static { opacity: 1; background: var(--stone-dark); }
.mk-wall {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 14px;
margin-top: 18px;
}
.mk-card {
display: flex;
flex-direction: column;
gap: 10px;
padding: 14px;
color: var(--cream);
text-decoration: none;
background: var(--deep);
border: 3px solid #1A1006;
box-shadow: 0 5px 0 rgba(26, 16, 6, 0.5);
}
@media (hover: hover) and (pointer: fine) {
.mk-card:hover { filter: brightness(1.1); }
}
.mk-card-head { display: flex; align-items: center; gap: 10px; }
.mk-card-who { min-width: 0; }
.mk-card-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-card-owner { font-size: 13px; opacity: 0.7; }
.mk-card-time { font-size: 12px; opacity: 0.6; }
.mk-card-strip { display: flex; gap: 4px; overflow: hidden; }
.mk-card-empty { font-size: 13px; opacity: 0.5; align-self: center; }
.mk-card-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.mk-card-foot .mk-tags { margin-top: 0; }
.mk-card-foot .mk-card-time { margin-left: auto; }
.mk-shop {
display: grid;
grid-template-columns: auto 1fr;
gap: 24px;
align-items: start;
margin-top: 18px;
}
.mk-grid {
display: grid;
grid-template-columns: repeat(9, 44px);
grid-template-rows: repeat(var(--mk-rows, 3), 44px);
gap: 3px;
padding: 8px;
background: var(--deep-dark);
border: 3px solid #1A1006;
box-shadow: 0 6px 0 rgba(26, 16, 6, 0.5);
}
.mk-meta { display: flex; flex-direction: column; gap: 14px; }
.mk-meta-owner { display: flex; align-items: center; gap: 10px; }
.mk-meta-facts { display: flex; flex-direction: column; gap: 8px; }
.mk-note { font-size: 15px; }
.mk-warn {
font-size: 13px;
padding: 10px 12px;
background: rgba(247, 195, 37, 0.1);
border-left: 4px solid var(--gold);
}
.mk-own { margin-top: 18px; }
.mk-own-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-own-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mk-own-item {
display: flex;
flex-direction: column;
gap: 3px;
padding: 10px 12px;
color: var(--cream);
text-decoration: none;
background: var(--stone-dark);
border: 2px solid #1A1006;
}
@media (hover: hover) and (pointer: fine) {
.mk-own-item:hover { filter: brightness(1.15); }
}
.mk-own-title { font-weight: 700; font-size: 14px; }
.mk-own-meta { font-size: 12px; opacity: 0.6; }
.mk-owner { margin-top: 20px; }
.mk-owner-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mk-modal-back {
position: fixed;
inset: 0;
z-index: 70;
display: grid;
place-items: center;
padding: 16px;
background: rgba(20, 21, 25, 0.8);
}
.mk-modal {
display: flex;
flex-direction: column;
gap: 12px;
width: min(560px, 100%);
max-height: 82svh;
padding: 18px;
background: var(--deep);
border: 3px solid #1A1006;
box-shadow: 0 8px 0 rgba(26, 16, 6, 0.55);
}
.mk-modal-search {
padding: 11px 14px;
font-family: 'Rubik', sans-serif;
font-size: 15px;
color: var(--cream);
background: var(--stone-dark);
border: 3px solid #1A1006;
outline: none;
}
.mk-modal-search:focus { border-color: var(--gold); }
.mk-modal-search::placeholder { color: rgba(255, 246, 227, 0.45); }
.mk-modal-amount { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mk-modal-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
gap: 6px;
overflow-y: auto;
min-height: 120px;
}
.mk-modal-cell {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 8px 4px;
color: var(--cream);
background: var(--stone-dark);
border: 2px solid #1A1006;
cursor: pointer;
font: inherit;
}
@media (hover: hover) and (pointer: fine) {
.mk-modal-cell:hover { border-color: var(--gold); }
}
.mk-modal-cell-name {
font-size: 11px;
line-height: 1.25;
text-align: center;
opacity: 0.8;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
@media (max-width: 720px) {
.mk-shop { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
.mk-slot { width: 34px; height: 34px; }
.mk-grid { grid-template-columns: repeat(9, 34px); grid-template-rows: repeat(var(--mk-rows, 3), 34px); }
.mk-title { font-size: 15px; }
}
.mk-chat-area { margin-top: 20px; }
.mk-chat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.mk-chat { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mk-chat-title { font-size: 14px; font-weight: 700; }
.mk-chat-feed {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 340px;
overflow-y: auto;
padding: 12px;
background: var(--deep-dark);
border: 3px solid #1A1006;
}
.mk-msg {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 4px 8px;
align-items: baseline;
padding: 8px 10px;
background: var(--stone-dark);
border-left: 3px solid var(--stone);
font-size: 14px;
line-height: 1.45;
}
.mk-msg.is-mine { border-left-color: var(--grass); }
.mk-msg.is-system {
grid-template-columns: 1fr auto;
border-left-color: var(--gold);
background: rgba(247, 195, 37, 0.08);
font-style: italic;
}
.mk-msg-who { font-weight: 700; font-size: 13px; opacity: 0.75; }
.mk-msg-body { overflow-wrap: anywhere; }
.mk-msg-time { font-size: 11px; opacity: 0.5; white-space: nowrap; }
.mk-chat-form { display: flex; gap: 8px; }
.mk-chat-form .mk-modal-search { flex: 1; min-width: 0; }
.mk-badge {
display: inline-block;
margin-left: 6px;
padding: 2px 6px;
font-family: 'Press Start 2P', monospace;
font-size: 8px;
color: var(--ink);
background: var(--gold);
vertical-align: middle;
}
.mk-chat-item-head { display: flex; align-items: center; gap: 4px; }
.mk-chat-item-last {
font-size: 12px;
opacity: 0.55;
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (max-width: 480px) {
.mk-chat-form { flex-direction: column; }
.mk-msg { grid-template-columns: 1fr; }
.mk-msg-time { justify-self: end; }
}
.mk-lots,
.mk-lot-list,
.mk-deal-list { margin-top: 12px; }
.mk-lot-list,
.mk-deal-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.mk-lot,
.mk-deal {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
background: var(--stone-dark);
border: 3px solid #1A1006;
border-left-width: 6px;
border-left-color: var(--grass);
}
.mk-lot.is-stale,
.mk-deal.is-dispute { border-left-color: var(--redstone); }
.mk-lot.is-reserved,
.mk-deal.is-new { border-left-color: var(--gold); }
.mk-lot.is-sold,
.mk-deal.is-done { border-left-color: var(--stone); opacity: 0.75; }
.mk-deal.is-accepted { border-left-color: var(--diamond); }
.mk-lot-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mk-lot-title { font-weight: 700; }
.mk-lot-price { margin-left: auto; font-family: 'Press Start 2P', monospace; font-size: 10px; color: var(--gold); }
.mk-lot-pay { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: 0.85; }
.mk-lot .mk-warn,
.mk-deal .mk-warn { font-size: 12px; }
.mk-slot.is-lot { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.mk-slot.is-picked { border-color: var(--diamond); box-shadow: 0 0 0 2px var(--diamond); }
.mk-rep { display: block; font-size: 12px; opacity: 0.7; }
.mk-rep.is-bad { color: var(--redstone); opacity: 1; }
.mk-report {
align-self: flex-start;
padding: 0;
background: none;
border: 0;
color: rgba(255, 246, 227, 0.5);
font: inherit;
font-size: 12px;
text-decoration: underline dotted;
cursor: pointer;
}
.mk-report:hover { color: var(--redstone); }
.mk-cta {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-top: 14px;
}
.mk-cta-main { background: var(--grass-dark); }
.mk-cta-note { font-size: 13px; opacity: 0.7; }
.mk-stock { margin-top: 18px; }
.mk-stock-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 6px;
margin-top: 12px;
}
.mk-stock-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
background: var(--stone-dark);
border: 2px solid #1A1006;
}
.mk-stock-name {
font-size: 13px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mk-stock-count {
margin-left: auto;
font-family: 'Press Start 2P', monospace;
font-size: 9px;
color: var(--gold);
white-space: nowrap;
}
.mk-card-more {
align-self: center;
padding: 0 6px;
font-family: 'Press Start 2P', monospace;
font-size: 9px;
opacity: 0.6;
}
@media (max-width: 720px) {
.mk-grid {
grid-template-columns: repeat(9, minmax(0, 1fr));
grid-template-rows: none;
grid-auto-rows: 1fr;
}
.mk-slot { width: auto; height: auto; aspect-ratio: 1; }
}
@media (max-width: 720px) {
.mk-modal-back {
align-items: end;
justify-items: stretch;
padding: 0;
overflow-y: auto;
}
.mk-modal {
width: 100%;
max-width: none;
max-height: 88svh;
overflow-y: auto;
overscroll-behavior: contain;
padding: 22px 18px calc(20px + var(--safe-b));
border-width: 3px 0 0;
scale: 1;
translate: 0 100%;
transition: translate 0.18s ease;
}
.mk-modal-back.is-open .mk-modal { translate: 0 0; }
}
@media (max-width: 720px) {
.mk-modal { translate: 0 0; }
}