/*
 * A Multi Cam oldal stilusa (multi-cam, 2026-09-26). A kinezet forrasa a jovahagyott prototipus
 * (plans/MULTI-prototipus.html). A style.css-hez nem nyulunk (CLAUDE.md): a meglevo osztalyok (.redboxcontainer,
 * .redboxheader, .redbox, .cjselect, .submitbutton, .performerbutton) adjak az alapot, ez a fajl csak az oldal
 * sajat elemeit, es azt, amiben a regi, fix szelessegu stilus itt nem jo.
 *
 * Mobil (700 keppont alatt): legfeljebb 2 oszlop, a vezerlok ket oszlopba, a gombok ket sorba; a csempe kitolti
 * a szelesseget. EGY HTML megy ki minden eszkozre - a szoveg ugyanaz, csak az elrendezes mas.
 */

/* A felso margo es a racs folotti hezag szuk (4 es 6 keppont): Full HD-n igy a 2 x 2-es Extra Large fal (620 px-es
   csempek) az also BIO PAGE savval egyutt egy kepernyon van (a fenntarto kerese, 2026-09-26). */
.mc-wrap { display: block; width: 1240px; max-width: calc(100% - 20px); margin: 4px auto 0; }
.mc-wrap > .redboxcontainer { width: 100%; }

/* A morzsamenu a H1-gyel: a hosszu H1 mobilon ket sorba torhet (a style.css fix 28 px-es magassaga helyett). */
.mc-wrap .redboxheader.mc-morzsa { display: block; height: auto; min-height: 28px; box-sizing: border-box; padding: 2px 8px; }
.mc-wrap .mc-morzsa h1 { display: inline; }

/* ---- A vezerlosav ---- */
.mc-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; justify-content: center; }
.mc-ctrl label { font-size: 10px; font-weight: bold; color: #fc0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mc-ctrl .cjselect { height: 20px; font: 10px Verdana, Tahoma, Arial, sans-serif; }
.mc-ctrl .cjselect option:disabled { color: #777; }
.mc-wrap .submitbutton { padding: 2px 8px; height: 20px; cursor: pointer; }
.mc-wrap .submitbutton:disabled { opacity: .4; cursor: default; }
.mc-wrap .submitbutton.fo { background: linear-gradient(#ffd84d, #e0a800); color: #600; border-color: #fff2a8; padding: 2px 14px; }
.mc-wrap .submitbutton:focus-visible, .mc-wrap .cjselect:focus-visible, .mc-foot button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.mc-x { color: #fc0; font-weight: bold; font-size: 10px; }
.mc-sep { width: 1px; height: 18px; background: #5a0000; box-shadow: 1px 0 0 #d33; }
.mc-gombok { display: contents; }

/* ---- Az AdBlock-doboz (a chat oldal lapos valtozata, partial/adblock-figyelmeztetes): a chat oldalon egy
   negativ margoval a morzsamenu alatti hezagba csuszik; itt nincs ilyen hezag, a vezerlosavra takarna ----- */
.mc-wrap .figyelmezteto--lapos .redboxcontainer { margin-top: 6px; }

/* ---- A racs es a csempek ---- */
.mc-grid { --cols: 2; --tw: 320px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, var(--tw)));
    justify-content: center; gap: 6px; margin: 6px 0 10px; }
.mc-grid.l { --tw: 450px; }
/* Extra Large (a fenntarto kerese, 2026-09-26): Full HD monitoron 2-3 nagy csempe. A csempe 620 px; CSAK a racs
   szelesedik ki az 1240-es savbol (legfeljebb 1880 px-ig, kozepre), a morzsamenu es a vezerlosav doboza a helyen
   marad (a fenntarto eszrevette: ha az egesz sav szelesedett, a doboz szetesett). Kisebb kepernyon a racs a
   kepernyo szelessegehez zsugorodik, a csempek vele (minmax 0). */
.mc-grid.xl { --tw: 620px; width: 1880px; max-width: calc(100vw - 40px); margin-left: calc((100% - min(1880px, 100vw - 40px)) / 2); }
/* Full Size (a fenntarto kerese, 2026-09-26): egyetlen csempe, akkora, mint a chat oldal lejatszoja (960 x 540).
   Csak desktopon - mobilon a meretvalaszto rejtett, a csempe ott mindig teljes szelessegu. */
.mc-grid.full { --tw: 970px; } /* a keret es a margo utan a video pontosan 960 x 540 */

.mc-tile { border-top: 1px solid #fe3e3d; border-left: 1px solid #fe3e3d; border-right: 1px solid #000; border-bottom: 1px solid #000;
    box-shadow: 1px 1px 8px #600000, -1px -1px 8px #600000; background: linear-gradient(#b90609, #720201); min-width: 0; text-align: center; }
.mc-tile.pinned { border-color: #fc0; box-shadow: 0 0 0 1px #fc0, 1px 1px 8px #600000; }
.mc-head { min-height: 22px; line-height: 21px; font-size: 11px; font-weight: bold; padding: 0 6px; display: flex; gap: 6px;
    /* Kozos alapvonal (nem kozep): a 11 px-es nev es a 9 px-es kategoria / ertekeles betuinek alja egy vonalban
       (a fenntarto eszrevette, hogy kozepre igazitva a kisebbek "lebegtek"). */
    align-items: baseline; justify-content: center; background: linear-gradient(#940000, #650101); border-bottom: 1px solid #fe3e3d;
    white-space: nowrap; overflow: hidden; }
.mc-head a { color: #fc0; overflow: hidden; text-overflow: ellipsis; }
.mc-head a.kat { font-size: 9px; font-weight: normal; flex: none; }
.mc-head a:hover { text-decoration: underline; }
.mc-head .rt { font-size: 9px; color: #f0c0c0; font-weight: normal; flex: none; }
.mc-head .tartva { font-size: 8px; background: #fc0; color: #700; padding: 0 3px; border-radius: 2px; line-height: 11px; flex: none; }

.mc-video { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; margin: 0 4px;
    border-top: 1px solid #000; border-left: 1px solid #000; border-right: 1px solid #fe3e3d; border-bottom: 1px solid #fe3e3d; }
.mc-video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; display: block; }
.mc-ures { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 10px; font-size: 11px; color: #f0c0c0; background: #3a0000; }

.mc-foot { display: flex; justify-content: space-between; padding: 3px 10px; }
.mc-foot button { background: none; border: 0; cursor: pointer; width: 34px; height: 26px; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 3px; padding: 0; }
.mc-foot button:hover { background: rgba(0, 0, 0, .25); }
.mc-foot svg { width: 16px; height: 16px; }
.mc-foot .pin svg { stroke: #e8b0b0; }
.mc-foot .pin[aria-pressed="true"] svg { stroke: #5dff6e; stroke-width: 3.2; }
.mc-foot .swap svg { stroke: #fc0; }
.mc-foot .del svg { stroke: #ff6d6d; }

/* A BIO PAGE sav: a listakartyak gombja (.performerbutton), teljes szelessegben. */
.mc-biosav { display: block; margin: 0 4px 4px; }
.mc-biosav .performerbutton { display: block; width: 100%; text-align: center; font-weight: bold; }
.mc-biosav:hover .performerbutton { background: linear-gradient(#d40a09, #7d0201); }

.mc-intro { max-width: 760px; margin: 0 auto; color: #f0c0c0; line-height: 1.5; padding: 0 6px; }

/* ---- A hasznalati utmutato (partial/multi-cam-utmutato.html) ---- */
.mc-wrap .mc-utmutato { display: block; width: 100%; max-width: 900px; margin: 18px auto 0; text-align: left; }
.mc-utmutato .redboxheader { display: block; height: auto; min-height: 28px; box-sizing: border-box; }
.mc-utmutato .redbox { display: block; box-sizing: border-box; font-size: 11px; line-height: 1.55; padding: 10px 16px 12px; }
.mc-utmutato h3 { font-size: 12px; color: #fc0; margin: 14px 0 4px; font-variant: small-caps; font-weight: bold; }
.mc-utmutato p { margin: 6px 0; }
.mc-utmutato dl { margin: 4px 0; display: grid; grid-template-columns: 150px 1fr; gap: 5px 12px; }
.mc-utmutato dt { font-weight: bold; color: #fff; }
.mc-utmutato dd { margin: 0; color: #f6dede; }
.mc-utmutato ul { margin: 4px 0; padding-left: 18px; color: #f6dede; }
.mc-utmutato li { margin: 3px 0; }

/* ---- A History ablaka ---- */
.mc-modal { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .7); z-index: 70; display: flex;
    align-items: flex-start; justify-content: center; padding: 30px 12px; box-sizing: border-box; }
.mc-modal[hidden] { display: none; }
.mc-modal-box { width: 900px; max-width: 100%; max-height: calc(100vh - 60px); display: flex; flex-direction: column;
    border-top: 1px solid #fe3e3d; border-left: 1px solid #fe3e3d; border-right: 1px solid #400000; border-bottom: 1px solid #400000;
    background: #720201; box-shadow: 0 0 30px #000; text-align: left; }
.mc-modal-box .redboxheader { display: flex; justify-content: space-between; align-items: center; height: auto; min-height: 28px; box-sizing: border-box; }
.mc-bezar { background: none; border: 1px solid #fc0; color: #fc0; width: 22px; height: 22px; border-radius: 50%;
    cursor: pointer; font: bold 12px Verdana, sans-serif; line-height: 18px; padding: 0; }
.mc-modal-body { overflow: auto; padding: 10px; background: linear-gradient(#b90609, #720201); }
.mc-lapozo { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 10px; }
.mc-lapozo[hidden] { display: none; }
.mc-lapozo--also { margin: 4px 0 0; }
.mc-hist { margin: 0 auto 14px; max-width: 640px; border: 1px solid #400000; box-shadow: 1px 1px 8px #600000; }
.mc-hist-fej { background: linear-gradient(#940000, #650101); border-bottom: 1px solid #fe3e3d; padding: 3px 8px; display: flex;
    justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; font-weight: bold; color: #fc0; }
.mc-hist-racs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; padding: 8px; background: #5a0000; }
.mc-thumb { font-size: 10px; text-align: center; }
.mc-thumb .kep { aspect-ratio: 4 / 3; border: 1px solid #000; border-bottom-color: #fe3e3d; border-right-color: #fe3e3d;
    background-size: cover; background-position: center; background-color: #111; }
.mc-thumb a { display: inline-block; margin-top: 3px; }
.mc-ures-hist { text-align: center; color: #f0c0c0; font-size: 11px; padding: 20px; }

/* ---- Mobil ---- */
@media (max-width: 700px) {
    .mc-wrap { width: auto; max-width: none; margin: 8px 6px 0; }
    .mc-grid.xl { width: auto; max-width: none; margin-left: 0; }
    .mc-wrap > .redboxcontainer, .mc-wrap .mc-utmutato { width: 100%; }
    .mc-ctrl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .mc-ctrl label { justify-content: space-between; }
    .mc-ctrl .cjselect { height: 30px; font-size: 12px; flex: 1; min-width: 0; }
    .mc-ctrl .mc-racs-valaszto { grid-column: 1 / -1; justify-content: flex-start; }
    .mc-ctrl .mc-meret, .mc-ctrl .mc-sep { display: none; }
    .mc-gombok { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
    .mc-gombok .submitbutton { grid-column: span 2; }
    .mc-gombok #b-refresh, .mc-gombok #b-reset { grid-column: span 3; }
    .mc-wrap .submitbutton { height: 34px; font-size: 11px; padding: 2px 4px; }
    .mc-grid, .mc-grid.l, .mc-grid.xl, .mc-grid.full { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px; }
    .mc-head { font-size: 10px; flex-wrap: wrap; row-gap: 0; line-height: 15px; padding: 3px 4px; white-space: normal; }
    .mc-head a.mc-nev { max-width: 100%; white-space: nowrap; flex: none; }
    .mc-foot { padding: 2px 4px; }
    .mc-foot button { width: 40px; height: 34px; }
    .mc-biosav .performerbutton { height: 30px; line-height: 28px; font-size: 10px; }
    .mc-utmutato .redbox { padding: 8px 10px 10px; }
    .mc-utmutato dl { grid-template-columns: 1fr; gap: 1px; }
    .mc-utmutato dd { margin-bottom: 6px; }
    .mc-modal { padding: 10px 6px; }
    /* A History lapozoja mobilon (a fenntarto kerese, 2026-09-26): teljes szelessegu sor, 40 px magas, ujjal
       jol eltalalhato elemekkel; a lenyilo nagyobb betuvel. */
    .mc-lapozo { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; }
    .mc-lapozo .submitbutton { height: 40px; font-size: 12px; padding: 0 4px; }
    .mc-lapozo .cjselect { height: 40px; font-size: 13px; width: 100%; min-width: 0; }
    .mc-bezar { width: 34px; height: 34px; font-size: 16px; line-height: 30px; }
    .mc-hist-fej .submitbutton { height: 34px; }
    .mc-hist-racs { grid-template-columns: 1fr 1fr; }
}
