.mx-md-box { width: min(1200px, 96vw); max-height: 92vh; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mx-md-fej { display: flex; align-items: center; gap: 10px; }
.mx-md-cim { margin: 0; flex: 1; display: flex; align-items: center; gap: 8px; }
.mx-md-cim .icon-img { width: 30px; height: 30px; }
.mx-md-urlap { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; padding: 10px 12px; border: 1px solid var(--border, #b8975a); border-radius: 8px; background: color-mix(in srgb, var(--panel, #fff) 90%, transparent); }
.mx-md-urlap.hidden { display: none; }
.mx-md-urlap label { display: flex; flex-direction: column; gap: 3px; font-size: .85rem; }
.mx-md-allapot { font-size: .85rem; min-width: 8rem; }
.mx-md-sugo { flex-basis: 100%; font-size: .75rem; opacity: .75; }
.mx-md-fulek { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-md-ful { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 5px; border-radius: 8px; cursor: pointer;
  font-family: var(--font-display, serif); font-size: .9rem; letter-spacing: .02em; color: #3b2410;
  border: 1px solid #a07a44; background: linear-gradient(180deg, #f8edd4, #e8d2a4);
  box-shadow: inset 0 1px 0 rgba(255, 250, 235, .8), inset 0 -2px 4px rgba(120, 80, 30, .18), 0 2px 4px rgba(0, 0, 0, .18);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.mx-md-ful:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 250, 235, .8), 0 4px 8px rgba(0, 0, 0, .25); }
.mx-md-ful.on { color: #f8ecd2; border-color: #d4a84b; background: linear-gradient(180deg, #8e2a22, #5e1712);
  box-shadow: inset 0 1px 0 rgba(255, 200, 150, .35), 0 0 0 1px rgba(212, 168, 75, .5), 0 3px 8px rgba(0, 0, 0, .35); }
.mx-md-ful.ures { opacity: .55; }
.mx-md-fulik { width: 24px; height: 24px; object-fit: contain; }
.mx-md-db { min-width: 1.6em; padding: 0 6px; border-radius: 999px; font-family: system-ui, sans-serif; font-size: .7rem; line-height: 1.6; text-align: center;
  background: rgba(59, 36, 16, .12); border: 1px solid rgba(160, 122, 68, .5); }
.mx-md-ful.on .mx-md-db { background: rgba(255, 230, 190, .18); border-color: rgba(212, 168, 75, .7); color: #ffe8b8; }
.mx-md-racs { flex: 1 1 auto; min-height: 0; grid-auto-rows: max-content; align-content: start; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 2px 2px 8px; }
.mx-md-kartya { position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #1b120a; border: 1px solid rgba(184, 151, 90, .6); box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.mx-md-kep { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #120c07; }
.mx-md-al { padding: 6px 9px 8px; color: #f3e6c8; }
.mx-md-kcim { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-md-meta { font-size: .72rem; opacity: .75; }
.mx-md-jel { position: absolute; left: 8px; top: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .72rem; pointer-events: none; }
.mx-md-torol { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.mx-md-ures { grid-column: 1 / -1; padding: 30px; text-align: center; opacity: .8; }
.mx-md-ov.valaszto .mx-md-kartya { cursor: pointer; outline: 2px dashed transparent; }
.mx-md-ov.valaszto .mx-md-kartya:hover { outline-color: var(--accent, #d4a84b); }
.mx-md-lb { position: fixed; inset: 0; z-index: 9500; background: rgba(0, 0, 0, .9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.mx-md-lb img, .mx-md-lb video { max-width: 100%; max-height: calc(100vh - 80px); object-fit: contain; border-radius: 6px; }
.mx-md-lbcim { color: #f3e6c8; font-size: .95rem; }
.mx-md-lbx { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d4a84b; background: rgba(20, 12, 6, .8); color: #f3e6c8; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 560px) { .mx-md-racs { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.mx-md-tovabb { grid-column: 1 / -1; height: 20px; }
.mx-md-box { position: relative; }
.mx-md-le { font-size: .75rem; opacity: .75; margin-left: -2px; }
.mx-md-menu { position: absolute; z-index: 50; min-width: 240px; max-height: 60vh; overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 3px; border-radius: 8px;
  border: 1px solid #8a6533; background: url(/static/brand/arculat_konyv_lap_pergamen_v2.jpg) center / cover, #efdfb8;
  box-shadow: inset 0 0 14px rgba(110, 70, 25, .4), 0 10px 26px rgba(0, 0, 0, .45); }
.mx-md-menupont { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 9px; border-radius: 6px; border: 1px solid transparent;
  background: transparent; color: #3b2410; cursor: pointer; font-family: var(--font-display, serif); font-size: .9rem; text-align: left; }
.mx-md-menupont:hover { background: rgba(255, 248, 228, .6); border-color: rgba(138, 101, 51, .5); }
.mx-md-menupont.on { background: linear-gradient(180deg, #8e2a22, #5e1712); color: #f8ecd2; border-color: #d4a84b; }
.mx-md-menupont.on .mx-md-db { color: #ffe8b8; border-color: rgba(212, 168, 75, .7); background: rgba(255, 230, 190, .18); }
