/* JulianMC V86 — globalne ustawienia wyglądu */
.jmc-settings-slot{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.jmc-settings-button{appearance:none;width:40px;height:40px;padding:0;display:grid;place-items:center;border:1px solid #39546e;background:#101d2d;color:#dcebf5;box-shadow:inset 0 -3px 0 rgba(0,0,0,.24),3px 3px 0 rgba(0,0,0,.28);cursor:pointer;transition:transform .12s ease,background .15s ease,border-color .15s ease,color .15s ease;border-radius:10px}
.jmc-settings-button:hover{background:#17283d;border-color:#5c7b98;color:#fff}.jmc-settings-button:active{transform:scale(.96)}
.jmc-settings-button svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.jmc-settings-button[aria-expanded="true"]{background:#1c4f7d;border-color:#5eb8ff;color:#fff}
.jmc-settings-popover{position:absolute;z-index:9999;right:0;top:calc(100% + 10px);width:245px;padding:8px;border:1px solid #314b64;background:rgba(8,18,31,.98);box-shadow:0 18px 48px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.025);border-radius:14px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.jmc-settings-popover[hidden]{display:none!important}.jmc-settings-title{padding:8px 10px 9px;color:#8fa7bc;font-size:.58rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.jmc-settings-choice{appearance:none;width:100%;min-height:46px;border:0;background:transparent;color:#eaf4fb;display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:9px;padding:6px 8px;border-radius:10px;text-align:left;cursor:pointer;font:inherit}
.jmc-settings-choice:hover{background:#11263b}.jmc-settings-choice.active{background:#15314a}.jmc-settings-choice-icon{width:30px;height:30px;border:1px solid #35536e;border-radius:9px;display:grid;place-items:center;background:#07111d;font-size:15px;line-height:1}.jmc-settings-choice-copy{min-width:0;display:grid;gap:2px}.jmc-settings-choice-copy strong{font-size:.75rem;color:inherit}.jmc-settings-choice-copy small{font-size:.58rem;color:#71899e;white-space:normal;line-height:1.25}.jmc-settings-check{font-size:15px;font-weight:1000;color:#62bdff;text-align:center;opacity:0}.jmc-settings-choice.active .jmc-settings-check{opacity:1}

/* Tryb jasny JulianMC — nie jest stylem NameMC. */
html[data-jmc-theme="light"]{color-scheme:light!important;--bg:#f4f7fa;--bg-2:#eaf0f5;--panel:#ffffff;--panel-2:#f6f9fb;--panel-3:#eef4f8;--line:#c7d4df;--line-soft:#dde6ed;--text:#182531;--muted:#647789;--muted-2:#8293a2;--green:#2f78c4;--green-2:#1d5f9f;--green-3:#e7f2fb;--lime:#2678b9;--gold:#166fae;--shadow:rgba(40,62,80,.12)}
html[data-jmc-theme="light"] body{color:#182531!important;background:radial-gradient(circle at 15% -10%,rgba(74,151,211,.13),transparent 34%),linear-gradient(180deg,#f8fbfd 0%,#eef4f8 50%,#f6f9fb 100%)!important}
html[data-jmc-theme="light"] body::before{opacity:.22!important;background-image:linear-gradient(rgba(38,80,115,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(38,80,115,.06) 1px,transparent 1px)!important}
html[data-jmc-theme="light"] body::after{background:radial-gradient(circle at center,transparent 48%,rgba(72,99,121,.09) 100%)!important}
html[data-jmc-theme="light"] .world{opacity:.28}
html[data-jmc-theme="light"] nav,html[data-jmc-theme="light"] .head{border-color:#cad7e1!important}
html[data-jmc-theme="light"] .brand,html[data-jmc-theme="light"] h1,html[data-jmc-theme="light"] h2,html[data-jmc-theme="light"] h3,html[data-jmc-theme="light"] .title{color:#142431!important}
html[data-jmc-theme="light"] .section,html[data-jmc-theme="light"] .card,html[data-jmc-theme="light"] .step,html[data-jmc-theme="light"] .faq,html[data-jmc-theme="light"] .form-panel,html[data-jmc-theme="light"] .form-side,html[data-jmc-theme="light"] .showcase,html[data-jmc-theme="light"] .ip-panel,html[data-jmc-theme="light"] .jmc-skin-wrap,html[data-jmc-theme="light"] .jmc-skin-card,html[data-jmc-theme="light"] .jmc-gallery,html[data-jmc-theme="light"] .jmc-capes,html[data-jmc-theme="light"] .jmc-head-give,html[data-jmc-theme="light"] .jmc-current-skin,html[data-jmc-theme="light"] .jmc-top-skins-wrap,html[data-jmc-theme="light"] .top-card,html[data-jmc-theme="light"] .modal-card{background:#fff!important;border-color:#cbd8e2!important;box-shadow:0 8px 24px rgba(57,86,108,.08)!important}
html[data-jmc-theme="light"] .jmc-edition-bar,html[data-jmc-theme="light"] .jmc-skin-card-title,html[data-jmc-theme="light"] .jmc-gallery-head,html[data-jmc-theme="light"] .jmc-cape-head,html[data-jmc-theme="light"] .jmc-model-switch-row,html[data-jmc-theme="light"] .jmc-skin-tools,html[data-jmc-theme="light"] .jmc-head-give-head,html[data-jmc-theme="light"] .top-toolbar,html[data-jmc-theme="light"] .preview,html[data-jmc-theme="light"] .meta{background:#f7fafc!important;border-color:#d7e1e9!important}
html[data-jmc-theme="light"] .btn,html[data-jmc-theme="light"] button:not(.copy):not(.jmc-settings-choice):not(.jmc-settings-button){border-color:#b8c8d5;color:#29465d;background:#f7fafc;box-shadow:inset 0 -3px 0 rgba(40,70,92,.08),2px 2px 0 rgba(45,74,96,.08)}
html[data-jmc-theme="light"] .btn:hover,html[data-jmc-theme="light"] button:not(.copy):not(.jmc-settings-choice):not(.jmc-settings-button):hover{background:#eef5fa}
html[data-jmc-theme="light"] .btn.green,html[data-jmc-theme="light"] .btn.active,html[data-jmc-theme="light"] .btn.primary,html[data-jmc-theme="light"] button.primary,html[data-jmc-theme="light"] a.primary{background:#2f78c4!important;border-color:#2367aa!important;color:#fff!important}
html[data-jmc-theme="light"] input,html[data-jmc-theme="light"] select,html[data-jmc-theme="light"] textarea{background:#fff!important;color:#1d2c38!important;border-color:#bfcfdb!important}
html[data-jmc-theme="light"] .jmc-profile-row,html[data-jmc-theme="light"] .jmc-gallery-card,html[data-jmc-theme="light"] .jmc-cape-card{border-color:#dce5ec!important}
html[data-jmc-theme="light"] .jmc-key,html[data-jmc-theme="light"] .jmc-gallery-subtitle,html[data-jmc-theme="light"] .jmc-gallery-note,html[data-jmc-theme="light"] .status,html[data-jmc-theme="light"] .section-head p,html[data-jmc-theme="light"] .hero-lead,html[data-jmc-theme="light"] .note,html[data-jmc-theme="light"] .sub{color:#687d8e!important}
html[data-jmc-theme="light"] .jmc-value,html[data-jmc-theme="light"] .name,html[data-jmc-theme="light"] .modal-title{color:#1f3343!important}
html[data-jmc-theme="light"] .preview::before,html[data-jmc-theme="light"] .head-box,html[data-jmc-theme="light"] .head-box .head-img,html[data-jmc-theme="light"] .viewer-wrap{background:#edf4f8!important;border-color:#d1dde6!important}
html[data-jmc-theme="light"] footer{color:#6d8293!important;border-color:#d5e0e8!important}
html[data-jmc-theme="light"] .map{background:#edf3f7!important;border-color:#c7d4df!important;box-shadow:0 4px 18px rgba(50,82,105,.1)!important}
html[data-jmc-theme="light"] .head{background:#fff!important;color:#1d2c38!important;box-shadow:0 3px 16px rgba(45,74,96,.08)}
html[data-jmc-theme="light"] .controls label{color:#657b8c!important}html[data-jmc-theme="light"] .controls input{background:#fff!important;color:#1d2c38!important;border-color:#bfcfdb!important}
html[data-jmc-theme="light"] .map-reset,html[data-jmc-theme="light"] .controls button{background:#f6f9fb!important;color:#29465d!important;border-color:#b8c8d5!important}
html[data-jmc-theme="light"] .controls .map-primary{background:#2f78c4!important;color:#fff!important;border-color:#2367aa!important}

/* Menu ustawień w trybach jasnych. */
html[data-jmc-theme="light"] .jmc-settings-button{background:#fff;color:#304b60;border-color:#b9c9d6;box-shadow:0 2px 7px rgba(45,70,90,.12)}
html[data-jmc-theme="light"] .jmc-settings-button:hover,html[data-jmc-theme="light"] .jmc-settings-button[aria-expanded="true"]{background:#eef5fa;color:#155e99;border-color:#78a9cf}
html[data-jmc-theme="light"] .jmc-settings-popover{background:rgba(255,255,255,.98);border-color:#c9d6df;box-shadow:0 18px 45px rgba(38,60,78,.18)}
html[data-jmc-theme="light"] .jmc-settings-title{color:#708698}html[data-jmc-theme="light"] .jmc-settings-choice{color:#253a4a}html[data-jmc-theme="light"] .jmc-settings-choice:hover{background:#eef5fa}html[data-jmc-theme="light"] .jmc-settings-choice.active{background:#e3f0f9}html[data-jmc-theme="light"] .jmc-settings-choice-icon{background:#f7fafc;border-color:#c6d5df}html[data-jmc-theme="light"] .jmc-settings-choice-copy small{color:#718596}
html[data-jmc-theme="namemc"] .jmc-settings-button{background:#fff;color:#343a40;border-color:#fff;box-shadow:none;border-radius:6px}
html[data-jmc-theme="namemc"] .jmc-settings-button:hover,html[data-jmc-theme="namemc"] .jmc-settings-button[aria-expanded="true"]{background:#eef0f2;color:#202428;border-color:#eef0f2}
html[data-jmc-theme="namemc"] .jmc-settings-popover{background:#fff;border-color:#d2d7dc;box-shadow:0 12px 32px rgba(0,0,0,.18);border-radius:6px}
html[data-jmc-theme="namemc"] .jmc-settings-title{color:#737c84}html[data-jmc-theme="namemc"] .jmc-settings-choice{color:#343a40;border-radius:4px}html[data-jmc-theme="namemc"] .jmc-settings-choice:hover{background:#f1f3f4}html[data-jmc-theme="namemc"] .jmc-settings-choice.active{background:#eaf5e5}html[data-jmc-theme="namemc"] .jmc-settings-choice-icon{background:#f7f8f9;border-color:#d8dde2}html[data-jmc-theme="namemc"] .jmc-settings-check{color:#55a630}
@media(max-width:640px){.jmc-settings-popover{position:fixed;right:12px;top:70px;width:min(260px,calc(100vw - 24px))}.jmc-settings-button{width:38px;height:38px}}
html[data-jmc-theme="light"] .view-btn.active,html[data-jmc-theme="light"] .view-btn[aria-pressed="true"],html[data-jmc-theme="light"] .jmc-gallery-view-btn.active,html[data-jmc-theme="light"] .jmc-gallery-view-btn[aria-pressed="true"],html[data-jmc-theme="light"] .jmc-edition-btn.active,html[data-jmc-theme="light"] .jmc-edition-btn[aria-pressed="true"],html[data-jmc-theme="light"] .jmc-model-btn.active,html[data-jmc-theme="light"] .jmc-model-btn[aria-pressed="true"]{background:#2f78c4!important;color:#fff!important;border-color:#2367aa!important}
.jmc-settings-button:hover svg{transform:rotate(18deg)}.jmc-settings-button svg{transition:transform .18s ease}

/* ===== V88: spójne motywy także wewnątrz widoków NameMC ===== */
/* Jasny JulianMC: naprawdę jasny + jasnoniebieski, bez zielonego NameMC. */
html[data-jmc-theme="light"]{
  --bg:#edf7ff!important;--bg-2:#e4f2fc!important;--panel:#ffffff!important;--panel-2:#f5fbff!important;--panel-3:#eaf6ff!important;
  --line:#b9d8ee!important;--line-soft:#d6e9f6!important;--text:#18354b!important;--muted:#617f96!important;--muted-2:#829daf!important;
  --green:#4ba9e8!important;--green-2:#2c8fd2!important;--green-3:#e1f3ff!important;--lime:#69c5ff!important;--gold:#3b9fdc!important;--shadow:rgba(30,86,125,.12)!important;
}
html[data-jmc-theme="light"] body{
  background:radial-gradient(circle at 18% -8%,rgba(106,198,255,.28),transparent 34%),linear-gradient(180deg,#f8fcff 0%,#eaf6ff 48%,#f3faff 100%)!important;
}
html[data-jmc-theme="light"] nav{background:rgba(248,252,255,.94)!important;border-color:#bad8ec!important;box-shadow:0 4px 18px rgba(43,104,145,.08)!important}
html[data-jmc-theme="light"] .brand{color:#173b55!important}
html[data-jmc-theme="light"] .btn,html[data-jmc-theme="light"] button:not(.copy):not(.jmc-settings-choice):not(.jmc-settings-button){background:#f4faff!important;border-color:#a9cee7!important;color:#285b7d!important}
html[data-jmc-theme="light"] .btn:hover,html[data-jmc-theme="light"] button:not(.copy):not(.jmc-settings-choice):not(.jmc-settings-button):hover{background:#e7f5ff!important}
html[data-jmc-theme="light"] .btn.green,html[data-jmc-theme="light"] .btn.active,html[data-jmc-theme="light"] .btn.primary,html[data-jmc-theme="light"] button.primary,html[data-jmc-theme="light"] a.primary{background:#49a9e8!important;border-color:#318fcf!important;color:#fff!important}
html[data-jmc-theme="light"] .section,html[data-jmc-theme="light"] .jmc-skin-wrap,html[data-jmc-theme="light"] .jmc-skin-card,html[data-jmc-theme="light"] .jmc-gallery,html[data-jmc-theme="light"] .jmc-capes,html[data-jmc-theme="light"] .jmc-head-give,html[data-jmc-theme="light"] .jmc-current-skin,html[data-jmc-theme="light"] .jmc-top-skins-wrap,html[data-jmc-theme="light"] .top-card,html[data-jmc-theme="light"] .modal-card{border-color:#bcd9ed!important;box-shadow:0 8px 28px rgba(47,102,141,.08)!important}
html[data-jmc-theme="light"] .jmc-edition-bar,html[data-jmc-theme="light"] .jmc-skin-card-title,html[data-jmc-theme="light"] .jmc-gallery-head,html[data-jmc-theme="light"] .jmc-cape-head,html[data-jmc-theme="light"] .jmc-model-switch-row,html[data-jmc-theme="light"] .jmc-skin-tools,html[data-jmc-theme="light"] .jmc-head-give-head,html[data-jmc-theme="light"] .top-toolbar,html[data-jmc-theme="light"] .meta{background:#f2f9fe!important;border-color:#cce3f2!important}

/* Widok NameMC w GALERII ma brać kolory z aktywnego motywu. */
html[data-jmc-theme="dark"] .jmc-gallery-grid.jmc-gallery-namemc{
  background:#07111d!important;border-color:#20384f!important;
}
html[data-jmc-theme="dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,
html[data-jmc-theme="dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image,
html[data-jmc-theme="dark"] .jmc-gallery-image[data-view="namemc"]{
  background:#0b1827!important;border-color:#27445e!important;
}
html[data-jmc-theme="dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover{box-shadow:0 0 0 2px #5eb8ff!important}
html[data-jmc-theme="dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active{box-shadow:0 0 0 3px #5eb8ff!important}

html[data-jmc-theme="light"] .jmc-gallery-grid.jmc-gallery-namemc{
  background:#edf8ff!important;border-color:#bddced!important;
}
html[data-jmc-theme="light"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,
html[data-jmc-theme="light"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image,
html[data-jmc-theme="light"] .jmc-gallery-image[data-view="namemc"]{
  background:#dff2ff!important;border-color:#b7d9ef!important;
}
html[data-jmc-theme="light"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover{box-shadow:0 0 0 2px #4ba9e8!important}
html[data-jmc-theme="light"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active{box-shadow:0 0 0 3px #318fcf!important}

html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc{
  background:#f6f7f8!important;border-color:#d4d9dd!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image,
html[data-jmc-theme="namemc"] .jmc-gallery-image[data-view="namemc"]{
  background:#eef1f3!important;border-color:#d8dde2!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover{box-shadow:0 0 0 2px #55a630!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active{box-shadow:0 0 0 3px #55a630!important}

/* Widok NameMC w TOP: ten sam układ, ale paleta zależy od motywu. */
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .top-card{background:#081523!important;border-color:#29445e!important;box-shadow:0 2px 8px rgba(0,0,0,.24)!important}
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .preview{background:#0a1a2a!important}
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .preview::before{background:#07111d!important;border-color:#29445e!important}
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .meta{background:#081523!important;border-color:#21394f!important}
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .wearers{color:#73c9ff!important}
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .wearers small{color:#7890a6!important}
html[data-jmc-theme="dark"] .top-grid.namemc-head-view .rank{background:#1d5688!important;border-color:#4387bd!important;color:#fff!important}

html[data-jmc-theme="light"] .top-grid.namemc-head-view .top-card{background:#fff!important;border-color:#bddced!important;box-shadow:0 3px 12px rgba(47,102,141,.08)!important}
html[data-jmc-theme="light"] .top-grid.namemc-head-view .preview{background:#e8f6ff!important}
html[data-jmc-theme="light"] .top-grid.namemc-head-view .preview::before{background:#fafdff!important;border-color:#b9d9ee!important}
html[data-jmc-theme="light"] .top-grid.namemc-head-view .meta{background:#fafdff!important;border-color:#d2e8f5!important}
html[data-jmc-theme="light"] .top-grid.namemc-head-view .wearers{color:#278bc9!important}
html[data-jmc-theme="light"] .top-grid.namemc-head-view .wearers small{color:#68849a!important}
html[data-jmc-theme="light"] .top-grid.namemc-head-view .rank{background:#49a9e8!important;border-color:#318fcf!important;color:#fff!important}

html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .top-card{background:#fff!important;border-color:#d8dde2!important;box-shadow:0 1px 3px rgba(0,0,0,.08)!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .preview{background:#f2f3f4!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .preview::before{background:#fff!important;border-color:#d8dde2!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .meta{background:#fff!important;border-color:#e4e7ea!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .wearers{color:#4f982f!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .wearers small{color:#7a858e!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .rank{background:#55a630!important;border-color:#4b922d!important;color:#fff!important}

/* Dopracowanie całego motywu NameMC. */
html[data-jmc-theme="namemc"] body{background:#eef0f2!important;color:#343a40!important}
html[data-jmc-theme="namemc"] nav{background:#252a2f!important;border-color:#1f2428!important;box-shadow:0 2px 7px rgba(0,0,0,.16)!important}
html[data-jmc-theme="namemc"] .section,html[data-jmc-theme="namemc"] .jmc-skin-wrap,html[data-jmc-theme="namemc"] .jmc-skin-card,html[data-jmc-theme="namemc"] .jmc-gallery,html[data-jmc-theme="namemc"] .jmc-capes,html[data-jmc-theme="namemc"] .jmc-head-give,html[data-jmc-theme="namemc"] .jmc-current-skin,html[data-jmc-theme="namemc"] .jmc-top-skins-wrap{border-radius:6px!important;border-color:#d4d9dd!important;box-shadow:0 1px 4px rgba(0,0,0,.07)!important}
html[data-jmc-theme="namemc"] input,html[data-jmc-theme="namemc"] select,html[data-jmc-theme="namemc"] textarea{border-radius:4px!important}
html[data-jmc-theme="namemc"] .jmc-gallery-view-btn,html[data-jmc-theme="namemc"] .view-btn,html[data-jmc-theme="namemc"] .jmc-edition-btn,html[data-jmc-theme="namemc"] .edition-btn{font-weight:700!important;text-transform:none!important;letter-spacing:0!important}


html[data-jmc-theme="namemc-dark"] .jmc-settings-button{background:#1a2025;color:#e6ece5;border-color:#3a4640;box-shadow:0 2px 7px rgba(0,0,0,.18)}
html[data-jmc-theme="namemc-dark"] .jmc-settings-button:hover,html[data-jmc-theme="namemc-dark"] .jmc-settings-button[aria-expanded="true"]{background:#222a30;color:#fff;border-color:#62b640}
html[data-jmc-theme="namemc-dark"] .jmc-settings-popover{background:rgba(19,24,28,.98);border-color:#38433d;box-shadow:0 18px 45px rgba(0,0,0,.36)}
html[data-jmc-theme="namemc-dark"] .jmc-settings-title{color:#95a193}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice{color:#e3eae0}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice:hover{background:#222c23}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice.active{background:#23361d}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice-icon{background:#12181c;border-color:#3c4a42}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice-copy small{color:#8f9b90}
html[data-jmc-theme="namemc-dark"] .jmc-settings-check{color:#73c74f}

/* ============================================================
   V92 — NameMC mode: close visual recreation using JulianMC UI.
   No NameMC proprietary assets/code are copied.
   ============================================================ */
html[data-jmc-theme="namemc"]{
  color-scheme:light!important;
  --bg:#f3f3f3;--bg-2:#eeeeee;--panel:#fff;--panel-2:#f8f9fa;--panel-3:#fff;
  --line:#dee2e6;--line-soft:#e9ecef;--text:#343a40;--muted:#6c757d;--muted-2:#868e96;
  --green:#55a630;--green-2:#4b922d;--green-3:#edf6e9;--lime:#55a630;--gold:#55a630;
  --shadow:rgba(0,0,0,.08);
}
html[data-jmc-theme="namemc"] body{
  margin:0!important;background:#f3f3f3!important;color:#343a40!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;
  font-size:16px!important;line-height:1.5!important;
}
html[data-jmc-theme="namemc"] body::before,
html[data-jmc-theme="namemc"] body::after,
html[data-jmc-theme="namemc"] .world{display:none!important}
html[data-jmc-theme="namemc"] .shell{width:min(1140px,calc(100% - 30px))!important;margin:0 auto!important}
html[data-jmc-theme="namemc"] nav{
  min-height:56px!important;height:auto!important;margin:0!important;padding:0 15px!important;
  background:#343a40!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;color:#fff!important;
}
html[data-jmc-theme="namemc"] .brand{
  min-height:56px!important;color:#fff!important;font-size:1rem!important;font-weight:600!important;
  letter-spacing:0!important;text-transform:none!important;gap:9px!important;
}
html[data-jmc-theme="namemc"] .brand-logo{width:30px!important;height:30px!important;filter:none!important}
html[data-jmc-theme="namemc"] .nav-actions{gap:0!important;align-self:stretch!important}
html[data-jmc-theme="namemc"] nav .btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:56px!important;
  padding:0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:rgba(255,255,255,.78)!important;box-shadow:none!important;text-transform:none!important;
  letter-spacing:0!important;font-size:.88rem!important;font-weight:500!important;
}
html[data-jmc-theme="namemc"] nav .btn:hover{background:#2d3237!important;color:#fff!important}
html[data-jmc-theme="namemc"] nav .btn.green,
html[data-jmc-theme="namemc"] nav .btn.active{background:#2d3237!important;color:#fff!important;box-shadow:inset 0 -3px 0 #55a630!important}
html[data-jmc-theme="namemc"] nav .jmc-settings-button{
  width:38px!important;height:38px!important;margin:9px 0 9px 8px!important;border:1px solid #4a5056!important;
  border-radius:4px!important;background:#3d4349!important;color:#e9ecef!important;box-shadow:none!important;
}
html[data-jmc-theme="namemc"] nav .jmc-settings-button:hover,
html[data-jmc-theme="namemc"] nav .jmc-settings-button[aria-expanded="true"]{background:#454c52!important;border-color:#596168!important;color:#fff!important}

html[data-jmc-theme="namemc"] main{padding:28px 0 48px!important}
html[data-jmc-theme="namemc"] .hero{min-height:auto!important;padding:34px 0 42px!important}
html[data-jmc-theme="namemc"] .section,
html[data-jmc-theme="namemc"] .card,
html[data-jmc-theme="namemc"] .step,
html[data-jmc-theme="namemc"] .faq,
html[data-jmc-theme="namemc"] .form-panel,
html[data-jmc-theme="namemc"] .form-side,
html[data-jmc-theme="namemc"] .showcase,
html[data-jmc-theme="namemc"] .ip-panel,
html[data-jmc-theme="namemc"] .jmc-skin-wrap,
html[data-jmc-theme="namemc"] .jmc-skin-card,
html[data-jmc-theme="namemc"] .jmc-gallery,
html[data-jmc-theme="namemc"] .jmc-capes,
html[data-jmc-theme="namemc"] .jmc-head-give,
html[data-jmc-theme="namemc"] .jmc-current-skin,
html[data-jmc-theme="namemc"] .jmc-current-skin-card,
html[data-jmc-theme="namemc"] .jmc-top-skins-wrap,
html[data-jmc-theme="namemc"] .top-card,
html[data-jmc-theme="namemc"] .modal-card{
  background:#fff!important;border:1px solid #dee2e6!important;border-radius:4px!important;
  box-shadow:none!important;
}
html[data-jmc-theme="namemc"] .section{padding:24px!important;margin-bottom:20px!important}
html[data-jmc-theme="namemc"] .section h1,
html[data-jmc-theme="namemc"] .section h2,
html[data-jmc-theme="namemc"] .section h3,
html[data-jmc-theme="namemc"] h1,
html[data-jmc-theme="namemc"] h2,
html[data-jmc-theme="namemc"] h3{
  color:#343a40!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important;
}
html[data-jmc-theme="namemc"] .section h1{font-size:2rem!important}
html[data-jmc-theme="namemc"] .section h2{font-size:1.65rem!important}
html[data-jmc-theme="namemc"] .eyebrow{color:#6c757d!important;letter-spacing:.04em!important;text-transform:none!important;font-size:.8rem!important;font-weight:600!important}
html[data-jmc-theme="namemc"] .eyebrow::before{display:none!important}
html[data-jmc-theme="namemc"] .section-head p,
html[data-jmc-theme="namemc"] .hero-lead,
html[data-jmc-theme="namemc"] .sub,
html[data-jmc-theme="namemc"] .note,
html[data-jmc-theme="namemc"] .answer{color:#6c757d!important}

html[data-jmc-theme="namemc"] input,
html[data-jmc-theme="namemc"] select,
html[data-jmc-theme="namemc"] textarea{
  min-height:38px!important;background:#fff!important;color:#495057!important;border:1px solid #ced4da!important;
  border-radius:4px!important;box-shadow:none!important;font-family:inherit!important;font-size:.95rem!important;
}
html[data-jmc-theme="namemc"] input:focus,
html[data-jmc-theme="namemc"] select:focus,
html[data-jmc-theme="namemc"] textarea:focus{
  border-color:#80bdff!important;outline:0!important;box-shadow:0 0 0 .2rem rgba(0,123,255,.14)!important;
}
html[data-jmc-theme="namemc"] .btn,
html[data-jmc-theme="namemc"] button:not(.copy):not(.jmc-settings-button):not(.jmc-settings-choice){
  border:1px solid #ced4da!important;border-radius:4px!important;background:#fff!important;color:#495057!important;
  box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-family:inherit!important;
  font-weight:600!important;
}
html[data-jmc-theme="namemc"] .btn:hover,
html[data-jmc-theme="namemc"] button:not(.copy):not(.jmc-settings-button):not(.jmc-settings-choice):hover{background:#f1f3f5!important;color:#343a40!important}
html[data-jmc-theme="namemc"] .btn.green,
html[data-jmc-theme="namemc"] .btn.active,
html[data-jmc-theme="namemc"] .btn.primary,html[data-jmc-theme="namemc"] button.primary,html[data-jmc-theme="namemc"] a.primary,
html[data-jmc-theme="namemc"] button[aria-pressed="true"]{
  background:#55a630!important;border-color:#4d982b!important;color:#fff!important;
}

/* Skin page — Bootstrap/NameMC-like cards */
html[data-jmc-theme="namemc"] .jmc-edition-bar,
html[data-jmc-theme="namemc"] .jmc-skin-card-title,
html[data-jmc-theme="namemc"] .jmc-gallery-head,
html[data-jmc-theme="namemc"] .jmc-cape-head,
html[data-jmc-theme="namemc"] .jmc-model-switch-row,
html[data-jmc-theme="namemc"] .jmc-skin-tools,
html[data-jmc-theme="namemc"] .jmc-head-give-head,
html[data-jmc-theme="namemc"] .top-toolbar,
html[data-jmc-theme="namemc"] .source-note{
  background:#f8f9fa!important;border-color:#dee2e6!important;color:#495057!important;
}
html[data-jmc-theme="namemc"] .jmc-skin-card-title,
html[data-jmc-theme="namemc"] .jmc-gallery-title,
html[data-jmc-theme="namemc"] .jmc-cape-title,
html[data-jmc-theme="namemc"] .jmc-head-give-title{
  color:#343a40!important;text-transform:none!important;letter-spacing:0!important;font-size:.94rem!important;font-weight:600!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-subtitle,
html[data-jmc-theme="namemc"] .jmc-gallery-note,
html[data-jmc-theme="namemc"] .jmc-head-give-sub,
html[data-jmc-theme="namemc"] .jmc-head-give-note,
html[data-jmc-theme="namemc"] .jmc-viewer-hint{color:#6c757d!important}
html[data-jmc-theme="namemc"] .jmc-profile-row{border-color:#e9ecef!important}
html[data-jmc-theme="namemc"] .jmc-key{color:#6c757d!important;font-size:.75rem!important;text-transform:none!important;letter-spacing:0!important}
html[data-jmc-theme="namemc"] .jmc-value{color:#343a40!important;font-weight:500!important}
html[data-jmc-theme="namemc"] .jmc-viewer{
  background-color:#e9ecef!important;
  background-image:linear-gradient(45deg,#dee2e6 25%,transparent 25%),linear-gradient(-45deg,#dee2e6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dee2e6 75%),linear-gradient(-45deg,transparent 75%,#dee2e6 75%)!important;
  background-size:36px 36px!important;background-position:0 0,0 18px,18px -18px,-18px 0!important;
}
html[data-jmc-theme="namemc"] .jmc-icon-btn{background:#fff!important;color:#495057!important;border-color:#ced4da!important;border-radius:4px!important}
html[data-jmc-theme="namemc"] .jmc-icon-btn:hover{background:#f1f3f5!important;border-color:#adb5bd!important}
html[data-jmc-theme="namemc"] .jmc-model-switch,
html[data-jmc-theme="namemc"] .jmc-gallery-view-switch,
html[data-jmc-theme="namemc"] .jmc-edition-switch,
html[data-jmc-theme="namemc"] .edition-switch,
html[data-jmc-theme="namemc"] .view-switch{background:#fff!important;border:1px solid #ced4da!important;border-radius:4px!important;box-shadow:none!important;overflow:hidden!important}
html[data-jmc-theme="namemc"] .jmc-model-btn,
html[data-jmc-theme="namemc"] .jmc-gallery-view-btn,
html[data-jmc-theme="namemc"] .jmc-edition-btn,
html[data-jmc-theme="namemc"] .edition-btn,
html[data-jmc-theme="namemc"] .view-btn{
  background:#fff!important;color:#495057!important;border-color:#dee2e6!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;
}
html[data-jmc-theme="namemc"] .jmc-model-btn.active,
html[data-jmc-theme="namemc"] .jmc-gallery-view-btn.active,
html[data-jmc-theme="namemc"] .jmc-edition-btn.active,
html[data-jmc-theme="namemc"] .edition-btn.active,
html[data-jmc-theme="namemc"] .view-btn.active,
html[data-jmc-theme="namemc"] [aria-pressed="true"].jmc-model-btn,
html[data-jmc-theme="namemc"] [aria-pressed="true"].jmc-gallery-view-btn,
html[data-jmc-theme="namemc"] [aria-pressed="true"].jmc-edition-btn,
html[data-jmc-theme="namemc"] [aria-pressed="true"].edition-btn,
html[data-jmc-theme="namemc"] [aria-pressed="true"].view-btn{background:#55a630!important;color:#fff!important;border-color:#4d982b!important}

html[data-jmc-theme="namemc"] .jmc-current-skin-card{background:#fff!important}
html[data-jmc-theme="namemc"] .jmc-current-skin-preview{background:#f1f3f5!important;border-color:#dee2e6!important}
html[data-jmc-theme="namemc"] .jmc-current-skin-preview::before{background:#fff!important;border-color:#dee2e6!important;box-shadow:none!important}
html[data-jmc-theme="namemc"] .jmc-current-skin-title{color:#343a40!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important}
html[data-jmc-theme="namemc"] .jmc-current-skin-desc{color:#6c757d!important}
html[data-jmc-theme="namemc"] .jmc-current-detail{background:#f8f9fa!important;border-color:#dee2e6!important;border-radius:4px!important}
html[data-jmc-theme="namemc"] .jmc-current-detail small{color:#6c757d!important;text-transform:none!important;letter-spacing:0!important}
html[data-jmc-theme="namemc"] .jmc-current-detail strong{color:#343a40!important}
html[data-jmc-theme="namemc"] .jmc-current-skin-badge{background:#eaf5e5!important;border-color:#bcdcae!important;color:#4b922d!important;border-radius:3px!important}

/* NameMC gallery view: compact rounded heads, close to NameMC catalog feeling */
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc{
  grid-template-columns:repeat(auto-fill,64px)!important;gap:8px!important;justify-content:start!important;
  padding:12px!important;background:#fff!important;border-top:1px solid #dee2e6!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image{
  width:64px!important;height:64px!important;padding:0!important;border:0!important;border-radius:8px!important;
  background:#e9ecef!important;box-shadow:none!important;overflow:hidden!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-image[data-view="namemc"] .jmc-skin-render,
html[data-jmc-theme="namemc"] .jmc-gallery-image[data-view="namemc"] .jmc-external-fallback-render,
html[data-jmc-theme="namemc"] .jmc-gallery-image[data-view="namemc"] .jmc-namemc-texture-render{
  width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:cover!important;
  border-radius:8px!important;filter:none!important;image-rendering:pixelated!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover{box-shadow:0 0 0 2px #8bc66f!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active{box-shadow:0 0 0 3px #55a630!important}
html[data-jmc-theme="namemc"] .jmc-gallery-current{background:#f8f9fa!important;border-color:#dee2e6!important;color:#6c757d!important}
html[data-jmc-theme="namemc"] .jmc-gallery-count{background:#fff!important;border:1px solid #ced4da!important;color:#55a630!important;border-radius:3px!important}

/* TOP in NameMC theme */
html[data-jmc-theme="namemc"] .top-grid{gap:12px!important}
html[data-jmc-theme="namemc"] .top-card{background:#fff!important;border:1px solid #dee2e6!important;border-radius:4px!important;box-shadow:none!important}
html[data-jmc-theme="namemc"] .top-card:hover{border-color:#b9c0c6!important;box-shadow:0 2px 6px rgba(0,0,0,.08)!important;transform:none!important}
html[data-jmc-theme="namemc"] .rank{background:#55a630!important;border:0!important;border-radius:3px!important;color:#fff!important}
html[data-jmc-theme="namemc"] .preview{background:#f1f3f5!important}
html[data-jmc-theme="namemc"] .preview::before{background:#fff!important;border-color:#dee2e6!important}
html[data-jmc-theme="namemc"] .meta{background:#fff!important;border-color:#e9ecef!important}
html[data-jmc-theme="namemc"] .name{color:#343a40!important;font-weight:600!important}
html[data-jmc-theme="namemc"] .wearers{color:#55a630!important}
html[data-jmc-theme="namemc"] .wearers small{color:#6c757d!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:12px!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .preview{height:190px!important;background:#f1f3f5!important;padding:8px!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .preview::before{inset:8px!important;background:#fff!important;border-color:#dee2e6!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .name{display:block!important;font-size:.76rem!important;font-weight:600!important}
html[data-jmc-theme="namemc"] .top-grid.namemc-head-view .wearers{font-size:.72rem!important}

html[data-jmc-theme="namemc"] .jmc-settings-popover{
  background:#fff!important;border:1px solid #dee2e6!important;border-radius:4px!important;
  box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;
}
html[data-jmc-theme="namemc"] .jmc-settings-choice{color:#343a40!important;border-radius:3px!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice:hover{background:#f8f9fa!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice.active{background:#edf6e9!important}
html[data-jmc-theme="namemc"] footer{color:#6c757d!important;border-color:#dee2e6!important}

@media(max-width:760px){
  html[data-jmc-theme="namemc"] .shell{width:min(100% - 16px,1140px)!important}
  html[data-jmc-theme="namemc"] nav{padding:8px 10px!important;gap:4px!important}
  html[data-jmc-theme="namemc"] nav .btn{min-height:40px!important;padding:0 9px!important}
  html[data-jmc-theme="namemc"] .section{padding:18px 14px!important}
}


/* ============================================================
   V93 — pełne czyszczenie jasnych motywów + galeria NameMC
   ============================================================ */

/* JULIANMC JASNY: żadnych starych czarnych paneli z trybu dark */
html[data-jmc-theme="light"] .ip-panel,
html[data-jmc-theme="light"] .chip,
html[data-jmc-theme="light"] .showcase,
html[data-jmc-theme="light"] .step,
html[data-jmc-theme="light"] .card,
html[data-jmc-theme="light"] .faq details,
html[data-jmc-theme="light"] .form-side,
html[data-jmc-theme="light"] .form-panel,
html[data-jmc-theme="light"] .jmc-mini-map-card,
html[data-jmc-theme="light"] .jmc-mini-map-head,
html[data-jmc-theme="light"] .jmc-mini-map-controls,
html[data-jmc-theme="light"] .jmc-mini-map-frame,
html[data-jmc-theme="light"] .jmc-mini-map-note,
html[data-jmc-theme="light"] .jmc-edition-bar,
html[data-jmc-theme="light"] .jmc-skin-search,
html[data-jmc-theme="light"] .jmc-skin-card,
html[data-jmc-theme="light"] .jmc-skin-card-title,
html[data-jmc-theme="light"] .jmc-model-switch-row,
html[data-jmc-theme="light"] .jmc-skin-tools,
html[data-jmc-theme="light"] .jmc-skin-thumb,
html[data-jmc-theme="light"] .jmc-head-give,
html[data-jmc-theme="light"] .jmc-head-give-head,
html[data-jmc-theme="light"] .jmc-head-give-code,
html[data-jmc-theme="light"] .jmc-gallery-card,
html[data-jmc-theme="light"] .jmc-gallery-head,
html[data-jmc-theme="light"] .jmc-gallery-current,
html[data-jmc-theme="light"] .jmc-cape-card,
html[data-jmc-theme="light"] .jmc-cape-head,
html[data-jmc-theme="light"] .jmc-cape-controls,
html[data-jmc-theme="light"] .jmc-top-skins-card,
html[data-jmc-theme="light"] .top-toolbar,
html[data-jmc-theme="light"] .source-note{
  background:#fff!important;color:#243746!important;border-color:#c8ddea!important;
  box-shadow:none!important;
}
html[data-jmc-theme="light"] .showcase{
  background:linear-gradient(180deg,#fafdff,#eaf6ff)!important;
  border-color:#bddced!important;box-shadow:0 12px 34px rgba(61,113,149,.10)!important;
}
html[data-jmc-theme="light"] .showcase::before{opacity:.24!important;background:linear-gradient(90deg,transparent 50%,rgba(61,142,195,.07) 50%),linear-gradient(transparent 50%,rgba(61,142,195,.07) 50%)!important}
html[data-jmc-theme="light"] .showcase::after{background:linear-gradient(to bottom,#d9effc 0 14%,#c9dfed 14% 100%)!important;opacity:1!important}
html[data-jmc-theme="light"] .logo-block{
  background:linear-gradient(90deg,rgba(92,176,232,.09) 50%,transparent 50%),linear-gradient(rgba(92,176,232,.09) 50%,transparent 50%),#eaf6ff!important;
  border-color:#9fc9e4!important;box-shadow:inset -12px -12px 0 rgba(84,145,184,.08),0 8px 20px rgba(49,104,141,.14)!important;
}
html[data-jmc-theme="light"] .logo-block strong{color:#1c5075!important;text-shadow:none!important}
html[data-jmc-theme="light"] .logo-block small{color:#348bc3!important}
html[data-jmc-theme="light"] .ip{color:#174d73!important}
html[data-jmc-theme="light"] .ip-label,html[data-jmc-theme="light"] .chip,html[data-jmc-theme="light"] .step p,html[data-jmc-theme="light"] .card p,html[data-jmc-theme="light"] .form-side p{color:#67849a!important}
html[data-jmc-theme="light"] .chip{background:#edf8ff!important;border-color:#c3deed!important}
html[data-jmc-theme="light"] .steps{background:#c8ddea!important;border-color:#c8ddea!important}
html[data-jmc-theme="light"] .step{background:#fff!important}
html[data-jmc-theme="light"] .step:hover{background:#f4fbff!important}
html[data-jmc-theme="light"] .step-num{background:#eaf6ff!important;border-color:#9fc9e4!important;color:#267eb6!important;box-shadow:none!important}
html[data-jmc-theme="light"] code{background:#eef8fe!important;border-color:#c5dfef!important;color:#245b7d!important}
html[data-jmc-theme="light"] .card-label{background:#eaf6ff!important;border-color:#b7d8ec!important;color:#2f78a8!important}
html[data-jmc-theme="light"] .faq details{background:#fff!important;border-color:#cbdde9!important}
html[data-jmc-theme="light"] .form-panel{box-shadow:none!important}
html[data-jmc-theme="light"] .message.success{background:#eaf7ff!important;color:#285d80!important;border-color:#acd2e9!important}
html[data-jmc-theme="light"] .message.error{background:#fff0f0!important;color:#8c4646!important;border-color:#e2bebe!important}
html[data-jmc-theme="light"] .jmc-mini-map-frame iframe{background:#eef7fc!important}
html[data-jmc-theme="light"] .jmc-edition-switch,
html[data-jmc-theme="light"] .jmc-model-switch,
html[data-jmc-theme="light"] .jmc-gallery-view-switch,
html[data-jmc-theme="light"] .edition-switch,
html[data-jmc-theme="light"] .view-switch{background:#fff!important;border-color:#bfd8e8!important;box-shadow:none!important}
html[data-jmc-theme="light"] .jmc-edition-btn,
html[data-jmc-theme="light"] .jmc-model-btn,
html[data-jmc-theme="light"] .jmc-gallery-view-btn,
html[data-jmc-theme="light"] .edition-btn,
html[data-jmc-theme="light"] .view-btn{background:#f8fcff!important;color:#56758c!important;border-color:#d3e6f1!important}
html[data-jmc-theme="light"] .jmc-skin-thumb-preview,
html[data-jmc-theme="light"] .jmc-cape canvas,
html[data-jmc-theme="light"] .jmc-gallery-item,
html[data-jmc-theme="light"] .jmc-gallery-image,
html[data-jmc-theme="light"] .jmc-gallery-image::before,
html[data-jmc-theme="light"] .jmc-top-skin,
html[data-jmc-theme="light"] .jmc-top-skin-face{
  background:#f4fbff!important;border-color:#c9e1ef!important;box-shadow:none!important;
}
html[data-jmc-theme="light"] .jmc-gallery-model{background:#eaf6ff!important;border-color:#abd0e6!important;color:#416e8b!important}
html[data-jmc-theme="light"] .jmc-gallery-item.active::after{background:#2f8ec8!important;border-color:#2f8ec8!important;color:#fff!important}
html[data-jmc-theme="light"] .jmc-head-give-code{background:#f3faff!important;color:#294e66!important;border-color:#c9dfed!important}

/* NameMC jasny: białe/szare elementy, bez czarnych pozostałości JulianMC */
html[data-jmc-theme="namemc"] .ip-panel,
html[data-jmc-theme="namemc"] .chip,
html[data-jmc-theme="namemc"] .showcase,
html[data-jmc-theme="namemc"] .step,
html[data-jmc-theme="namemc"] .card,
html[data-jmc-theme="namemc"] .faq details,
html[data-jmc-theme="namemc"] .form-side,
html[data-jmc-theme="namemc"] .form-panel,
html[data-jmc-theme="namemc"] .jmc-mini-map-card,
html[data-jmc-theme="namemc"] .jmc-mini-map-head,
html[data-jmc-theme="namemc"] .jmc-mini-map-controls,
html[data-jmc-theme="namemc"] .jmc-mini-map-frame,
html[data-jmc-theme="namemc"] .jmc-mini-map-note,
html[data-jmc-theme="namemc"] .jmc-skin-thumb,
html[data-jmc-theme="namemc"] .jmc-head-give-code,
html[data-jmc-theme="namemc"] .jmc-cape-card,
html[data-jmc-theme="namemc"] .jmc-cape-controls,
html[data-jmc-theme="namemc"] .jmc-top-skins-card{
  background:#fff!important;color:#343a40!important;border-color:#dee2e6!important;box-shadow:none!important;
}
html[data-jmc-theme="namemc"] .showcase{background:#fff!important;border-color:#dee2e6!important}
html[data-jmc-theme="namemc"] .showcase::before{opacity:.2!important;background:linear-gradient(90deg,transparent 50%,rgba(0,0,0,.035) 50%),linear-gradient(transparent 50%,rgba(0,0,0,.035) 50%)!important}
html[data-jmc-theme="namemc"] .showcase::after{background:linear-gradient(to bottom,#e9ecef 0 14%,#dee2e6 14% 100%)!important;opacity:1!important}
html[data-jmc-theme="namemc"] .logo-block{background:#f1f3f5!important;border-color:#ced4da!important;box-shadow:0 6px 16px rgba(0,0,0,.08)!important}
html[data-jmc-theme="namemc"] .logo-block strong{color:#495057!important;text-shadow:none!important}
html[data-jmc-theme="namemc"] .logo-block small{color:#55a630!important}
html[data-jmc-theme="namemc"] .ip{color:#343a40!important}
html[data-jmc-theme="namemc"] .chip{background:#f8f9fa!important;border-color:#dee2e6!important;color:#6c757d!important}
html[data-jmc-theme="namemc"] .steps{background:#dee2e6!important;border-color:#dee2e6!important}
html[data-jmc-theme="namemc"] .step:hover{background:#f8f9fa!important}
html[data-jmc-theme="namemc"] .step-num{background:#f8f9fa!important;border-color:#ced4da!important;color:#55a630!important;box-shadow:none!important}
html[data-jmc-theme="namemc"] code{background:#f8f9fa!important;border-color:#dee2e6!important;color:#495057!important}
html[data-jmc-theme="namemc"] .card-label{background:#edf6e9!important;border-color:#cce3c0!important;color:#4d8f31!important}
html[data-jmc-theme="namemc"] .faq details{background:#fff!important;border-color:#dee2e6!important}
html[data-jmc-theme="namemc"] .form-panel{box-shadow:none!important}
html[data-jmc-theme="namemc"] .jmc-mini-map-frame iframe{background:#f1f3f5!important}
html[data-jmc-theme="namemc"] .jmc-skin-thumb-preview,
html[data-jmc-theme="namemc"] .jmc-cape canvas,
html[data-jmc-theme="namemc"] .jmc-gallery-item,
html[data-jmc-theme="namemc"] .jmc-gallery-image,
html[data-jmc-theme="namemc"] .jmc-gallery-image::before,
html[data-jmc-theme="namemc"] .jmc-top-skin,
html[data-jmc-theme="namemc"] .jmc-top-skin-face{background:#f1f3f5!important;border-color:#dee2e6!important;box-shadow:none!important}
html[data-jmc-theme="namemc"] .jmc-gallery-model{background:#f8f9fa!important;border-color:#ced4da!important;color:#6c757d!important}
html[data-jmc-theme="namemc"] .jmc-gallery-item.active::after{background:#55a630!important;border-color:#4d982b!important;color:#fff!important}

/* Galeria w widoku NameMC: układ bliższy sekcji SKINS NameMC. */
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active{
  border:1px solid #dee2e6!important;border-radius:4px!important;background:#fff!important;overflow:hidden!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-head{
  padding:10px 12px!important;background:#f8f9fa!important;border-bottom:1px solid #dee2e6!important;align-items:center!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-title{
  color:#343a40!important;font-size:.95rem!important;font-weight:600!important;letter-spacing:0!important;text-transform:uppercase!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-count{
  margin-left:2px!important;padding:0!important;border:0!important;background:transparent!important;color:#3f8fbe!important;font-size:inherit!important;font-weight:600!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-count::before{content:"("}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-count::after{content:")"}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-subtitle{display:none!important}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-actions{gap:6px!important}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-actions input{height:32px!important;min-height:32px!important;width:150px!important;font-size:.8rem!important}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-actions>.btn{min-height:32px!important;padding:6px 9px!important;font-size:.75rem!important}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-view-btn{min-height:32px!important;padding:0 8px!important;font-size:.68rem!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc{
  grid-template-columns:repeat(auto-fill,64px)!important;gap:7px!important;padding:10px 12px!important;background:#fff!important;border-top:0!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image{
  width:64px!important;height:64px!important;border-radius:9px!important;background:#eef1f3!important;border:0!important;overflow:hidden!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image{padding:0!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image::before{display:none!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-namemc-texture-render,
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-external-fallback-render{
  width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;border-radius:9px!important;object-fit:cover!important;filter:none!important;
}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-note{display:none!important}

/* Ten sam kompaktowy układ galerii w NameMC ciemnym. */
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active{overflow:hidden!important;border-radius:4px!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-head{padding:10px 12px!important;align-items:center!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-title{font-size:.95rem!important;font-weight:600!important;letter-spacing:0!important;text-transform:uppercase!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-count{margin-left:2px!important;padding:0!important;border:0!important;background:transparent!important;color:#58a6ff!important;font-size:inherit!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-count::before{content:"("}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-count::after{content:")"}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-subtitle,
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active .jmc-gallery-note{display:none!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc{grid-template-columns:repeat(auto-fill,64px)!important;gap:7px!important;padding:10px 12px!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,
html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image{width:64px!important;height:64px!important;border-radius:9px!important;overflow:hidden!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image::before{display:none!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-namemc-texture-render,
html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-external-fallback-render{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;border-radius:9px!important;object-fit:cover!important;filter:none!important}
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active #jmcGalleryFilter,
html[data-jmc-theme="namemc"] .jmc-gallery-card.jmc-gallery-namemc-active #jmcGalleryRefresh{display:none!important}
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active #jmcGalleryFilter,
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card.jmc-gallery-namemc-active #jmcGalleryRefresh{display:none!important}


/* V100: Profil gracza w górnym pasku */
.jmc-profile-nav{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap;
}
.jmc-profile-nav-head{
  width:25px!important;
  height:25px!important;
  min-width:25px;
  object-fit:cover;
  image-rendering:pixelated;
  border-radius:5px;
  background:#0b1622;
  border:1px solid rgba(116,177,227,.36);
  box-shadow:none!important;
}
html[data-jmc-theme="light"] .jmc-profile-nav-head,
html[data-jmc-theme="namemc"] .jmc-profile-nav-head{
  background:#eef5f9;
  border-color:#ccd9e0;
}
html[data-jmc-theme="namemc"] .jmc-profile-nav-head,
html[data-jmc-theme="namemc-dark"] .jmc-profile-nav-head{border-radius:4px}
@media(max-width:760px){.jmc-profile-nav{max-width:100%}.jmc-profile-nav-label{overflow:hidden;text-overflow:ellipsis}}

/* V104 — wybór kolorów akcentu */
:root{
  --jmc-accent:#2f78c4;--jmc-accent-dark:#135ca8;--jmc-accent-light:#51a0e6;--jmc-accent-soft:rgba(47,120,196,.14);--jmc-accent-soft2:rgba(47,120,196,.24);--jmc-accent-text:#fff;
  --jmc-namemc-accent:#55a630;--jmc-namemc-accent-dark:#398a14;--jmc-namemc-accent-light:#77c852;--jmc-namemc-accent-soft:rgba(85,166,48,.14);--jmc-namemc-accent-soft2:rgba(85,166,48,.24);--jmc-namemc-accent-text:#fff;
}
.jmc-settings-popover{width:300px;max-height:min(680px,calc(100vh - 80px));overflow:auto}
.jmc-settings-divider{height:1px;margin:7px 4px;background:#243b50}
.jmc-color-section{padding:7px 6px 9px}
.jmc-color-section+.jmc-color-section{border-top:1px solid #243b50}
.jmc-color-section-head{display:grid;gap:2px;padding:3px 4px 8px}
.jmc-color-section-head strong{font-size:.72rem;color:#eaf4fb}
.jmc-color-section-head small{font-size:.56rem;line-height:1.25;color:#71899e}
.jmc-color-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}
.jmc-color-swatch{appearance:none;width:100%;aspect-ratio:1;border:1px solid rgba(255,255,255,.14);padding:3px;border-radius:8px;background:transparent;cursor:pointer;box-shadow:none!important;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease!important}
.jmc-color-swatch span{display:block;width:100%;height:100%;border-radius:5px;background:var(--swatch);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.jmc-color-swatch:hover{transform:translateY(-1px);border-color:#7c9ab4}
.jmc-color-swatch.active{border-color:#fff;box-shadow:0 0 0 2px var(--swatch)!important}
.jmc-color-custom{margin-top:7px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 8px;border:1px solid #2b465e;border-radius:9px;background:#0b1725;cursor:pointer}
.jmc-color-custom>span{display:grid;gap:1px;min-width:0}.jmc-color-custom strong{font-size:.66rem;color:#dcebf5}.jmc-color-custom small{font-size:.53rem;color:#71899e}
.jmc-color-custom-input{appearance:none;width:40px!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;cursor:pointer;overflow:hidden}
.jmc-color-custom-input::-webkit-color-swatch-wrapper{padding:0}.jmc-color-custom-input::-webkit-color-swatch{border:1px solid rgba(255,255,255,.18);border-radius:6px}.jmc-color-custom-input::-moz-color-swatch{border:1px solid rgba(255,255,255,.18);border-radius:6px}

html[data-jmc-theme="light"] .jmc-settings-divider,html[data-jmc-theme="namemc"] .jmc-settings-divider{background:#e1e6ea}
html[data-jmc-theme="light"] .jmc-color-section+.jmc-color-section,html[data-jmc-theme="namemc"] .jmc-color-section+.jmc-color-section{border-color:#e1e6ea}
html[data-jmc-theme="light"] .jmc-color-section-head strong,html[data-jmc-theme="namemc"] .jmc-color-section-head strong{color:#343a40}
html[data-jmc-theme="light"] .jmc-color-section-head small,html[data-jmc-theme="namemc"] .jmc-color-section-head small{color:#71808c}
html[data-jmc-theme="light"] .jmc-color-custom,html[data-jmc-theme="namemc"] .jmc-color-custom{background:#f8f9fa;border-color:#d8dde2}
html[data-jmc-theme="light"] .jmc-color-custom strong,html[data-jmc-theme="namemc"] .jmc-color-custom strong{color:#343a40}
html[data-jmc-theme="light"] .jmc-color-custom small,html[data-jmc-theme="namemc"] .jmc-color-custom small{color:#77828b}
html[data-jmc-theme="light"] .jmc-color-swatch,html[data-jmc-theme="namemc"] .jmc-color-swatch{border-color:#d3dbe2}
html[data-jmc-theme="light"] .jmc-color-swatch.active,html[data-jmc-theme="namemc"] .jmc-color-swatch.active{border-color:#fff}

/* Kolor JulianMC — Ciemny/Jasny */
html[data-jmc-theme="dark"],html[data-jmc-theme="light"]{
  --green:var(--jmc-accent)!important;--green-2:var(--jmc-accent-dark)!important;--lime:var(--jmc-accent)!important;--gold:var(--jmc-accent)!important;
  --blue:var(--jmc-accent)!important;--blue2:var(--jmc-accent)!important;--good:var(--jmc-accent)!important;
}
html[data-jmc-theme="dark"] .btn.green,html[data-jmc-theme="dark"] .btn.active,html[data-jmc-theme="dark"] .btn.primary,html[data-jmc-theme="dark"] button.primary,html[data-jmc-theme="dark"] a.primary,
html[data-jmc-theme="light"] .btn.green,html[data-jmc-theme="light"] .btn.active,html[data-jmc-theme="light"] .btn.primary,html[data-jmc-theme="light"] button.primary,html[data-jmc-theme="light"] a.primary,
html[data-jmc-theme="dark"] .edition-btn.active,html[data-jmc-theme="dark"] .view-btn.active,html[data-jmc-theme="dark"] .edition-btn[aria-pressed="true"],html[data-jmc-theme="dark"] .view-btn[aria-pressed="true"],
html[data-jmc-theme="light"] .edition-btn.active,html[data-jmc-theme="light"] .view-btn.active,html[data-jmc-theme="light"] .edition-btn[aria-pressed="true"],html[data-jmc-theme="light"] .view-btn[aria-pressed="true"],
html[data-jmc-theme="dark"] .jmc-model-btn.active,html[data-jmc-theme="dark"] .jmc-gallery-view-btn.active,html[data-jmc-theme="dark"] .jmc-edition-btn.active,
html[data-jmc-theme="light"] .jmc-model-btn.active,html[data-jmc-theme="light"] .jmc-gallery-view-btn.active,html[data-jmc-theme="light"] .jmc-edition-btn.active,
html[data-jmc-theme="dark"] [aria-pressed="true"].jmc-model-btn,html[data-jmc-theme="dark"] [aria-pressed="true"].jmc-gallery-view-btn,html[data-jmc-theme="dark"] [aria-pressed="true"].jmc-edition-btn,
html[data-jmc-theme="light"] [aria-pressed="true"].jmc-model-btn,html[data-jmc-theme="light"] [aria-pressed="true"].jmc-gallery-view-btn,html[data-jmc-theme="light"] [aria-pressed="true"].jmc-edition-btn{
  background:var(--jmc-accent)!important;border-color:var(--jmc-accent-dark)!important;color:var(--jmc-accent-text)!important;
}
html[data-jmc-theme="dark"] .rank,html[data-jmc-theme="light"] .rank{background:var(--jmc-accent)!important;border-color:var(--jmc-accent-dark)!important;color:var(--jmc-accent-text)!important}
html[data-jmc-theme="dark"] .wearers,html[data-jmc-theme="light"] .wearers,
html[data-jmc-theme="dark"] .rank-check-position strong,html[data-jmc-theme="light"] .rank-check-position strong,
html[data-jmc-theme="dark"] .eyebrow,html[data-jmc-theme="light"] .eyebrow{color:var(--jmc-accent)!important}
html[data-jmc-theme="dark"] .eyebrow::before,html[data-jmc-theme="light"] .eyebrow::before{background:var(--jmc-accent)!important}
html[data-jmc-theme="dark"] .top-card:hover,html[data-jmc-theme="light"] .top-card:hover,
html[data-jmc-theme="dark"] .jmc-gallery-item:hover,html[data-jmc-theme="light"] .jmc-gallery-item:hover,
html[data-jmc-theme="dark"] .jmc-cape:hover,html[data-jmc-theme="light"] .jmc-cape:hover{border-color:var(--jmc-accent)!important}
html[data-jmc-theme="dark"] .jmc-cape.active,html[data-jmc-theme="light"] .jmc-cape.active{border-color:var(--jmc-accent)!important;box-shadow:0 0 0 2px var(--jmc-accent-soft2)!important}
html[data-jmc-theme="dark"] input:focus,html[data-jmc-theme="light"] input:focus,
html[data-jmc-theme="dark"] select:focus,html[data-jmc-theme="light"] select:focus,
html[data-jmc-theme="dark"] textarea:focus,html[data-jmc-theme="light"] textarea:focus{border-color:var(--jmc-accent)!important;box-shadow:0 0 0 2px var(--jmc-accent-soft)!important}
html[data-jmc-theme="dark"] input[type="checkbox"],html[data-jmc-theme="light"] input[type="checkbox"],html[data-jmc-theme="dark"] input[type="radio"],html[data-jmc-theme="light"] input[type="radio"]{accent-color:var(--jmc-accent)!important}
html[data-jmc-theme="dark"] .jmc-settings-check,html[data-jmc-theme="light"] .jmc-settings-check{color:var(--jmc-accent)!important}

/* Kolor NameMC — jasny i ciemny */
html[data-jmc-theme="namemc"],html[data-jmc-theme="namemc-dark"]{
  --green:var(--jmc-namemc-accent)!important;--green-2:var(--jmc-namemc-accent-dark)!important;--lime:var(--jmc-namemc-accent)!important;--gold:var(--jmc-namemc-accent)!important;
  --blue:var(--jmc-namemc-accent)!important;--blue2:var(--jmc-namemc-accent)!important;--good:var(--jmc-namemc-accent)!important;
}
html[data-jmc-theme="namemc"] .btn.green,html[data-jmc-theme="namemc"] .btn.active,html[data-jmc-theme="namemc"] .btn.primary,html[data-jmc-theme="namemc"] button.primary,html[data-jmc-theme="namemc"] a.primary,
html[data-jmc-theme="namemc-dark"] .btn.green,html[data-jmc-theme="namemc-dark"] .btn.active,html[data-jmc-theme="namemc-dark"] .btn.primary,html[data-jmc-theme="namemc-dark"] button.primary,html[data-jmc-theme="namemc-dark"] a.primary,
html[data-jmc-theme="namemc"] .edition-btn.active,html[data-jmc-theme="namemc"] .view-btn.active,html[data-jmc-theme="namemc"] .edition-btn[aria-pressed="true"],html[data-jmc-theme="namemc"] .view-btn[aria-pressed="true"],
html[data-jmc-theme="namemc-dark"] .edition-btn.active,html[data-jmc-theme="namemc-dark"] .view-btn.active,html[data-jmc-theme="namemc-dark"] .edition-btn[aria-pressed="true"],html[data-jmc-theme="namemc-dark"] .view-btn[aria-pressed="true"],
html[data-jmc-theme="namemc"] .jmc-model-btn.active,html[data-jmc-theme="namemc"] .jmc-gallery-view-btn.active,html[data-jmc-theme="namemc"] .jmc-edition-btn.active,
html[data-jmc-theme="namemc-dark"] .jmc-model-btn.active,html[data-jmc-theme="namemc-dark"] .jmc-gallery-view-btn.active,html[data-jmc-theme="namemc-dark"] .jmc-edition-btn.active,
html[data-jmc-theme="namemc"] [aria-pressed="true"].jmc-model-btn,html[data-jmc-theme="namemc"] [aria-pressed="true"].jmc-gallery-view-btn,html[data-jmc-theme="namemc"] [aria-pressed="true"].jmc-edition-btn,
html[data-jmc-theme="namemc-dark"] [aria-pressed="true"].jmc-model-btn,html[data-jmc-theme="namemc-dark"] [aria-pressed="true"].jmc-gallery-view-btn,html[data-jmc-theme="namemc-dark"] [aria-pressed="true"].jmc-edition-btn{
  background:var(--jmc-namemc-accent)!important;border-color:var(--jmc-namemc-accent-dark)!important;color:var(--jmc-namemc-accent-text)!important;
}
html[data-jmc-theme="namemc"] nav .btn.active,html[data-jmc-theme="namemc-dark"] nav .btn.active{box-shadow:inset 0 -3px 0 var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .rank,html[data-jmc-theme="namemc-dark"] .rank{background:var(--jmc-namemc-accent)!important;border-color:var(--jmc-namemc-accent-dark)!important;color:var(--jmc-namemc-accent-text)!important}
html[data-jmc-theme="namemc"] .wearers,html[data-jmc-theme="namemc-dark"] .wearers,
html[data-jmc-theme="namemc"] .rank-check-position strong,html[data-jmc-theme="namemc-dark"] .rank-check-position strong,
html[data-jmc-theme="namemc"] .eyebrow,html[data-jmc-theme="namemc-dark"] .eyebrow,
html[data-jmc-theme="namemc"] .logo-block small,html[data-jmc-theme="namemc-dark"] .logo-block small,
html[data-jmc-theme="namemc"] .step-num,html[data-jmc-theme="namemc-dark"] .step-num,
html[data-jmc-theme="namemc"] .jmc-gallery-count,html[data-jmc-theme="namemc-dark"] .jmc-gallery-count{color:var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .eyebrow::before,html[data-jmc-theme="namemc-dark"] .eyebrow::before{background:var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .top-card:hover,html[data-jmc-theme="namemc-dark"] .top-card:hover,
html[data-jmc-theme="namemc"] .jmc-icon-btn:hover,html[data-jmc-theme="namemc-dark"] .jmc-icon-btn:hover{border-color:var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover,html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover{box-shadow:0 0 0 2px var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active,html[data-jmc-theme="namemc-dark"] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active{box-shadow:0 0 0 3px var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .jmc-gallery-item.active::after,html[data-jmc-theme="namemc-dark"] .jmc-gallery-item.active::after{background:var(--jmc-namemc-accent)!important;border-color:var(--jmc-namemc-accent-dark)!important;color:var(--jmc-namemc-accent-text)!important}
html[data-jmc-theme="namemc"] input:focus,html[data-jmc-theme="namemc-dark"] input:focus,
html[data-jmc-theme="namemc"] select:focus,html[data-jmc-theme="namemc-dark"] select:focus,
html[data-jmc-theme="namemc"] textarea:focus,html[data-jmc-theme="namemc-dark"] textarea:focus{border-color:var(--jmc-namemc-accent)!important;box-shadow:0 0 0 .18rem var(--jmc-namemc-accent-soft)!important}
html[data-jmc-theme="namemc"] input[type="checkbox"],html[data-jmc-theme="namemc-dark"] input[type="checkbox"],html[data-jmc-theme="namemc"] input[type="radio"],html[data-jmc-theme="namemc-dark"] input[type="radio"]{accent-color:var(--jmc-namemc-accent)!important}
html[data-jmc-theme="namemc"] .jmc-settings-check,html[data-jmc-theme="namemc-dark"] .jmc-settings-check{color:var(--jmc-namemc-accent)!important}

@media(max-width:520px){.jmc-settings-popover{width:min(300px,calc(100vw - 22px));right:-4px}.jmc-color-grid{grid-template-columns:repeat(8,1fr)}}
/* V104 — same ustawienia też korzystają z wybranego akcentu. */
html[data-jmc-theme="dark"] .jmc-settings-button[aria-expanded="true"],html[data-jmc-theme="light"] .jmc-settings-button[aria-expanded="true"]{background:var(--jmc-accent)!important;border-color:var(--jmc-accent-dark)!important;color:var(--jmc-accent-text)!important}
html[data-jmc-theme="namemc"] .jmc-settings-button[aria-expanded="true"],html[data-jmc-theme="namemc-dark"] .jmc-settings-button[aria-expanded="true"]{background:var(--jmc-namemc-accent)!important;border-color:var(--jmc-namemc-accent-dark)!important;color:var(--jmc-namemc-accent-text)!important}
html[data-jmc-theme="dark"] .jmc-settings-choice.active,html[data-jmc-theme="light"] .jmc-settings-choice.active{background:var(--jmc-accent-soft)!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice.active,html[data-jmc-theme="namemc-dark"] .jmc-settings-choice.active{background:var(--jmc-namemc-accent-soft)!important}

/* ============================================================
   V107 — pełne palety kolorystyczne.
   20 gotowych wariantów na sekcję (10 jasnych + 10 ciemnych).
   Wybrany kolor zmienia nie tylko akcent, ale całe tło/panele/nav/formularze.
   ============================================================ */
:root{
  --jmc-site-full-bg:#07101a;--jmc-site-full-bg2:#0a1522;--jmc-site-full-surface:#0d1b2a;--jmc-site-full-surface2:#102235;--jmc-site-full-surface3:#153047;--jmc-site-full-border:#29445e;--jmc-site-full-border-soft:#20384d;--jmc-site-full-text:#edf6fc;--jmc-site-full-muted:#91a8ba;--jmc-site-full-muted2:#71889a;--jmc-site-full-nav:#03080e;--jmc-site-full-nav2:#0a1622;--jmc-site-full-input:#0c1927;--jmc-site-full-checker1:#0b1a28;--jmc-site-full-checker2:#11283b;--jmc-site-full-shadow:rgba(0,0,0,.32);--jmc-site-full-grid:rgba(47,120,196,.065);
  --jmc-namemc-full-bg:#f3f7f1;--jmc-namemc-full-bg2:#edf4e9;--jmc-namemc-full-surface:#fff;--jmc-namemc-full-surface2:#f4f8f1;--jmc-namemc-full-surface3:#eaf2e5;--jmc-namemc-full-border:#c7dbc0;--jmc-namemc-full-border-soft:#dbe8d6;--jmc-namemc-full-text:#243020;--jmc-namemc-full-muted:#687563;--jmc-namemc-full-muted2:#879282;--jmc-namemc-full-nav:#202a1d;--jmc-namemc-full-nav2:#2d3929;--jmc-namemc-full-input:#fff;--jmc-namemc-full-checker1:#eef5ea;--jmc-namemc-full-checker2:#dfead9;--jmc-namemc-full-shadow:rgba(38,57,32,.13);--jmc-namemc-full-grid:rgba(85,166,48,.07)
}

html[data-jmc-theme="dark"],html[data-jmc-theme="light"]{
  --jmc-full-bg:var(--jmc-site-full-bg);--jmc-full-bg2:var(--jmc-site-full-bg2);--jmc-full-surface:var(--jmc-site-full-surface);--jmc-full-surface2:var(--jmc-site-full-surface2);--jmc-full-surface3:var(--jmc-site-full-surface3);--jmc-full-border:var(--jmc-site-full-border);--jmc-full-border-soft:var(--jmc-site-full-border-soft);--jmc-full-text:var(--jmc-site-full-text);--jmc-full-muted:var(--jmc-site-full-muted);--jmc-full-muted2:var(--jmc-site-full-muted2);--jmc-full-nav:var(--jmc-site-full-nav);--jmc-full-nav2:var(--jmc-site-full-nav2);--jmc-full-input:var(--jmc-site-full-input);--jmc-full-checker1:var(--jmc-site-full-checker1);--jmc-full-checker2:var(--jmc-site-full-checker2);--jmc-full-shadow:var(--jmc-site-full-shadow);--jmc-full-grid:var(--jmc-site-full-grid);--jmc-full-accent:var(--jmc-accent);--jmc-full-accent-dark:var(--jmc-accent-dark);--jmc-full-accent-soft:var(--jmc-accent-soft);--jmc-full-accent-soft2:var(--jmc-accent-soft2);--jmc-full-accent-text:var(--jmc-accent-text)
}
html[data-jmc-theme="namemc"],html[data-jmc-theme="namemc-dark"]{
  --jmc-full-bg:var(--jmc-namemc-full-bg);--jmc-full-bg2:var(--jmc-namemc-full-bg2);--jmc-full-surface:var(--jmc-namemc-full-surface);--jmc-full-surface2:var(--jmc-namemc-full-surface2);--jmc-full-surface3:var(--jmc-namemc-full-surface3);--jmc-full-border:var(--jmc-namemc-full-border);--jmc-full-border-soft:var(--jmc-namemc-full-border-soft);--jmc-full-text:var(--jmc-namemc-full-text);--jmc-full-muted:var(--jmc-namemc-full-muted);--jmc-full-muted2:var(--jmc-namemc-full-muted2);--jmc-full-nav:var(--jmc-namemc-full-nav);--jmc-full-nav2:var(--jmc-namemc-full-nav2);--jmc-full-input:var(--jmc-namemc-full-input);--jmc-full-checker1:var(--jmc-namemc-full-checker1);--jmc-full-checker2:var(--jmc-namemc-full-checker2);--jmc-full-shadow:var(--jmc-namemc-full-shadow);--jmc-full-grid:var(--jmc-namemc-full-grid);--jmc-full-accent:var(--jmc-namemc-accent);--jmc-full-accent-dark:var(--jmc-namemc-accent-dark);--jmc-full-accent-soft:var(--jmc-namemc-accent-soft);--jmc-full-accent-soft2:var(--jmc-namemc-accent-soft2);--jmc-full-accent-text:var(--jmc-namemc-accent-text)
}

/* Settings: 10 light + 10 dark per section. */
.jmc-settings-popover{width:340px!important;max-height:min(760px,calc(100vh - 76px))!important}
.jmc-color-groups{display:grid;gap:9px}
.jmc-color-group{display:grid;gap:5px}
.jmc-color-group-label{font-size:.56rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--jmc-full-muted,#71899e);padding:0 2px}
.jmc-color-grid{grid-template-columns:repeat(5,1fr)!important;gap:6px!important}
.jmc-color-swatch{aspect-ratio:1.22!important;min-height:36px!important;padding:3px!important;border-color:var(--jmc-full-border,#2b465e)!important;background:var(--jmc-full-surface2,#0b1725)!important}
.jmc-color-swatch span{position:relative;background:linear-gradient(135deg,var(--swatch-bg) 0 56%,var(--swatch-surface) 56% 72%,var(--swatch) 72% 100%)!important;border-radius:6px!important;box-shadow:inset 0 0 0 1px rgba(127,127,127,.16)!important}
.jmc-color-swatch.active{border-color:var(--swatch)!important;box-shadow:0 0 0 2px var(--swatch)!important}
.jmc-color-custom{align-items:center!important;background:var(--jmc-full-surface2,#0b1725)!important;border-color:var(--jmc-full-border,#2b465e)!important}
.jmc-color-custom strong{color:var(--jmc-full-text,#dcebf5)!important}.jmc-color-custom small{color:var(--jmc-full-muted,#71899e)!important}
.jmc-custom-controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.jmc-custom-mode{min-height:28px!important;padding:4px 7px!important;border-radius:6px!important;font-size:.56rem!important;font-weight:800!important;background:var(--jmc-full-surface3)!important;color:var(--jmc-full-text)!important;border:1px solid var(--jmc-full-border)!important;box-shadow:none!important}
.jmc-custom-mode.active{background:var(--jmc-full-accent)!important;border-color:var(--jmc-full-accent-dark)!important;color:var(--jmc-full-accent-text)!important}

/* Pełna paleta: body, nawigacja, wszystkie główne karty/panele. */
html[data-jmc-theme] body{
  color:var(--jmc-full-text)!important;
  background:radial-gradient(circle at 14% -8%,var(--jmc-full-accent-soft2),transparent 34%),linear-gradient(180deg,var(--jmc-full-bg2) 0%,var(--jmc-full-bg) 52%,var(--jmc-full-bg2) 100%)!important
}
html[data-jmc-theme] body::before{background-image:linear-gradient(var(--jmc-full-grid) 1px,transparent 1px),linear-gradient(90deg,var(--jmc-full-grid) 1px,transparent 1px)!important}
html[data-jmc-theme="namemc"] body::before,html[data-jmc-theme="namemc-dark"] body::before{display:none!important}
html[data-jmc-theme] nav,html[data-jmc-theme] .head{background:var(--jmc-full-nav)!important;border-color:var(--jmc-full-border)!important;color:var(--jmc-full-text)!important;box-shadow:0 3px 16px var(--jmc-full-shadow)!important}
html[data-jmc-theme] nav .btn{color:var(--jmc-full-muted)!important}
html[data-jmc-theme] nav .btn:hover{background:var(--jmc-full-nav2)!important;color:var(--jmc-full-text)!important}
html[data-jmc-theme] nav .btn.active,html[data-jmc-theme] nav .btn.green{color:var(--jmc-full-text)!important;box-shadow:inset 0 -3px 0 var(--jmc-full-accent)!important}
html[data-jmc-theme] .brand,html[data-jmc-theme] h1,html[data-jmc-theme] h2,html[data-jmc-theme] h3,html[data-jmc-theme] .title,html[data-jmc-theme] .profile-name,html[data-jmc-theme] .modal-title{color:var(--jmc-full-text)!important}

html[data-jmc-theme] .section,html[data-jmc-theme] .card,html[data-jmc-theme] .step,html[data-jmc-theme] .faq,html[data-jmc-theme] .faq details,
html[data-jmc-theme] .form-panel,html[data-jmc-theme] .form-side,html[data-jmc-theme] .showcase,html[data-jmc-theme] .ip-panel,
html[data-jmc-theme] .jmc-skin-wrap,html[data-jmc-theme] .jmc-skin-card,html[data-jmc-theme] .jmc-gallery,html[data-jmc-theme] .jmc-capes,
html[data-jmc-theme] .jmc-head-give,html[data-jmc-theme] .jmc-current-skin,html[data-jmc-theme] .jmc-current-skin-card,
html[data-jmc-theme] .jmc-top-skins-wrap,html[data-jmc-theme] .jmc-top-skins-card,html[data-jmc-theme] .jmc-cape-card,
html[data-jmc-theme] .top-card,html[data-jmc-theme] .modal-card,html[data-jmc-theme] .jmc-mini-map-card,
html[data-jmc-theme] .profile,html[data-jmc-theme] .viewer-card,html[data-jmc-theme] .qr-card,html[data-jmc-theme] .rank-card{
  background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border)!important;color:var(--jmc-full-text)!important;box-shadow:0 8px 24px var(--jmc-full-shadow)!important
}
html[data-jmc-theme] .jmc-edition-bar,html[data-jmc-theme] .jmc-skin-card-title,html[data-jmc-theme] .jmc-gallery-head,
html[data-jmc-theme] .jmc-cape-head,html[data-jmc-theme] .jmc-model-switch-row,html[data-jmc-theme] .jmc-skin-tools,
html[data-jmc-theme] .jmc-head-give-head,html[data-jmc-theme] .top-toolbar,html[data-jmc-theme] .preview,html[data-jmc-theme] .meta,
html[data-jmc-theme] .jmc-mini-map-head,html[data-jmc-theme] .jmc-mini-map-controls,html[data-jmc-theme] .jmc-mini-map-note,
html[data-jmc-theme] .jmc-cape-controls,html[data-jmc-theme] .identity,html[data-jmc-theme] .details,html[data-jmc-theme] .finder,
html[data-jmc-theme] .data,html[data-jmc-theme] .rank-card,html[data-jmc-theme] .jmc-current-detail,html[data-jmc-theme] .jmc-current-skin-preview,
html[data-jmc-theme] .jmc-gallery-current,html[data-jmc-theme] .jmc-head-give-code{
  background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important;color:var(--jmc-full-text)!important
}
html[data-jmc-theme] .chip,html[data-jmc-theme] .edition-pill,html[data-jmc-theme] .rank-badge,html[data-jmc-theme] .jmc-gallery-model{
  background:var(--jmc-full-surface3)!important;border-color:var(--jmc-full-border)!important;color:var(--jmc-full-text)!important
}
html[data-jmc-theme] .section-head p,html[data-jmc-theme] .hero-lead,html[data-jmc-theme] .sub,html[data-jmc-theme] .note,
html[data-jmc-theme] .answer,html[data-jmc-theme] .status,html[data-jmc-theme] .jmc-key,html[data-jmc-theme] .jmc-gallery-subtitle,
html[data-jmc-theme] .jmc-gallery-note,html[data-jmc-theme] .jmc-current-skin-desc,html[data-jmc-theme] .rank-meta,
html[data-jmc-theme] .wearers small,html[data-jmc-theme] .controls label,html[data-jmc-theme] footer{color:var(--jmc-full-muted)!important}
html[data-jmc-theme] .jmc-value,html[data-jmc-theme] .name,html[data-jmc-theme] .ip,html[data-jmc-theme] .data strong,
html[data-jmc-theme] .rank-main,html[data-jmc-theme] .profile-url{color:var(--jmc-full-text)!important}

html[data-jmc-theme] input,html[data-jmc-theme] select,html[data-jmc-theme] textarea,
html[data-jmc-theme] .controls input{
  background:var(--jmc-full-input)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important;box-shadow:none!important
}
html[data-jmc-theme] input::placeholder,html[data-jmc-theme] textarea::placeholder{color:var(--jmc-full-muted2)!important}
html[data-jmc-theme] input:focus,html[data-jmc-theme] select:focus,html[data-jmc-theme] textarea:focus{
  border-color:var(--jmc-full-accent)!important;box-shadow:0 0 0 3px var(--jmc-full-accent-soft)!important
}
html[data-jmc-theme] .btn,html[data-jmc-theme] button:not(.copy):not(.jmc-settings-choice):not(.jmc-settings-button):not(.jmc-color-swatch):not(.jmc-custom-mode){
  background:var(--jmc-full-surface2)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important
}
html[data-jmc-theme] .btn:hover,html[data-jmc-theme] button:not(.copy):not(.jmc-settings-choice):not(.jmc-settings-button):not(.jmc-color-swatch):not(.jmc-custom-mode):hover{background:var(--jmc-full-surface3)!important}

/* V109 FIX: mapa korzysta z tej samej pelnej palety co pozostale powierzchnie. */
html[data-jmc-theme] .map{
  background:var(--jmc-full-surface)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 0 0 2px var(--jmc-full-border-soft)!important
}
html[data-jmc-theme] .map .badge{
  background:var(--jmc-full-surface2)!important;
  border-color:var(--jmc-full-border)!important;
  color:var(--jmc-full-text)!important
}
html[data-jmc-theme] .btn.green,html[data-jmc-theme] .btn.active,html[data-jmc-theme] .btn.primary,html[data-jmc-theme] button.primary,html[data-jmc-theme] a.primary,
html[data-jmc-theme] .controls .map-primary,
html[data-jmc-theme] .edition-btn.active,html[data-jmc-theme] .view-btn.active,html[data-jmc-theme] .edition-btn[aria-pressed="true"],html[data-jmc-theme] .view-btn[aria-pressed="true"],
html[data-jmc-theme] .jmc-model-btn.active,html[data-jmc-theme] .jmc-gallery-view-btn.active,html[data-jmc-theme] .jmc-edition-btn.active,
html[data-jmc-theme] [aria-pressed="true"].jmc-model-btn,html[data-jmc-theme] [aria-pressed="true"].jmc-gallery-view-btn,html[data-jmc-theme] [aria-pressed="true"].jmc-edition-btn{
  background:var(--jmc-full-accent)!important;border-color:var(--jmc-full-accent-dark)!important;color:var(--jmc-full-accent-text)!important
}

html[data-jmc-theme] .edition-switch,html[data-jmc-theme] .view-switch,html[data-jmc-theme] .jmc-edition-switch,html[data-jmc-theme] .jmc-model-switch,html[data-jmc-theme] .jmc-gallery-view-switch{
  background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border)!important
}
html[data-jmc-theme] .edition-btn,html[data-jmc-theme] .view-btn,html[data-jmc-theme] .jmc-edition-btn,html[data-jmc-theme] .jmc-model-btn,html[data-jmc-theme] .jmc-gallery-view-btn{
  background:var(--jmc-full-surface2)!important;color:var(--jmc-full-muted)!important;border-color:var(--jmc-full-border-soft)!important
}
html[data-jmc-theme] .rank{background:var(--jmc-full-accent)!important;border-color:var(--jmc-full-accent-dark)!important;color:var(--jmc-full-accent-text)!important}
html[data-jmc-theme] .wearers,html[data-jmc-theme] .rank-check-position strong,html[data-jmc-theme] .eyebrow,html[data-jmc-theme] .step-num,html[data-jmc-theme] .jmc-gallery-count{color:var(--jmc-full-accent)!important}
html[data-jmc-theme] .eyebrow::before{background:var(--jmc-full-accent)!important}

html[data-jmc-theme] .jmc-viewer,html[data-jmc-theme] .viewer-wrap,html[data-jmc-theme] .preview,
html[data-jmc-theme] .head-frame,html[data-jmc-theme] .qr-box,html[data-jmc-theme] .jmc-current-skin-preview,
html[data-jmc-theme] .jmc-skin-thumb-preview,html[data-jmc-theme] .jmc-gallery-image,html[data-jmc-theme] .jmc-gallery-item,
html[data-jmc-theme] .jmc-top-skin,html[data-jmc-theme] .jmc-top-skin-face{
  background-color:var(--jmc-full-checker1)!important;border-color:var(--jmc-full-border)!important
}
html[data-jmc-theme] .jmc-viewer,html[data-jmc-theme] .viewer-wrap{
  background-image:linear-gradient(45deg,var(--jmc-full-checker2) 25%,transparent 25%),linear-gradient(-45deg,var(--jmc-full-checker2) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--jmc-full-checker2) 75%),linear-gradient(-45deg,transparent 75%,var(--jmc-full-checker2) 75%)!important;background-size:36px 36px!important;background-position:0 0,0 18px,18px -18px,-18px 0!important
}
html[data-jmc-theme] .jmc-gallery-grid.jmc-gallery-namemc{background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item,html[data-jmc-theme] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-image,html[data-jmc-theme] .jmc-gallery-image[data-view="namemc"]{background:var(--jmc-full-checker1)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item:hover{box-shadow:0 0 0 2px var(--jmc-full-accent)!important}
html[data-jmc-theme] .jmc-gallery-grid.jmc-gallery-namemc .jmc-gallery-item.active{box-shadow:0 0 0 3px var(--jmc-full-accent)!important}

html[data-jmc-theme] .jmc-settings-button{background:var(--jmc-full-surface2)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important;box-shadow:0 2px 7px var(--jmc-full-shadow)!important}
html[data-jmc-theme] .jmc-settings-button:hover,html[data-jmc-theme] .jmc-settings-button[aria-expanded="true"]{background:var(--jmc-full-accent)!important;border-color:var(--jmc-full-accent-dark)!important;color:var(--jmc-full-accent-text)!important}
html[data-jmc-theme] .jmc-settings-popover{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border)!important;box-shadow:0 18px 45px var(--jmc-full-shadow)!important}
html[data-jmc-theme] .jmc-settings-title,html[data-jmc-theme] .jmc-settings-choice-copy small{color:var(--jmc-full-muted)!important}
html[data-jmc-theme] .jmc-settings-choice{color:var(--jmc-full-text)!important}
html[data-jmc-theme] .jmc-settings-choice:hover{background:var(--jmc-full-surface2)!important}
html[data-jmc-theme] .jmc-settings-choice.active{background:var(--jmc-full-accent-soft)!important}
html[data-jmc-theme] .jmc-settings-choice-icon{background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme] .jmc-settings-divider,html[data-jmc-theme] .jmc-color-section+.jmc-color-section{border-color:var(--jmc-full-border-soft)!important;background:var(--jmc-full-border-soft)!important}
html[data-jmc-theme] .jmc-color-section+.jmc-color-section{background:transparent!important}
html[data-jmc-theme] .jmc-color-section-head strong{color:var(--jmc-full-text)!important}.jmc-color-section-head small{color:var(--jmc-full-muted)!important}

@media(max-width:560px){.jmc-settings-popover{width:min(340px,calc(100vw - 20px))!important;right:-4px!important}.jmc-color-grid{grid-template-columns:repeat(5,1fr)!important}.jmc-color-swatch{min-height:34px!important}.jmc-color-custom{align-items:flex-start!important}.jmc-custom-controls{max-width:150px}}
/* V107 — ustawienia kolorów muszą wygrać ze starszymi ogólnymi regułami button/input. */
html[data-jmc-theme] .jmc-settings-popover .jmc-color-swatch{
  appearance:none!important;width:100%!important;min-height:36px!important;aspect-ratio:1.22!important;padding:3px!important;
  border:1px solid var(--jmc-full-border)!important;border-radius:8px!important;background:var(--jmc-full-surface2)!important;
  box-shadow:none!important;transform:none;color:inherit!important
}
html[data-jmc-theme] .jmc-settings-popover .jmc-color-swatch:hover{transform:translateY(-1px)!important;border-color:var(--swatch)!important}
html[data-jmc-theme] .jmc-settings-popover .jmc-color-swatch.active{border-color:var(--swatch)!important;box-shadow:0 0 0 2px var(--swatch)!important}
html[data-jmc-theme] .jmc-settings-popover .jmc-custom-mode{
  min-height:28px!important;padding:4px 7px!important;border-radius:6px!important;font-size:.56rem!important;font-weight:800!important;
  background:var(--jmc-full-surface3)!important;color:var(--jmc-full-text)!important;border:1px solid var(--jmc-full-border)!important;box-shadow:none!important
}
html[data-jmc-theme] .jmc-settings-popover .jmc-custom-mode.active{background:var(--jmc-full-accent)!important;border-color:var(--jmc-full-accent-dark)!important;color:var(--jmc-full-accent-text)!important}
html[data-jmc-theme] .jmc-settings-popover .jmc-color-custom-input{
  appearance:none!important;width:40px!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important
}


/* ============================================================
   V107 — motywy są ROZŁĄCZNE.
   Kliknięcie bazowego Ciemny/Jasny/NameMC/NameMC Ciemny resetuje pełną
   paletę do tego presetu. Poniższe reguły utrzymują też poprawny charakter
   zwykłego JulianMC i NameMC po zmianie całej palety.
   ============================================================ */
html[data-jmc-theme="light"]{color-scheme:light!important}
html[data-jmc-theme="dark"],html[data-jmc-theme="namemc-dark"]{color-scheme:dark!important}
html[data-jmc-theme="namemc"]{color-scheme:light!important}

/* Zwykły JulianMC: zachowuje swoje zaokrąglenia i bardziej przestrzenny wygląd. */
html[data-jmc-theme="dark"] .section,html[data-jmc-theme="dark"] .card,html[data-jmc-theme="dark"] .top-card,html[data-jmc-theme="dark"] .modal-card,
html[data-jmc-theme="light"] .section,html[data-jmc-theme="light"] .card,html[data-jmc-theme="light"] .top-card,html[data-jmc-theme="light"] .modal-card{border-radius:12px!important}
html[data-jmc-theme="dark"] nav,html[data-jmc-theme="light"] nav{border-radius:0 0 14px 14px!important}

/* NameMC jasny i ciemny: ten sam układ/charakter, różni się tylko trybem kolorów. */
html[data-jmc-theme="namemc"] .section,html[data-jmc-theme="namemc-dark"] .section,
html[data-jmc-theme="namemc"] .card,html[data-jmc-theme="namemc-dark"] .card,
html[data-jmc-theme="namemc"] .top-card,html[data-jmc-theme="namemc-dark"] .top-card,
html[data-jmc-theme="namemc"] .modal-card,html[data-jmc-theme="namemc-dark"] .modal-card,
html[data-jmc-theme="namemc"] .jmc-skin-wrap,html[data-jmc-theme="namemc-dark"] .jmc-skin-wrap,
html[data-jmc-theme="namemc"] .jmc-skin-card,html[data-jmc-theme="namemc-dark"] .jmc-skin-card,
html[data-jmc-theme="namemc"] .jmc-gallery,html[data-jmc-theme="namemc-dark"] .jmc-gallery,
html[data-jmc-theme="namemc"] .jmc-capes,html[data-jmc-theme="namemc-dark"] .jmc-capes,
html[data-jmc-theme="namemc"] .jmc-current-skin,html[data-jmc-theme="namemc-dark"] .jmc-current-skin,
html[data-jmc-theme="namemc"] .jmc-top-skins-wrap,html[data-jmc-theme="namemc-dark"] .jmc-top-skins-wrap{border-radius:6px!important}
html[data-jmc-theme="namemc"] input,html[data-jmc-theme="namemc-dark"] input,
html[data-jmc-theme="namemc"] select,html[data-jmc-theme="namemc-dark"] select,
html[data-jmc-theme="namemc"] textarea,html[data-jmc-theme="namemc-dark"] textarea,
html[data-jmc-theme="namemc"] .btn,html[data-jmc-theme="namemc-dark"] .btn{border-radius:4px!important}
html[data-jmc-theme="namemc"] nav,html[data-jmc-theme="namemc-dark"] nav{border-radius:0!important}
html[data-jmc-theme="namemc"] .jmc-gallery-view-btn,html[data-jmc-theme="namemc-dark"] .jmc-gallery-view-btn,
html[data-jmc-theme="namemc"] .view-btn,html[data-jmc-theme="namemc-dark"] .view-btn,
html[data-jmc-theme="namemc"] .jmc-edition-btn,html[data-jmc-theme="namemc-dark"] .jmc-edition-btn,
html[data-jmc-theme="namemc"] .edition-btn,html[data-jmc-theme="namemc-dark"] .edition-btn{font-weight:700!important;text-transform:none!important;letter-spacing:0!important}
html[data-jmc-theme="namemc"] .eyebrow,html[data-jmc-theme="namemc-dark"] .eyebrow{letter-spacing:.04em!important;text-transform:none!important;font-size:.8rem!important;font-weight:600!important}
html[data-jmc-theme="namemc"] .eyebrow::before,html[data-jmc-theme="namemc-dark"] .eyebrow::before{display:none!important}

/* Aktywny bazowy styl nie udaje wybranego kafelka kolorystycznego. */
.jmc-color-swatch[aria-pressed="false"]{outline:0}

/* V107 — pełna zgodność układu NameMC jasny/ciemny. */
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) body{
  margin:0!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;font-size:16px!important;line-height:1.5!important
}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) body::after,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .world{display:none!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .shell{width:min(1140px,calc(100% - 30px))!important;margin:0 auto!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav{
  min-height:56px!important;height:auto!important;margin:0!important;padding:0 15px!important;border:0!important;box-shadow:none!important
}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .brand{
  min-height:56px!important;font-size:1rem!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;gap:9px!important
}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .brand-logo{width:30px!important;height:30px!important;filter:none!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .nav-actions{gap:0!important;align-self:stretch!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav .btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:56px!important;padding:0 12px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-size:.88rem!important;font-weight:500!important
}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav .jmc-settings-button{width:38px!important;height:38px!important;margin:9px 0 9px 8px!important;border-radius:4px!important;box-shadow:none!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) main{padding:28px 0 48px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .hero{min-height:auto!important;padding:34px 0 42px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .section{padding:24px!important;margin-bottom:20px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) h1,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) h2,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) h3{font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .section h1{font-size:2rem!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .section h2{font-size:1.65rem!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .btn,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) button:not(.copy):not(.jmc-settings-button):not(.jmc-settings-choice):not(.jmc-color-swatch){box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-family:inherit!important;font-weight:600!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-model-switch,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-gallery-view-switch,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-edition-switch,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .edition-switch,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .view-switch{border-radius:4px!important;box-shadow:none!important;overflow:hidden!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-skin-card-title,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-gallery-title,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-cape-title,
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-head-give-title{font-size:.94rem!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-key{font-size:.75rem!important;text-transform:none!important;letter-spacing:0!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-grid{gap:12px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-card{border-radius:4px!important;box-shadow:none!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-card:hover{transform:none!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .rank{border-radius:3px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-grid.namemc-head-view{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:12px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-grid.namemc-head-view .preview{height:190px!important;padding:8px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-grid.namemc-head-view .preview::before{inset:8px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-grid.namemc-head-view .name{display:block!important;font-size:.76rem!important;font-weight:600!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .top-grid.namemc-head-view .wearers{font-size:.72rem!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-popover{border-radius:4px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice{border-radius:3px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) footer{border-color:var(--jmc-full-border)!important;color:var(--jmc-full-muted)!important}

@media(max-width:760px){
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .shell{width:min(100% - 16px,1140px)!important}
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav{padding:8px 10px!important;gap:4px!important}
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav .btn{min-height:40px!important;padding:0 9px!important}
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .section{padding:18px 14px!important}
}



/* V109 — defensywny fix: wiersze layoutu TOP nie używają już klas primary/active. */
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-bottom{
  background:transparent!important;
  color:inherit!important;
}
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main>.edition-switch,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main>.top-search,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main>.rank-check-btn,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main>.toolbar-status{align-self:stretch}
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main .edition-btn,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main .top-search input,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main .top-search-clear,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main .rank-check-btn,
html[data-jmc-theme] .top-toolbar-row.top-toolbar-main .toolbar-status{min-height:42px}


/* ============================================================
   V110 — BUTTON SYSTEM X1000
   Spójny depth, motion, focus i stany aktywne bez łapania kart
   renderowanych jako <button> (cape/gallery/etc.).
   ============================================================ */
html[data-jmc-theme]{
  --jmc-btn-radius:10px;
  --jmc-btn-shadow:inset 0 1px 0 rgba(255,255,255,.07),inset 0 -2px 0 rgba(0,0,0,.20),0 5px 14px var(--jmc-full-shadow);
  --jmc-btn-shadow-hover:inset 0 1px 0 rgba(255,255,255,.10),inset 0 -2px 0 rgba(0,0,0,.16),0 9px 22px var(--jmc-full-shadow);
  --jmc-btn-shadow-press:inset 0 2px 5px rgba(0,0,0,.22),0 2px 7px var(--jmc-full-shadow);
}

/* Główne akcje. Celowo nie jest to globalne `button`, żeby nie stylować
   kafelków skinów/cape'ów, które technicznie też są buttonami. */
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-width:1px!important;
  border-style:solid!important;
  border-color:var(--jmc-full-border)!important;
  border-radius:var(--jmc-btn-radius)!important;
  background:linear-gradient(180deg,var(--jmc-full-surface3),var(--jmc-full-surface2))!important;
  color:var(--jmc-full-text)!important;
  box-shadow:var(--jmc-btn-shadow)!important;
  text-decoration:none!important;
  -webkit-tap-highlight-color:transparent;
  transition:transform .14s cubic-bezier(.2,.8,.2,1),box-shadow .14s ease,filter .14s ease,border-color .14s ease,background .14s ease,color .14s ease!important;
}
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button)::after{
  content:"";
  position:absolute;
  z-index:2;
  inset:-45% -30%;
  pointer-events:none;
  background:linear-gradient(112deg,transparent 35%,rgba(255,255,255,.14) 48%,transparent 61%);
  transform:translateX(-72%) rotate(2deg);
  opacity:0;
  transition:transform .42s cubic-bezier(.2,.8,.2,1),opacity .18s ease;
}
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button):hover:not(:disabled){
  transform:translateY(-2px)!important;
  border-color:var(--jmc-full-accent)!important;
  box-shadow:var(--jmc-btn-shadow-hover)!important;
  filter:brightness(1.055)!important;
}
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button):hover:not(:disabled)::after{
  transform:translateX(72%) rotate(2deg);
  opacity:1;
}
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button):active:not(:disabled){
  transform:translateY(1px) scale(.985)!important;
  box-shadow:var(--jmc-btn-shadow-press)!important;
  filter:brightness(.985)!important;
  transition-duration:.055s!important;
}
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button):focus-visible,
html[data-jmc-theme] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn,.jmc-custom-mode,.jmc-settings-choice):focus-visible{
  outline:0!important;
  border-color:var(--jmc-full-accent)!important;
  box-shadow:0 0 0 2px var(--jmc-full-bg),0 0 0 5px var(--jmc-full-accent-soft),0 7px 18px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button):disabled,
html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button)[aria-disabled="true"]{
  opacity:.48!important;
  cursor:not-allowed!important;
  transform:none!important;
  filter:saturate(.55)!important;
  box-shadow:none!important;
}

/* CTA / primary: mocny akcent, ale bez wchodzenia w layout TOP. */
html[data-jmc-theme] :is(.btn.green,.btn.primary,.copy,.rank-check-btn,.controls .map-primary){
  background:linear-gradient(180deg,var(--jmc-full-accent),var(--jmc-full-accent-dark))!important;
  border-color:var(--jmc-full-accent-dark)!important;
  color:var(--jmc-full-accent-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -2px 0 rgba(0,0,0,.18),0 7px 18px var(--jmc-full-accent-soft)!important;
}
html[data-jmc-theme] :is(.btn.green,.btn.primary,.copy,.rank-check-btn,.controls .map-primary):hover:not(:disabled){
  filter:brightness(1.10) saturate(1.06)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -2px 0 rgba(0,0,0,.16),0 10px 26px var(--jmc-full-accent-soft)!important;
}

/* Segmented controls: większa separacja, czytelniejszy active i brak starego
   „sklejonego prostokąta”. */
html[data-jmc-theme] :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){
  gap:3px!important;
  padding:3px!important;
  border:1px solid var(--jmc-full-border)!important;
  border-radius:12px!important;
  background:var(--jmc-full-surface)!important;
  box-shadow:inset 0 1px 3px var(--jmc-full-shadow)!important;
  overflow:visible!important;
}
html[data-jmc-theme] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--jmc-full-muted)!important;
  box-shadow:none!important;
  transition:transform .12s ease,background .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease!important;
}
html[data-jmc-theme] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):hover:not(:disabled){
  background:var(--jmc-full-surface3)!important;
  border-color:var(--jmc-full-border)!important;
  color:var(--jmc-full-text)!important;
  transform:translateY(-1px)!important;
}
html[data-jmc-theme] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):is(.active,[aria-pressed="true"]){
  background:linear-gradient(180deg,var(--jmc-full-accent),var(--jmc-full-accent-dark))!important;
  border-color:var(--jmc-full-accent-dark)!important;
  color:var(--jmc-full-accent-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 4px 12px var(--jmc-full-accent-soft)!important;
}
html[data-jmc-theme] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):active:not(:disabled){
  transform:translateY(1px) scale(.985)!important;
}

/* Ustawienia: wybór motywu też zachowuje się jak prawdziwa kontrolka. */
html[data-jmc-theme] .jmc-settings-choice{
  border:1px solid transparent!important;
  border-radius:9px!important;
  transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease!important;
}
html[data-jmc-theme] .jmc-settings-choice:hover{
  border-color:var(--jmc-full-border)!important;
  transform:translateX(2px)!important;
}
html[data-jmc-theme] .jmc-settings-choice.active{
  border-color:var(--jmc-full-accent)!important;
  box-shadow:inset 3px 0 0 var(--jmc-full-accent)!important;
}
html[data-jmc-theme] .jmc-custom-mode{
  transition:transform .12s ease,box-shadow .14s ease,filter .14s ease!important;
}
html[data-jmc-theme] .jmc-custom-mode:hover{transform:translateY(-1px)!important;filter:brightness(1.06)!important}
html[data-jmc-theme] .jmc-custom-mode:active{transform:translateY(1px) scale(.985)!important}

/* Nawigacja zostaje lekka — bez „pływających klocków” i bez konfliktu z NameMC. */
html[data-jmc-theme] nav .btn{
  transform:none!important;
  filter:none!important;
  box-shadow:none!important;
}
html[data-jmc-theme] nav .btn::after{display:none!important}
html[data-jmc-theme] nav .btn:hover{transform:none!important;box-shadow:inset 0 -3px 0 var(--jmc-full-border)!important}
html[data-jmc-theme] nav .btn:is(.green,.active){box-shadow:inset 0 -3px 0 var(--jmc-full-accent)!important}

/* NameMC zachowuje bardziej webowy, płaski charakter, ale dostaje pełne stany UX. */
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]){--jmc-btn-radius:6px}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){border-radius:6px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){border-radius:4px!important}

/* Telefon / dotyk: większy target dla kluczowych akcji, bez rozpychania mini-kart. */
@media(max-width:640px){
  html[data-jmc-theme] :is(.form-actions>.btn,.jmc-skin-search>.btn,.finder>.btn,.rank-actions>.btn){min-height:46px!important}
  html[data-jmc-theme] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){min-height:38px}
}

@media(prefers-reduced-motion:reduce){
  html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.controls button,.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn,.jmc-custom-mode,.jmc-settings-choice){
    transition:none!important;
    scroll-behavior:auto!important;
  }
  html[data-jmc-theme] :is(.btn,.copy,.rank-copy,.rank-check-btn,.top-search-clear,.jmc-icon-btn,.jmc-settings-button,.map-reset,.controls button)::after{display:none!important}
}

/* ============================================================
   V111 — PREMIUM POLISH PASS
   Spójniejsze spacingi, typografia, powierzchnie, TOP, formularze
   i mikrointerakcje. NameMC pozostaje celowo bardziej płaski.
   ============================================================ */
html[data-jmc-theme]{
  --jmc-ui-radius:16px;
  --jmc-ui-radius-sm:11px;
  --jmc-ui-radius-xs:8px;
  --jmc-ui-ease:cubic-bezier(.2,.8,.2,1);
  --jmc-ui-shadow:0 18px 55px var(--jmc-full-shadow);
  --jmc-ui-shadow-soft:0 10px 28px var(--jmc-full-shadow);
}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) body{
  background:radial-gradient(circle at 12% 4%,var(--jmc-full-accent-soft2),transparent 28%),radial-gradient(circle at 88% 24%,var(--jmc-full-accent-soft),transparent 22%),linear-gradient(180deg,var(--jmc-full-bg2) 0%,var(--jmc-full-bg) 48%,var(--jmc-full-bg2) 100%)!important;
}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) body::before{opacity:.58!important;mask-image:linear-gradient(to bottom,rgba(0,0,0,.86),rgba(0,0,0,.42) 55%,transparent 96%);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.86),rgba(0,0,0,.42) 55%,transparent 96%)}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .world{opacity:.55!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .particle{opacity:.55}
html[data-jmc-theme] .shell{width:min(1200px,calc(100% - 34px))!important}

/* Floating navigation */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav{
  position:sticky!important;top:12px!important;z-index:25!important;min-height:68px!important;height:auto!important;margin-top:12px!important;padding:8px 10px 8px 14px!important;
  border:1px solid color-mix(in srgb,var(--jmc-full-border) 86%,transparent)!important;border-radius:16px!important;background:color-mix(in srgb,var(--jmc-full-nav) 88%,transparent)!important;
  box-shadow:0 14px 42px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.055)!important;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2)
}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .brand{gap:10px!important;letter-spacing:.055em!important;transition:transform .18s var(--jmc-ui-ease),filter .18s ease!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .brand:hover{transform:translateY(-1px);filter:brightness(1.08)}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .brand-logo{width:36px!important;height:36px!important;border-radius:9px!important;box-shadow:0 0 0 1px var(--jmc-full-border),0 8px 20px var(--jmc-full-accent-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav .btn{min-height:42px!important;padding:0 13px!important;border-radius:10px!important;border-color:transparent!important;font-size:.68rem!important;letter-spacing:.055em!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav .btn:hover{background:var(--jmc-full-surface2)!important;box-shadow:inset 0 0 0 1px var(--jmc-full-border)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav .btn:is(.green,.active){background:var(--jmc-full-accent-soft)!important;color:var(--jmc-full-text)!important;box-shadow:inset 0 0 0 1px var(--jmc-full-accent),inset 0 -3px 0 var(--jmc-full-accent)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav .jmc-settings-button{border-radius:10px!important}

/* Hero */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero{min-height:min(820px,calc(100vh - 92px))!important;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;gap:clamp(34px,6vw,78px)!important;padding:78px 8px 96px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero h1{max-width:760px!important;font-size:clamp(4rem,8vw,7rem)!important;line-height:.88!important;letter-spacing:-.065em!important;text-wrap:balance;filter:drop-shadow(0 16px 30px var(--jmc-full-shadow))}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero h1 span{-webkit-text-stroke:1px color-mix(in srgb,var(--jmc-full-accent) 62%,var(--jmc-full-muted))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .eyebrow{margin-bottom:18px!important;padding:7px 10px!important;border:1px solid var(--jmc-full-border-soft)!important;border-radius:999px!important;background:var(--jmc-full-accent-soft)!important;letter-spacing:.14em!important;font-size:.66rem!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .eyebrow::before{width:8px!important;height:8px!important;border-radius:50%!important;box-shadow:0 0 0 4px var(--jmc-full-accent-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero-lead{max-width:610px!important;margin-top:26px!important;font-size:1.04rem!important;line-height:1.72!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip-panel{max-width:650px!important;margin-top:30px!important;border-radius:14px!important;overflow:hidden!important;border-color:var(--jmc-full-border)!important;background:linear-gradient(135deg,var(--jmc-full-surface2),var(--jmc-full-surface))!important;box-shadow:var(--jmc-ui-shadow-soft),inset 0 1px 0 rgba(255,255,255,.055)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip-meta{padding:17px 20px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip-label{letter-spacing:.13em!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip{font-size:clamp(1.02rem,2.5vw,1.34rem)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip-panel .copy{min-width:145px!important;border-radius:0!important;border-width:0 0 0 1px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero-notes{gap:8px!important;margin-top:16px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .chip{padding:7px 10px!important;border-radius:999px!important;background:color-mix(in srgb,var(--jmc-full-surface2) 88%,transparent)!important;font-size:.68rem!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .showcase{min-height:500px!important;border-radius:22px!important;border-color:color-mix(in srgb,var(--jmc-full-border) 88%,var(--jmc-full-accent))!important;background:radial-gradient(circle at 50% 34%,var(--jmc-full-accent-soft2),transparent 34%),linear-gradient(145deg,var(--jmc-full-surface2),var(--jmc-full-surface))!important;box-shadow:0 34px 85px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.06)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .showcase::before{opacity:.18!important;background-size:52px 52px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .showcase::after{height:30%!important;opacity:.18!important;background:linear-gradient(to bottom,var(--jmc-full-accent) 0 7%,var(--jmc-full-surface3) 7% 100%)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .logo-block{width:210px!important;height:210px!important;border-radius:20px!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 46%,var(--jmc-full-border))!important;background:linear-gradient(90deg,rgba(255,255,255,.04) 50%,transparent 50%),linear-gradient(rgba(255,255,255,.04) 50%,transparent 50%),var(--jmc-full-surface3)!important;box-shadow:inset -14px -14px 0 rgba(0,0,0,.12),inset 1px 1px 0 rgba(255,255,255,.08),0 26px 50px var(--jmc-full-shadow),0 0 45px var(--jmc-full-accent-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .logo-block strong{text-shadow:0 8px 18px var(--jmc-full-shadow)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .logo-block small{color:var(--jmc-full-accent)!important}

/* Sekcje i karty */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .section{margin-bottom:22px!important;padding:clamp(26px,4vw,42px)!important;border-radius:18px!important;border-color:color-mix(in srgb,var(--jmc-full-border) 90%,transparent)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--jmc-full-surface) 97%,var(--jmc-full-accent) 3%),var(--jmc-full-surface))!important;box-shadow:var(--jmc-ui-shadow-soft),inset 0 1px 0 rgba(255,255,255,.04)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .section-head{margin-bottom:26px!important;align-items:flex-end!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .section h2{font-size:clamp(1.85rem,4vw,2.8rem)!important;letter-spacing:-.045em!important;text-wrap:balance}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .section-head p{max-width:480px!important;line-height:1.58!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .steps{gap:12px!important;border:0!important;background:transparent!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .step,html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .card{border:1px solid var(--jmc-full-border-soft)!important;border-radius:14px!important;background:linear-gradient(160deg,var(--jmc-full-surface2),color-mix(in srgb,var(--jmc-full-surface) 94%,var(--jmc-full-accent) 6%))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;transition:transform .2s var(--jmc-ui-ease),border-color .2s ease,box-shadow .2s ease!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .step{min-height:230px!important;padding:25px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .card{padding:24px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.step,.card):hover{transform:translateY(-4px)!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 55%,var(--jmc-full-border))!important;box-shadow:0 16px 34px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.055)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .step-num{width:42px!important;height:42px!important;margin-bottom:21px!important;border-radius:11px!important;background:var(--jmc-full-accent-soft)!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 48%,var(--jmc-full-border))!important;box-shadow:none!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .card-label{border-radius:7px!important;color:var(--jmc-full-accent)!important;background:var(--jmc-full-accent-soft)!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 40%,var(--jmc-full-border))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .step h3,html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .card h3{letter-spacing:.055em!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.step p,.card p){color:var(--jmc-full-muted)!important;line-height:1.65!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) code{border-radius:6px!important;color:var(--jmc-full-text)!important;background:var(--jmc-full-input)!important;border-color:var(--jmc-full-border)!important}

/* FAQ */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq{display:grid!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq details{overflow:hidden!important;border:1px solid var(--jmc-full-border-soft)!important;border-radius:12px!important;background:var(--jmc-full-surface2)!important;box-shadow:none!important;transition:border-color .18s ease,background .18s ease,transform .18s var(--jmc-ui-ease)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq details:hover{border-color:var(--jmc-full-border)!important;transform:translateX(2px)}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq details[open]{border-color:color-mix(in srgb,var(--jmc-full-accent) 48%,var(--jmc-full-border))!important;background:color-mix(in srgb,var(--jmc-full-surface2) 92%,var(--jmc-full-accent) 8%)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq summary{min-height:58px!important;margin:0!important;padding:18px 54px 18px 18px!important;display:flex!important;align-items:center!important;letter-spacing:.045em!important;cursor:pointer!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq summary::after{right:18px!important;top:50%!important;transform:translateY(-50%)!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:1px solid var(--jmc-full-border)!important;border-radius:8px!important;background:var(--jmc-full-surface3)!important;color:var(--jmc-full-accent)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .faq .answer{padding:0 18px 19px!important;line-height:1.65!important}

/* Formularze */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(input,textarea,select){border-radius:10px!important;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(input,textarea,select):hover{border-color:color-mix(in srgb,var(--jmc-full-border) 55%,var(--jmc-full-accent))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(input,textarea,select):focus{outline:0!important;box-shadow:0 0 0 3px var(--jmc-full-accent-soft),0 8px 24px var(--jmc-full-shadow)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .field label{letter-spacing:.07em!important;color:var(--jmc-full-muted)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.form-side,.form-panel){border-radius:14px!important;border-color:var(--jmc-full-border-soft)!important}

/* Mini mapa */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-card{border-radius:14px!important;box-shadow:none!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-head{padding:16px 18px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-title{letter-spacing:.1em!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-controls{padding:12px 16px!important;gap:10px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-frame{background:var(--jmc-full-surface2)!important}

/* TOP */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-toolbar{padding:14px!important;border-radius:14px!important;border-color:var(--jmc-full-border-soft)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-toolbar-row.top-toolbar-bottom{border-color:var(--jmc-full-border-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-search{border-radius:10px!important;overflow:hidden!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-search input{border-radius:10px 0 0 10px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-search-clear{border-radius:0 10px 10px 0!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .toolbar-status{border-radius:9px!important;background:var(--jmc-full-surface)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .rank-check-result{border-radius:13px!important;background:linear-gradient(135deg,var(--jmc-full-surface2),var(--jmc-full-surface))!important;box-shadow:var(--jmc-ui-shadow-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .rank-check-head{border-radius:10px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid{gap:14px!important;grid-template-columns:repeat(auto-fill,minmax(142px,1fr))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card{border-radius:13px!important;border-color:var(--jmc-full-border-soft)!important;background:var(--jmc-full-surface)!important;box-shadow:0 5px 18px var(--jmc-full-shadow)!important;transition:transform .2s var(--jmc-ui-ease),border-color .2s ease,box-shadow .2s ease!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card:hover{transform:translateY(-5px) scale(1.012)!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 55%,var(--jmc-full-border))!important;box-shadow:0 18px 38px var(--jmc-full-shadow),0 0 0 1px var(--jmc-full-accent-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card .preview{height:116px!important;background:linear-gradient(180deg,var(--jmc-full-surface2),var(--jmc-full-checker1))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card .preview::before{border-radius:8px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card .meta{padding:9px 9px 10px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card .name{font-size:.66rem!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card .wearers{margin-top:4px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card .rank{left:8px!important;top:8px!important;padding:5px 7px!important;border-radius:7px!important;box-shadow:0 5px 14px rgba(0,0,0,.2)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid>.top-card:nth-child(1){border-color:#d5a928!important;box-shadow:0 10px 28px rgba(213,169,40,.16)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid>.top-card:nth-child(1) .rank{background:linear-gradient(180deg,#f1c84b,#b98512)!important;border-color:#f4d76f!important;color:#211700!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid>.top-card:nth-child(2){border-color:#9aa8b8!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid>.top-card:nth-child(2) .rank{background:linear-gradient(180deg,#d8e0e7,#8796a5)!important;border-color:#e9eef2!important;color:#16212a!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid>.top-card:nth-child(3){border-color:#b47a51!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid>.top-card:nth-child(3) .rank{background:linear-gradient(180deg,#d79a6d,#905735)!important;border-color:#e8b38d!important;color:#24130a!important}

/* Modal TOP */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .modal{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .modal-card{border-radius:18px!important;padding:18px!important;box-shadow:0 34px 90px rgba(0,0,0,.45)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.modal-player,.viewer-wrap,.head-box){border-radius:11px!important}

/* Player */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .finder{border-radius:14px!important;padding:12px!important;border-color:var(--jmc-full-border-soft)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .profile{border-radius:17px!important;overflow:hidden!important;box-shadow:var(--jmc-ui-shadow-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.identity,.details,.data,.viewer-card,.qr-card,.rank-card){border-radius:12px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .rank-card{background:linear-gradient(135deg,var(--jmc-full-surface2),color-mix(in srgb,var(--jmc-full-surface) 92%,var(--jmc-full-accent) 8%))!important;border-color:color-mix(in srgb,var(--jmc-full-border) 70%,var(--jmc-full-accent))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .rank-number{text-shadow:0 8px 22px var(--jmc-full-accent-soft)!important}

/* Skiny */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.jmc-skin-card,.jmc-current-skin-card,.jmc-gallery-card,.jmc-cape-card,.jmc-head-give){border-radius:14px!important;overflow:hidden!important;border-color:var(--jmc-full-border-soft)!important;box-shadow:0 8px 24px var(--jmc-full-shadow)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) :is(.jmc-skin-card-title,.jmc-gallery-head,.jmc-cape-head,.jmc-head-give-head){min-height:48px!important;background:linear-gradient(180deg,var(--jmc-full-surface2),color-mix(in srgb,var(--jmc-full-surface2) 86%,var(--jmc-full-accent) 14%))!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-skin-search{border-radius:13px!important;padding:11px!important;border-color:var(--jmc-full-border-soft)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-skin-search input{border-radius:10px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-gallery-item,html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-cape-card{transition:transform .18s var(--jmc-ui-ease),border-color .18s ease,box-shadow .18s ease!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-gallery-item:hover,html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-cape-card:hover{transform:translateY(-3px)!important;box-shadow:0 12px 28px var(--jmc-full-shadow)!important}

/* Pełna mapa */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) body:has(.map){padding:12px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .head{border-radius:14px!important;padding:13px 15px!important;box-shadow:var(--jmc-ui-shadow-soft)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .controls{margin:10px 0!important;padding:9px!important;border:1px solid var(--jmc-full-border-soft)!important;border-radius:12px!important;background:var(--jmc-full-surface)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .controls input{border-radius:8px!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .map{border-radius:15px!important;box-shadow:0 18px 50px var(--jmc-full-shadow)!important}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .map .badge{border-radius:8px!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .cross::before,html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .cross::after{background:var(--jmc-full-accent)!important;box-shadow:0 0 10px var(--jmc-full-accent-soft)!important}

/* Settings */
html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-settings-popover{border-radius:15px!important;box-shadow:0 24px 70px var(--jmc-full-shadow)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}

/* NameMC dostaje tylko subtelny polish */
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .section,html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .profile,html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-skin-card,html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-gallery-card,html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-current-skin-card{border-radius:6px!important;box-shadow:0 2px 7px var(--jmc-full-shadow)!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) :is(input,textarea,select){transition:border-color .14s ease,box-shadow .14s ease!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) :is(input,textarea,select):focus{box-shadow:0 0 0 3px var(--jmc-full-accent-soft)!important}

/* Mobile / tablet */
@media(max-width:900px){
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero{grid-template-columns:1fr!important;min-height:auto!important;padding:58px 0 70px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .showcase{min-height:390px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .steps,html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .server-grid{grid-template-columns:1fr!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .step{min-height:auto!important}
}
@media(max-width:760px){
  html[data-jmc-theme] .shell{width:min(100% - 16px,1200px)!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav{top:6px!important;margin-top:6px!important;padding:10px!important;border-radius:13px!important;align-items:stretch!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .nav-actions{gap:6px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) nav .btn{min-height:40px!important;padding:0 10px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero{padding:46px 3px 58px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero h1{font-size:clamp(3.5rem,18vw,5.4rem)!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip-panel{display:grid!important;grid-template-columns:1fr!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .ip-panel .copy{min-height:48px!important;border-width:1px 0 0!important;border-radius:0!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .section{padding:22px 16px!important;border-radius:14px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .section-head{margin-bottom:20px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-card:hover{transform:translateY(-2px)!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-controls{display:grid!important;grid-template-columns:1fr 1fr!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .jmc-mini-map-controls .btn{width:100%!important}
}
@media(max-width:420px){
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .top-grid{grid-template-columns:1fr 1fr!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .showcase{min-height:330px!important}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .logo-block{width:170px!important;height:170px!important}
}

@keyframes jmcV111Intro{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero>div:first-child{animation:jmcV111Intro .48s var(--jmc-ui-ease) both}
  html:is([data-jmc-theme="dark"],[data-jmc-theme="light"]) .hero>.showcase{animation:jmcV111Intro .56s .07s var(--jmc-ui-ease) both}
}
@media(prefers-reduced-motion:reduce){html[data-jmc-theme] :is(.step,.card,.top-card,.jmc-gallery-item,.jmc-cape-card,.brand){transition:none!important}}


/* ============================================================
   V112 — NAV BUTTON ALIGNMENT HOTFIX
   Linki w navie są flex-itemami; samo min-height z V111 zostawiało
   line-box przy górnej krawędzi. Osobny layout navu centruje tekst
   i ikonki bez zmiany systemu przycisków w pozostałej części strony.
   ============================================================ */
html[data-jmc-theme] nav .nav-actions{
  align-items:center!important;
}
html[data-jmc-theme] nav .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  height:42px!important;
  min-height:42px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}
html[data-jmc-theme] nav .jmc-profile-nav{
  align-items:center!important;
}
html[data-jmc-theme] nav .jmc-profile-nav-head{
  flex:0 0 25px!important;
}
@media(max-width:760px){
  html[data-jmc-theme] nav .btn{
    height:40px!important;
    min-height:40px!important;
  }
}

/* ============================================================
   V113 — THEME POLISH (LIGHT / NAMEMC / NAMEMC DARK)
   Ciemny JulianMC pozostaje bez zmian. Pozostałe presety dostają
   własny charakter, lepszy kontrast, powierzchnie i kontrolki.
   ============================================================ */

/* ---------- LIGHT: jasny, czysty JulianMC ---------- */
html[data-jmc-theme="light"] body{
  background:
    radial-gradient(circle at 12% 0%,rgba(65,154,216,.15),transparent 31%),
    radial-gradient(circle at 92% 16%,rgba(94,184,255,.11),transparent 25%),
    linear-gradient(180deg,#f8fbfd 0%,#eef5f9 54%,#f6f9fb 100%)!important;
}
html[data-jmc-theme="light"] body::before{
  opacity:.28!important;
  background-image:linear-gradient(rgba(47,120,164,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(47,120,164,.055) 1px,transparent 1px)!important;
  background-size:36px 36px!important;
}
html[data-jmc-theme="light"] body::after{
  background:radial-gradient(circle at center,transparent 58%,rgba(44,78,102,.07) 100%)!important;
}
html[data-jmc-theme="light"] .world{opacity:.18!important}

html[data-jmc-theme="light"] nav{
  background:rgba(255,255,255,.88)!important;
  border-color:#c9dce9!important;
  box-shadow:0 14px 34px rgba(42,82,110,.12),inset 0 1px 0 rgba(255,255,255,.92)!important;
  backdrop-filter:blur(18px) saturate(1.15)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.15)!important;
}
html[data-jmc-theme="light"] .brand{color:#15384f!important}
html[data-jmc-theme="light"] .brand-logo{
  background:#fff!important;
  border-radius:10px!important;
  box-shadow:0 0 0 1px #c7dbe9,0 8px 20px rgba(53,111,150,.12)!important;
}
html[data-jmc-theme="light"] nav .btn{
  color:#4d697d!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html[data-jmc-theme="light"] nav .btn:hover{
  color:#15384f!important;
  background:#eef6fb!important;
  box-shadow:inset 0 0 0 1px #d2e5f1!important;
}
html[data-jmc-theme="light"] nav .btn:is(.green,.active){
  color:#0c527f!important;
  background:linear-gradient(180deg,#e5f5ff,#d9effb)!important;
  box-shadow:inset 0 0 0 1px #83bee3,inset 0 -3px 0 #49a9e8!important;
}

html[data-jmc-theme="light"] .section,
html[data-jmc-theme="light"] .card,
html[data-jmc-theme="light"] .step,
html[data-jmc-theme="light"] .faq,
html[data-jmc-theme="light"] .form-panel,
html[data-jmc-theme="light"] .form-side,
html[data-jmc-theme="light"] .profile,
html[data-jmc-theme="light"] .top-card,
html[data-jmc-theme="light"] .jmc-skin-card,
html[data-jmc-theme="light"] .jmc-gallery-card,
html[data-jmc-theme="light"] .jmc-current-skin-card,
html[data-jmc-theme="light"] .jmc-cape-card,
html[data-jmc-theme="light"] .jmc-head-give{
  background:linear-gradient(145deg,#ffffff 0%,#fbfdfe 100%)!important;
  border-color:#d2e2ed!important;
  box-shadow:0 12px 34px rgba(53,88,112,.085),inset 0 1px 0 #fff!important;
}
html[data-jmc-theme="light"] .section:hover,
html[data-jmc-theme="light"] .card:hover,
html[data-jmc-theme="light"] .step:hover{
  border-color:#bdd9ea!important;
}
html[data-jmc-theme="light"] .section-head h1,
html[data-jmc-theme="light"] .section-head h2,
html[data-jmc-theme="light"] .title,
html[data-jmc-theme="light"] .name{color:#15384f!important}
html[data-jmc-theme="light"] .section-head p,
html[data-jmc-theme="light"] .hero-lead,
html[data-jmc-theme="light"] .sub,
html[data-jmc-theme="light"] .note,
html[data-jmc-theme="light"] .status{color:#607b8e!important}

html[data-jmc-theme="light"] .showcase{
  background:
    radial-gradient(circle at 50% 30%,rgba(73,169,232,.18),transparent 35%),
    linear-gradient(145deg,#fafdff,#edf7fc)!important;
  border-color:#c4ddeb!important;
  box-shadow:0 28px 62px rgba(43,86,115,.13),inset 0 1px 0 #fff!important;
}
html[data-jmc-theme="light"] .logo-block{
  background:linear-gradient(135deg,#f8fcff,#e5f3fb)!important;
  border-color:#a8d0e9!important;
  box-shadow:inset -12px -12px 0 rgba(49,143,207,.055),inset 1px 1px 0 #fff,0 24px 48px rgba(49,110,149,.14)!important;
}
html[data-jmc-theme="light"] .ip-panel{
  background:linear-gradient(135deg,#fff,#f0f8fc)!important;
  border-color:#bfdbea!important;
  box-shadow:0 12px 28px rgba(53,91,117,.10),inset 0 1px 0 #fff!important;
}
html[data-jmc-theme="light"] .chip{
  background:#f1f8fc!important;
  border-color:#d2e7f2!important;
  color:#496b80!important;
}

html[data-jmc-theme="light"] :is(input,select,textarea){
  background:#fff!important;
  color:#18364a!important;
  border-color:#bed3e0!important;
  box-shadow:inset 0 1px 2px rgba(37,75,100,.035)!important;
}
html[data-jmc-theme="light"] :is(input,select,textarea):hover{border-color:#9fc3d9!important}
html[data-jmc-theme="light"] :is(input,select,textarea):focus{
  border-color:#49a9e8!important;
  box-shadow:0 0 0 3px rgba(73,169,232,.15)!important;
}
html[data-jmc-theme="light"] :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){
  background:#eef5f9!important;
  border-color:#bfd6e5!important;
  box-shadow:inset 0 1px 2px rgba(53,91,117,.04)!important;
}
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){
  color:#5f798b!important;
  background:transparent!important;
}
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):hover{
  color:#234e69!important;background:#fff!important;
}
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn).active,
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn)[aria-pressed="true"]{
  background:#fff!important;
  color:#126aa2!important;
  border-color:#92c5e4!important;
  box-shadow:0 3px 10px rgba(48,110,151,.10),inset 0 -2px 0 #49a9e8!important;
}
html[data-jmc-theme="light"] .top-toolbar,
html[data-jmc-theme="light"] .jmc-skin-search,
html[data-jmc-theme="light"] .finder,
html[data-jmc-theme="light"] .controls{
  background:rgba(247,251,253,.94)!important;
  border-color:#cfe0ea!important;
}
html[data-jmc-theme="light"] .top-card:hover,
html[data-jmc-theme="light"] .jmc-gallery-item:hover,
html[data-jmc-theme="light"] .jmc-cape-card:hover{
  border-color:#82bce0!important;
  box-shadow:0 14px 30px rgba(45,92,121,.12)!important;
}

/* ---------- NAMEMC LIGHT: czysty web + mocniejszy zielony akcent ---------- */
html[data-jmc-theme="namemc"] body{
  background:linear-gradient(180deg,#f5f7f6 0%,#eef2ef 100%)!important;
  color:#2f3932!important;
}
html[data-jmc-theme="namemc"] .shell{width:min(1160px,calc(100% - 30px))!important}
html[data-jmc-theme="namemc"] nav{
  min-height:62px!important;
  padding:0 14px!important;
  background:#202722!important;
  border:1px solid #182019!important;
  border-radius:0 0 10px 10px!important;
  box-shadow:0 7px 20px rgba(28,42,30,.13)!important;
}
html[data-jmc-theme="namemc"] .brand{min-height:60px!important;color:#f5f8f5!important;font-weight:650!important}
html[data-jmc-theme="namemc"] .brand-logo{width:32px!important;height:32px!important;border-radius:7px!important;box-shadow:0 0 0 1px rgba(255,255,255,.09)!important}
html[data-jmc-theme="namemc"] nav .btn{
  height:42px!important;min-height:42px!important;margin:9px 2px!important;padding:0 13px!important;
  border-radius:7px!important;color:#c7d0c9!important;background:transparent!important;
}
html[data-jmc-theme="namemc"] nav .btn:hover{background:#2b342e!important;color:#fff!important;box-shadow:none!important}
html[data-jmc-theme="namemc"] nav .btn:is(.green,.active){
  background:#55a630!important;color:#fff!important;box-shadow:inset 0 -2px 0 rgba(0,0,0,.16)!important;
}
html[data-jmc-theme="namemc"] nav .jmc-settings-button{margin:12px 2px 12px 7px!important;border-radius:7px!important}

html[data-jmc-theme="namemc"] .section,
html[data-jmc-theme="namemc"] .card,
html[data-jmc-theme="namemc"] .step,
html[data-jmc-theme="namemc"] .faq,
html[data-jmc-theme="namemc"] .form-panel,
html[data-jmc-theme="namemc"] .form-side,
html[data-jmc-theme="namemc"] .profile,
html[data-jmc-theme="namemc"] .top-card,
html[data-jmc-theme="namemc"] .jmc-skin-card,
html[data-jmc-theme="namemc"] .jmc-gallery-card,
html[data-jmc-theme="namemc"] .jmc-current-skin-card,
html[data-jmc-theme="namemc"] .jmc-cape-card,
html[data-jmc-theme="namemc"] .jmc-head-give{
  background:#fff!important;
  border:1px solid #d8dfda!important;
  border-radius:9px!important;
  box-shadow:0 4px 16px rgba(31,48,34,.055)!important;
}
html[data-jmc-theme="namemc"] .section{padding:28px!important}
html[data-jmc-theme="namemc"] .section-head{border-bottom:1px solid #edf0ee;padding-bottom:17px!important;margin-bottom:22px!important}
html[data-jmc-theme="namemc"] .section-head h1,
html[data-jmc-theme="namemc"] .section-head h2,
html[data-jmc-theme="namemc"] .title,
html[data-jmc-theme="namemc"] .name{color:#29322c!important;font-weight:650!important}
html[data-jmc-theme="namemc"] .section-head p,
html[data-jmc-theme="namemc"] .hero-lead,
html[data-jmc-theme="namemc"] .sub,
html[data-jmc-theme="namemc"] .note,
html[data-jmc-theme="namemc"] .status{color:#6f7b73!important}
html[data-jmc-theme="namemc"] .eyebrow{
  display:inline-flex!important;padding:5px 9px!important;border:1px solid #d8e9d1!important;border-radius:999px!important;
  background:#f1f8ee!important;color:#4f982f!important;font-size:.72rem!important;font-weight:650!important;
}
html[data-jmc-theme="namemc"] .showcase{
  border-radius:12px!important;
  background:linear-gradient(145deg,#fff,#f2f6f3)!important;
  border-color:#d5dfd7!important;
  box-shadow:0 12px 30px rgba(36,52,39,.075)!important;
}
html[data-jmc-theme="namemc"] .logo-block{
  border-radius:12px!important;background:linear-gradient(145deg,#f6faf4,#e8f3e3)!important;border-color:#bfd9b5!important;
  box-shadow:inset 0 1px 0 #fff,0 14px 28px rgba(64,105,48,.09)!important;
}
html[data-jmc-theme="namemc"] .ip-panel{
  border-radius:9px!important;background:#fbfcfb!important;border-color:#d6dfd8!important;box-shadow:0 4px 14px rgba(31,48,34,.05)!important;
}
html[data-jmc-theme="namemc"] .chip{border-radius:999px!important;background:#f5f7f5!important;border-color:#dce3de!important;color:#667169!important}

html[data-jmc-theme="namemc"] :is(input,select,textarea){
  border-radius:7px!important;background:#fff!important;color:#303a33!important;border-color:#cbd4ce!important;
}
html[data-jmc-theme="namemc"] :is(input,select,textarea):hover{border-color:#aebdb2!important}
html[data-jmc-theme="namemc"] :is(input,select,textarea):focus{border-color:#64ad45!important;box-shadow:0 0 0 3px rgba(85,166,48,.13)!important}
html[data-jmc-theme="namemc"] :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){
  background:#f3f5f4!important;border-color:#d1d9d3!important;border-radius:8px!important;padding:3px!important;
}
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){
  border:0!important;border-radius:6px!important;color:#69746c!important;background:transparent!important;
}
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):hover{background:#fff!important;color:#38453c!important}
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn).active,
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn)[aria-pressed="true"]{
  background:#fff!important;color:#488d2c!important;box-shadow:0 2px 7px rgba(32,56,35,.09),inset 0 -2px 0 #55a630!important;
}
html[data-jmc-theme="namemc"] .top-toolbar,
html[data-jmc-theme="namemc"] .jmc-skin-search,
html[data-jmc-theme="namemc"] .finder,
html[data-jmc-theme="namemc"] .controls{
  background:#f8faf8!important;border-color:#d9e0db!important;border-radius:9px!important;
}
html[data-jmc-theme="namemc"] .top-card:hover,
html[data-jmc-theme="namemc"] .jmc-gallery-item:hover,
html[data-jmc-theme="namemc"] .jmc-cape-card:hover{
  border-color:#a7ca99!important;box-shadow:0 8px 20px rgba(54,88,43,.09)!important;transform:translateY(-1px)!important;
}

/* ---------- NAMEMC DARK: grafit + subtelny zielony glow ---------- */
html[data-jmc-theme="namemc-dark"] body{
  background:
    radial-gradient(circle at 10% 0%,rgba(115,199,79,.075),transparent 26%),
    linear-gradient(180deg,#101416 0%,#151a1d 55%,#101416 100%)!important;
  color:#e8eee9!important;
}
html[data-jmc-theme="namemc-dark"] .shell{width:min(1160px,calc(100% - 30px))!important}
html[data-jmc-theme="namemc-dark"] nav{
  min-height:62px!important;padding:0 14px!important;
  background:#151b18!important;border:1px solid #2b362f!important;border-radius:0 0 10px 10px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.28)!important;
}
html[data-jmc-theme="namemc-dark"] .brand{min-height:60px!important;color:#f1f5f1!important;font-weight:650!important}
html[data-jmc-theme="namemc-dark"] .brand-logo{width:32px!important;height:32px!important;border-radius:7px!important;box-shadow:0 0 0 1px #39463e!important}
html[data-jmc-theme="namemc-dark"] nav .btn{
  height:42px!important;min-height:42px!important;margin:9px 2px!important;padding:0 13px!important;
  border-radius:7px!important;color:#aeb9b0!important;background:transparent!important;
}
html[data-jmc-theme="namemc-dark"] nav .btn:hover{background:#222a25!important;color:#f4f7f4!important;box-shadow:none!important}
html[data-jmc-theme="namemc-dark"] nav .btn:is(.green,.active){
  background:#315f25!important;color:#f5fff2!important;box-shadow:inset 0 0 0 1px #4d8b37,inset 0 -2px 0 rgba(0,0,0,.22)!important;
}
html[data-jmc-theme="namemc-dark"] nav .jmc-settings-button{margin:12px 2px 12px 7px!important;border-radius:7px!important}

html[data-jmc-theme="namemc-dark"] .section,
html[data-jmc-theme="namemc-dark"] .card,
html[data-jmc-theme="namemc-dark"] .step,
html[data-jmc-theme="namemc-dark"] .faq,
html[data-jmc-theme="namemc-dark"] .form-panel,
html[data-jmc-theme="namemc-dark"] .form-side,
html[data-jmc-theme="namemc-dark"] .profile,
html[data-jmc-theme="namemc-dark"] .top-card,
html[data-jmc-theme="namemc-dark"] .jmc-skin-card,
html[data-jmc-theme="namemc-dark"] .jmc-gallery-card,
html[data-jmc-theme="namemc-dark"] .jmc-current-skin-card,
html[data-jmc-theme="namemc-dark"] .jmc-cape-card,
html[data-jmc-theme="namemc-dark"] .jmc-head-give{
  background:linear-gradient(145deg,#1a2023,#171c1f)!important;
  border:1px solid #303b34!important;
  border-radius:9px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
html[data-jmc-theme="namemc-dark"] .section{padding:28px!important}
html[data-jmc-theme="namemc-dark"] .section-head{border-bottom:1px solid #29332d;padding-bottom:17px!important;margin-bottom:22px!important}
html[data-jmc-theme="namemc-dark"] .section-head h1,
html[data-jmc-theme="namemc-dark"] .section-head h2,
html[data-jmc-theme="namemc-dark"] .title,
html[data-jmc-theme="namemc-dark"] .name{color:#eef3ef!important;font-weight:650!important}
html[data-jmc-theme="namemc-dark"] .section-head p,
html[data-jmc-theme="namemc-dark"] .hero-lead,
html[data-jmc-theme="namemc-dark"] .sub,
html[data-jmc-theme="namemc-dark"] .note,
html[data-jmc-theme="namemc-dark"] .status{color:#98a59b!important}
html[data-jmc-theme="namemc-dark"] .eyebrow{
  display:inline-flex!important;padding:5px 9px!important;border:1px solid #35502f!important;border-radius:999px!important;
  background:#1b2a1c!important;color:#81cf60!important;font-size:.72rem!important;font-weight:650!important;
}
html[data-jmc-theme="namemc-dark"] .showcase{
  border-radius:12px!important;
  background:radial-gradient(circle at 50% 30%,rgba(115,199,79,.08),transparent 38%),linear-gradient(145deg,#1d2427,#171c1f)!important;
  border-color:#354139!important;
  box-shadow:0 16px 36px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
html[data-jmc-theme="namemc-dark"] .logo-block{
  border-radius:12px!important;background:linear-gradient(145deg,#222a2e,#1b231e)!important;border-color:#3b4a3f!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 34px rgba(0,0,0,.27),0 0 34px rgba(115,199,79,.055)!important;
}
html[data-jmc-theme="namemc-dark"] .ip-panel{
  border-radius:9px!important;background:#171d20!important;border-color:#313d35!important;box-shadow:0 7px 18px rgba(0,0,0,.19)!important;
}
html[data-jmc-theme="namemc-dark"] .chip{border-radius:999px!important;background:#1d2421!important;border-color:#344038!important;color:#aab5ac!important}

html[data-jmc-theme="namemc-dark"] :is(input,select,textarea){
  border-radius:7px!important;background:#12171a!important;color:#e8eee9!important;border-color:#354139!important;
}
html[data-jmc-theme="namemc-dark"] :is(input,select,textarea):hover{border-color:#46564b!important}
html[data-jmc-theme="namemc-dark"] :is(input,select,textarea):focus{border-color:#73c74f!important;box-shadow:0 0 0 3px rgba(115,199,79,.12)!important}
html[data-jmc-theme="namemc-dark"] :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){
  background:#121719!important;border-color:#354139!important;border-radius:8px!important;padding:3px!important;
}
html[data-jmc-theme="namemc-dark"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){
  border:0!important;border-radius:6px!important;color:#8f9d92!important;background:transparent!important;
}
html[data-jmc-theme="namemc-dark"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):hover{background:#202722!important;color:#e8eee9!important}
html[data-jmc-theme="namemc-dark"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn).active,
html[data-jmc-theme="namemc-dark"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn)[aria-pressed="true"]{
  background:#202922!important;color:#8bd16d!important;box-shadow:0 2px 8px rgba(0,0,0,.24),inset 0 -2px 0 #73c74f!important;
}
html[data-jmc-theme="namemc-dark"] .top-toolbar,
html[data-jmc-theme="namemc-dark"] .jmc-skin-search,
html[data-jmc-theme="namemc-dark"] .finder,
html[data-jmc-theme="namemc-dark"] .controls{
  background:#171d20!important;border-color:#303b34!important;border-radius:9px!important;
}
html[data-jmc-theme="namemc-dark"] .top-card:hover,
html[data-jmc-theme="namemc-dark"] .jmc-gallery-item:hover,
html[data-jmc-theme="namemc-dark"] .jmc-cape-card:hover{
  border-color:#4d6a46!important;box-shadow:0 9px 22px rgba(0,0,0,.27),0 0 0 1px rgba(115,199,79,.035)!important;transform:translateY(-1px)!important;
}

/* ---------- SETTINGS UI tylko w ulepszanych presetach ---------- */
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-popover{
  width:min(338px,calc(100vw - 22px))!important;
  padding:11px!important;
  border-radius:13px!important;
}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-title{
  padding:4px 7px 8px!important;font-size:.64rem!important;letter-spacing:.11em!important;
}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice{
  min-height:58px!important;grid-template-columns:40px minmax(0,1fr) 22px!important;gap:10px!important;padding:8px 9px!important;
  border:1px solid transparent!important;border-radius:9px!important;transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease!important;
}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice:hover{transform:translateX(2px)!important}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice.active{border-color:var(--jmc-full-accent)!important;box-shadow:inset 3px 0 0 var(--jmc-full-accent)!important}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice-icon{
  width:36px!important;height:36px!important;border-radius:9px!important;font-size:16px!important;font-weight:800!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.15)!important;
}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice-copy strong{font-size:.78rem!important}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice-copy small{font-size:.59rem!important;line-height:1.35!important}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice[data-theme="light"] .jmc-settings-choice-icon{background:linear-gradient(145deg,#fff,#dff2fd)!important;color:#2678b9!important;border-color:#b8d9ec!important}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice[data-theme="namemc"] .jmc-settings-choice-icon{background:linear-gradient(145deg,#fff,#e5f3df)!important;color:#4b922d!important;border-color:#bbd9af!important}
html:is([data-jmc-theme="light"],[data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .jmc-settings-choice[data-theme="namemc-dark"] .jmc-settings-choice-icon{background:linear-gradient(145deg,#222a2e,#151b18)!important;color:#83cf65!important;border-color:#3e5142!important}

html[data-jmc-theme="light"] .jmc-settings-popover{background:rgba(255,255,255,.97)!important;border-color:#c9dce9!important;box-shadow:0 24px 65px rgba(42,82,110,.18)!important}
html[data-jmc-theme="light"] .jmc-settings-choice:hover{background:#f0f7fb!important;border-color:#d7e7f1!important}
html[data-jmc-theme="light"] .jmc-settings-choice.active{background:#e8f5fc!important}
html[data-jmc-theme="namemc"] .jmc-settings-popover{background:#fff!important;border-color:#d5ddd7!important;box-shadow:0 18px 48px rgba(24,42,28,.16)!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice:hover{background:#f6f8f6!important;border-color:#e0e6e1!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice.active{background:#eef7ea!important}
html[data-jmc-theme="namemc-dark"] .jmc-settings-popover{background:rgba(22,28,25,.985)!important;border-color:#354139!important;box-shadow:0 22px 58px rgba(0,0,0,.42)!important}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice:hover{background:#202822!important;border-color:#35443a!important}
html[data-jmc-theme="namemc-dark"] .jmc-settings-choice.active{background:#1f2d1e!important}

@media(max-width:760px){
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav{padding:9px!important;border-radius:0 0 9px 9px!important}
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) nav .btn{height:40px!important;min-height:40px!important;margin:1px!important;padding:0 10px!important}
  html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) .section{padding:20px 15px!important}
}

/* ============================================================
   V114 — NAV ALIGNMENT FINAL + LIGHT THEMES REBUILD
   Dark JulianMC: tylko korekta geometrii tekstu w navie.
   Light / NameMC Light: pełna paleta bez hardcodowanych kolorów.
   ============================================================ */

/* FINAL nav alignment: direct text links are true centered boxes.
   Grid is intentional here — it avoids line-box/font-metric drift that
   survived the previous inline-flex hotfix on some browsers/zoom levels. */
html[data-jmc-theme] nav .nav-actions{
  display:flex!important;
  align-items:center!important;
  align-content:center!important;
}
html[data-jmc-theme] nav .nav-actions>a.btn:not(.jmc-profile-nav){
  display:grid!important;
  place-items:center!important;
  place-content:center!important;
  align-content:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  height:42px!important;
  min-height:42px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
}
html[data-jmc-theme] nav .nav-actions>a.btn.jmc-profile-nav{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-content:center!important;
  box-sizing:border-box!important;
  height:42px!important;
  min-height:42px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1!important;
}
html[data-jmc-theme] nav .nav-actions>a.btn.jmc-profile-nav .jmc-profile-nav-label{
  display:inline-flex!important;
  align-items:center!important;
  align-self:center!important;
  line-height:1.15!important;
}
html[data-jmc-theme] nav .jmc-settings-wrap,
html[data-jmc-theme] nav .jmc-settings-slot{
  align-self:center!important;
}
html[data-jmc-theme] nav .jmc-settings-button{
  align-self:center!important;
}

/* ---------- JULIANMC LIGHT: palette-aware clean light UI ---------- */
html[data-jmc-theme="light"]{color-scheme:light}
html[data-jmc-theme="light"] body{
  color:var(--jmc-full-text)!important;
  background:
    radial-gradient(circle at 12% 0%,var(--jmc-full-accent-soft2),transparent 31%),
    radial-gradient(circle at 88% 15%,var(--jmc-full-accent-soft),transparent 25%),
    linear-gradient(180deg,var(--jmc-full-bg2) 0%,var(--jmc-full-bg) 52%,var(--jmc-full-bg2) 100%)!important;
}
html[data-jmc-theme="light"] body::before{
  opacity:.34!important;
  background-image:
    linear-gradient(var(--jmc-full-grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--jmc-full-grid) 1px,transparent 1px)!important;
  background-size:38px 38px!important;
}
html[data-jmc-theme="light"] body::after{
  background:radial-gradient(circle at center,transparent 62%,color-mix(in srgb,var(--jmc-full-text) 6%,transparent) 100%)!important;
}
html[data-jmc-theme="light"] .world{opacity:.12!important}
html[data-jmc-theme="light"] .particle{
  border-color:color-mix(in srgb,var(--jmc-full-accent) 28%,transparent)!important;
  background:var(--jmc-full-accent-soft)!important;
  box-shadow:none!important;
}

html[data-jmc-theme="light"] nav{
  background:color-mix(in srgb,var(--jmc-full-nav) 94%,transparent)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 12px 34px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.86)!important;
  backdrop-filter:blur(18px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.08)!important;
}
html[data-jmc-theme="light"] .brand{color:var(--jmc-full-text)!important}
html[data-jmc-theme="light"] .brand-logo{
  background:var(--jmc-full-surface)!important;
  border-radius:10px!important;
  box-shadow:0 0 0 1px var(--jmc-full-border),0 7px 18px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="light"] nav .btn{
  color:var(--jmc-full-muted)!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html[data-jmc-theme="light"] nav .btn:hover{
  color:var(--jmc-full-text)!important;
  background:var(--jmc-full-surface2)!important;
  box-shadow:inset 0 0 0 1px var(--jmc-full-border-soft)!important;
}
html[data-jmc-theme="light"] nav .btn:is(.green,.active){
  color:var(--jmc-full-accent-text)!important;
  background:linear-gradient(180deg,var(--jmc-full-accent-light),var(--jmc-full-accent))!important;
  border-color:var(--jmc-full-accent-dark)!important;
  box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--jmc-full-accent-dark) 70%,transparent),0 4px 12px var(--jmc-full-accent-soft)!important;
}
html[data-jmc-theme="light"] nav .jmc-settings-button{
  color:var(--jmc-full-muted)!important;
  background:var(--jmc-full-surface)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 3px 10px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="light"] nav .jmc-settings-button:hover{
  color:var(--jmc-full-text)!important;
  background:var(--jmc-full-surface2)!important;
  border-color:var(--jmc-full-accent)!important;
}

html[data-jmc-theme="light"] :is(.section,.card,.step,.faq,.form-panel,.form-side,.profile,.top-card,.jmc-skin-card,.jmc-gallery-card,.jmc-current-skin-card,.jmc-cape-card,.jmc-head-give){
  color:var(--jmc-full-text)!important;
  background:linear-gradient(155deg,var(--jmc-full-surface),color-mix(in srgb,var(--jmc-full-surface2) 58%,var(--jmc-full-surface)))!important;
  border-color:var(--jmc-full-border-soft)!important;
  box-shadow:0 10px 28px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
html[data-jmc-theme="light"] :is(.section,.card,.step,.top-card,.jmc-gallery-item,.jmc-cape-card):hover{
  border-color:color-mix(in srgb,var(--jmc-full-accent) 46%,var(--jmc-full-border))!important;
}
html[data-jmc-theme="light"] :is(h1,h2,h3,.title,.name,.profile-name,.rank-number,.jmc-gallery-name){color:var(--jmc-full-text)!important}
html[data-jmc-theme="light"] :is(.section-head p,.hero-lead,.sub,.note,.status,.answer,.rank-meta,.jmc-mini-map-note,footer){color:var(--jmc-full-muted)!important}

html[data-jmc-theme="light"] .eyebrow{
  color:var(--jmc-full-accent-dark)!important;
  background:var(--jmc-full-accent-soft)!important;
  border-color:color-mix(in srgb,var(--jmc-full-accent) 32%,var(--jmc-full-border-soft))!important;
}
html[data-jmc-theme="light"] .eyebrow::before{background:var(--jmc-full-accent)!important}
html[data-jmc-theme="light"] .showcase{
  background:
    radial-gradient(circle at 50% 29%,var(--jmc-full-accent-soft2),transparent 36%),
    linear-gradient(145deg,var(--jmc-full-surface),var(--jmc-full-surface2))!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 24px 58px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.94)!important;
}
html[data-jmc-theme="light"] .logo-block{
  background:linear-gradient(145deg,var(--jmc-full-surface),var(--jmc-full-surface3))!important;
  border-color:color-mix(in srgb,var(--jmc-full-accent) 42%,var(--jmc-full-border))!important;
  box-shadow:inset -10px -10px 0 var(--jmc-full-accent-soft),inset 1px 1px 0 #fff,0 20px 42px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="light"] .logo-block small{color:var(--jmc-full-accent-dark)!important}
html[data-jmc-theme="light"] .ip-panel{
  background:linear-gradient(135deg,var(--jmc-full-surface),var(--jmc-full-surface2))!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 9px 24px var(--jmc-full-shadow),inset 0 1px 0 #fff!important;
}
html[data-jmc-theme="light"] .chip{
  color:var(--jmc-full-muted)!important;
  background:var(--jmc-full-surface2)!important;
  border-color:var(--jmc-full-border-soft)!important;
}

html[data-jmc-theme="light"] :is(input,select,textarea){
  color:var(--jmc-full-text)!important;
  background:var(--jmc-full-input)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:inset 0 1px 2px color-mix(in srgb,var(--jmc-full-shadow) 45%,transparent)!important;
}
html[data-jmc-theme="light"] :is(input,select,textarea)::placeholder{color:var(--jmc-full-muted2)!important}
html[data-jmc-theme="light"] :is(input,select,textarea):hover{border-color:color-mix(in srgb,var(--jmc-full-accent) 45%,var(--jmc-full-border))!important}
html[data-jmc-theme="light"] :is(input,select,textarea):focus{
  border-color:var(--jmc-full-accent)!important;
  box-shadow:0 0 0 3px var(--jmc-full-accent-soft),0 5px 18px var(--jmc-full-shadow)!important;
}

html[data-jmc-theme="light"] :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){
  background:var(--jmc-full-surface2)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:inset 0 1px 2px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){
  color:var(--jmc-full-muted)!important;
  background:transparent!important;
  border-color:transparent!important;
}
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn):hover{
  color:var(--jmc-full-text)!important;
  background:var(--jmc-full-surface)!important;
}
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn).active,
html[data-jmc-theme="light"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn)[aria-pressed="true"]{
  color:var(--jmc-full-accent-text)!important;
  background:var(--jmc-full-accent)!important;
  border-color:var(--jmc-full-accent-dark)!important;
  box-shadow:inset 0 -2px 0 var(--jmc-full-accent-dark),0 3px 9px var(--jmc-full-accent-soft)!important;
}

html[data-jmc-theme="light"] :is(.top-toolbar,.jmc-skin-search,.finder,.controls,.toolbar-status,.rank-check-result,.head){
  color:var(--jmc-full-text)!important;
  background:color-mix(in srgb,var(--jmc-full-surface) 94%,var(--jmc-full-surface2))!important;
  border-color:var(--jmc-full-border-soft)!important;
}
html[data-jmc-theme="light"] .top-search input{background:var(--jmc-full-input)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme="light"] .top-search-clear{background:var(--jmc-full-surface2)!important;color:var(--jmc-full-muted)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme="light"] .rank-check-head{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme="light"] .rank-check-name{color:var(--jmc-full-text)!important}
html[data-jmc-theme="light"] :is(.rank-check-note,.rank-check-kicker,.rank-check-position span){color:var(--jmc-full-muted)!important}
html[data-jmc-theme="light"] .rank-check-position strong{color:var(--jmc-full-accent-dark)!important}
html[data-jmc-theme="light"] .preview{background:linear-gradient(180deg,var(--jmc-full-surface2),var(--jmc-full-checker1))!important}
html[data-jmc-theme="light"] .meta{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border-soft)!important}
html[data-jmc-theme="light"] .map{background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme="light"] .badge{background:color-mix(in srgb,var(--jmc-full-surface) 94%,transparent)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important}

html[data-jmc-theme="light"] .btn:not(nav .btn):not(.jmc-settings-choice):not(.jmc-color-swatch):not(.jmc-custom-mode){
  color:var(--jmc-full-text)!important;
  background:linear-gradient(180deg,var(--jmc-full-surface2),var(--jmc-full-surface3))!important;
  border-color:var(--jmc-full-border)!important;
}
html[data-jmc-theme="light"] .btn.green:not(nav .btn),
html[data-jmc-theme="light"] .btn.primary:not(nav .btn),
html[data-jmc-theme="light"] button.primary{
  color:var(--jmc-full-accent-text)!important;
  background:linear-gradient(180deg,var(--jmc-full-accent-light),var(--jmc-full-accent))!important;
  border-color:var(--jmc-full-accent-dark)!important;
}

html[data-jmc-theme="light"] .jmc-settings-popover{
  color:var(--jmc-full-text)!important;
  background:color-mix(in srgb,var(--jmc-full-surface) 97%,transparent)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 22px 60px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="light"] .jmc-settings-choice:hover{background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important}
html[data-jmc-theme="light"] .jmc-settings-choice.active{background:var(--jmc-full-accent-soft)!important;border-color:var(--jmc-full-accent)!important}
html[data-jmc-theme="light"] :is(.jmc-settings-title,.jmc-color-section-head strong,.jmc-color-custom strong){color:var(--jmc-full-text)!important}
html[data-jmc-theme="light"] :is(.jmc-color-section-head small,.jmc-color-custom small,.jmc-color-group-label){color:var(--jmc-full-muted)!important}
html[data-jmc-theme="light"] :is(.jmc-color-custom,.jmc-color-swatch){background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important}

/* ---------- NAMEMC LIGHT: keep the classic dark header, but make the rest palette-aware ---------- */
html[data-jmc-theme="namemc"]{color-scheme:light}
html[data-jmc-theme="namemc"] body{
  color:var(--jmc-full-text)!important;
  background:linear-gradient(180deg,var(--jmc-full-bg2),var(--jmc-full-bg))!important;
}
html[data-jmc-theme="namemc"] nav{
  background:var(--jmc-full-nav)!important;
  border-color:color-mix(in srgb,var(--jmc-full-nav2) 72%,#000)!important;
  box-shadow:0 7px 20px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="namemc"] nav .btn{color:color-mix(in srgb,#fff 74%,var(--jmc-full-accent))!important;background:transparent!important}
html[data-jmc-theme="namemc"] nav .btn:hover{background:var(--jmc-full-nav2)!important;color:#fff!important}
html[data-jmc-theme="namemc"] nav .btn:is(.green,.active){background:var(--jmc-full-accent)!important;color:var(--jmc-full-accent-text)!important;border-color:var(--jmc-full-accent-dark)!important}
html[data-jmc-theme="namemc"] :is(.section,.card,.step,.faq,.form-panel,.form-side,.profile,.top-card,.jmc-skin-card,.jmc-gallery-card,.jmc-current-skin-card,.jmc-cape-card,.jmc-head-give){
  color:var(--jmc-full-text)!important;
  background:var(--jmc-full-surface)!important;
  border-color:var(--jmc-full-border)!important;
  box-shadow:0 4px 16px var(--jmc-full-shadow)!important;
}
html[data-jmc-theme="namemc"] :is(input,select,textarea){background:var(--jmc-full-input)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme="namemc"] :is(input,select,textarea):focus{border-color:var(--jmc-full-accent)!important;box-shadow:0 0 0 3px var(--jmc-full-accent-soft)!important}
html[data-jmc-theme="namemc"] :is(.top-toolbar,.jmc-skin-search,.finder,.controls,.toolbar-status,.rank-check-result){background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important;color:var(--jmc-full-text)!important}
html[data-jmc-theme="namemc"] :is(.edition-switch,.view-switch,.jmc-edition-switch,.jmc-model-switch,.jmc-gallery-view-switch){background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn){color:var(--jmc-full-muted)!important;background:transparent!important}
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn).active,
html[data-jmc-theme="namemc"] :is(.edition-btn,.view-btn,.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn)[aria-pressed="true"]{background:var(--jmc-full-accent)!important;color:var(--jmc-full-accent-text)!important;box-shadow:inset 0 -2px 0 var(--jmc-full-accent-dark)!important}
html[data-jmc-theme="namemc"] .jmc-settings-popover{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border)!important;box-shadow:0 18px 48px var(--jmc-full-shadow)!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice:hover{background:var(--jmc-full-surface2)!important}
html[data-jmc-theme="namemc"] .jmc-settings-choice.active{background:var(--jmc-full-accent-soft)!important;border-color:var(--jmc-full-accent)!important}

@media(max-width:760px){
  html[data-jmc-theme] nav .nav-actions>a.btn:not(.jmc-profile-nav),
  html[data-jmc-theme] nav .nav-actions>a.btn.jmc-profile-nav{
    height:40px!important;
    min-height:40px!important;
  }
}


/* ============================================================
   V115 — LIGHT TEXT FIX + SKINS CONSISTENCY
   Dark bazowy pozostaje wizualnie bez zmian poza komponentami Skiny,
   które dostają wspólną geometrię i tokeny motywu.
   ============================================================ */

/* Light: preset ma poprawne kolory już przed wykonaniem defer JS.
   Własne palety ustawione inline przez JS nadal mają pierwszeństwo. */
html[data-jmc-theme="light"]{
  --jmc-site-full-bg:#f4f8fb;--jmc-site-full-bg2:#eef4f8;--jmc-site-full-surface:#ffffff;--jmc-site-full-surface2:#f2f9fe;--jmc-site-full-surface3:#e7f5ff;
  --jmc-site-full-border:#bcd9ed;--jmc-site-full-border-soft:#d2e8f5;--jmc-site-full-text:#173b55;--jmc-site-full-muted:#68849a;--jmc-site-full-muted2:#8293a2;
  --jmc-site-full-nav:#f8fcff;--jmc-site-full-nav2:#e7f5ff;--jmc-site-full-input:#ffffff;--jmc-site-full-checker1:#edf4f8;--jmc-site-full-checker2:#d9effc;
  --jmc-site-full-shadow:rgba(47,102,141,.10);--jmc-site-full-grid:rgba(49,143,207,.055)
}

/* Jasny motyw: żadnego przypadkowego białego tekstu w nagłówkach/brandzie.
   Aktywna nawigacja jest jasnym akcentem z ciemnym tekstem, a nie białym CTA. */
html[data-jmc-theme="light"] :is(.brand,h1,h2,h3,.section-head h1,.section-head h2,.logo-block strong,.ip,.jmc-mini-map-title){color:var(--jmc-full-text)!important}
html[data-jmc-theme="light"] .hero h1 span{color:transparent!important;-webkit-text-stroke:1.35px color-mix(in srgb,var(--jmc-full-accent-dark) 74%,var(--jmc-full-text))!important}
html[data-jmc-theme="light"] nav .btn:is(.green,.active){
  color:var(--jmc-full-accent-dark)!important;
  background:linear-gradient(180deg,var(--jmc-full-surface),var(--jmc-full-accent-soft))!important;
  border-color:color-mix(in srgb,var(--jmc-full-accent) 55%,var(--jmc-full-border))!important;
  box-shadow:inset 0 -3px 0 var(--jmc-full-accent),0 4px 12px var(--jmc-full-shadow)!important
}
html[data-jmc-theme="light"] nav .btn:is(.green,.active):hover{color:var(--jmc-full-text)!important;background:var(--jmc-full-accent-soft2)!important}
html[data-jmc-theme="light"] .ip-panel .copy{
  color:var(--jmc-full-accent-dark)!important;background:var(--jmc-full-accent-soft2)!important;border-color:var(--jmc-full-border)!important
}
html[data-jmc-theme="light"] .ip-panel .copy:hover{color:var(--jmc-full-text)!important;background:color-mix(in srgb,var(--jmc-full-accent) 24%,var(--jmc-full-surface))!important}

/* Skiny: elementy, które wcześniej pozostawały w starych hardcodowanych
   granatach, korzystają teraz z tych samych tokenów co reszta strony. */
html[data-jmc-theme] .jmc-skin-wrap{gap:16px!important}
html[data-jmc-theme] :is(.jmc-edition-bar,.jmc-skin-search,.jmc-model-switch-row,.jmc-skin-tools,.jmc-skin-thumb,.jmc-head-give,.jmc-capes-head,.jmc-gallery-head){
  background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important;color:var(--jmc-full-text)!important
}
html[data-jmc-theme] :is(.jmc-skin-card,.jmc-current-skin-card,.jmc-gallery-card){
  background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border)!important;color:var(--jmc-full-text)!important;border-radius:14px!important;overflow:hidden!important
}
html[data-jmc-theme] :is(.jmc-edition-bar,.jmc-skin-search){border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}
html[data-jmc-theme] :is(.jmc-edition-copy strong,.jmc-skin-card-title,.jmc-head-give-title,.jmc-capes-title,.jmc-gallery-title,.jmc-current-skin-title,.jmc-thumb-meta strong){color:var(--jmc-full-text)!important}
html[data-jmc-theme] :is(.jmc-edition-copy small,.jmc-viewer-hint,.jmc-model-switch-label,.jmc-key,.jmc-thumb-meta small,.jmc-head-give-sub,.jmc-head-give-note,.jmc-cape-note,.jmc-gallery-subtitle,.jmc-gallery-note,.jmc-current-skin-desc,.jmc-bedrock-muted,.jmc-source-note){color:var(--jmc-full-muted)!important}
html[data-jmc-theme] :is(.jmc-value,.jmc-current-detail strong){color:var(--jmc-full-text)!important}
html[data-jmc-theme] .jmc-profile-row{border-color:var(--jmc-full-border-soft)!important}
html[data-jmc-theme] .jmc-bedrock-avatar{background:var(--jmc-full-input)!important;border-color:var(--jmc-full-border)!important;border-radius:7px!important}
html[data-jmc-theme] .jmc-bedrock-link{color:var(--jmc-full-accent)!important}

html[data-jmc-theme] .jmc-viewer{
  background-color:var(--jmc-full-checker1)!important;
  background-image:linear-gradient(45deg,var(--jmc-full-checker2) 25%,transparent 25%),linear-gradient(-45deg,var(--jmc-full-checker2) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--jmc-full-checker2) 75%),linear-gradient(-45deg,transparent 75%,var(--jmc-full-checker2) 75%)!important;
  border-color:var(--jmc-full-border-soft)!important
}
html[data-jmc-theme] .jmc-icon-btn{background:color-mix(in srgb,var(--jmc-full-surface) 92%,transparent)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important;border-radius:8px!important;backdrop-filter:blur(8px)}
html[data-jmc-theme] .jmc-icon-btn:hover{background:var(--jmc-full-surface3)!important;border-color:var(--jmc-full-accent)!important;color:var(--jmc-full-text)!important}

html[data-jmc-theme] :is(.jmc-setting select,.jmc-head-give-select,.jmc-check,.jmc-gallery-actions input){
  background:var(--jmc-full-input)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important;border-radius:8px!important
}
html[data-jmc-theme] .jmc-check{height:40px!important}
html[data-jmc-theme] .jmc-head-give-code{background:var(--jmc-full-input)!important;color:var(--jmc-full-text)!important;border-color:var(--jmc-full-border)!important;border-radius:8px!important}
html[data-jmc-theme] .jmc-status{background:var(--jmc-full-surface2)!important;color:var(--jmc-full-muted)!important;border-color:var(--jmc-full-border-soft)!important;border-radius:9px!important}
html[data-jmc-theme] .jmc-status.ok{color:var(--jmc-full-accent)!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 54%,var(--jmc-full-border))!important}

/* Peleryny były najbardziej odstającym fragmentem Skinów. */
html[data-jmc-theme] .jmc-capes-head{padding:12px 14px!important;border-top:1px solid var(--jmc-full-border-soft)!important;border-bottom:1px solid var(--jmc-full-border-soft)!important}
html[data-jmc-theme] .jmc-capes-badge{background:var(--jmc-full-accent-soft)!important;color:var(--jmc-full-accent)!important;border-color:color-mix(in srgb,var(--jmc-full-accent) 45%,var(--jmc-full-border))!important;border-radius:999px!important}
html[data-jmc-theme] .jmc-cape-grid{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border-soft)!important}
html[data-jmc-theme] .jmc-cape{background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important;border-radius:9px!important;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease!important}
html[data-jmc-theme] .jmc-cape:hover{transform:translateY(-2px)!important;background:var(--jmc-full-surface3)!important;border-color:var(--jmc-full-accent)!important;box-shadow:0 8px 18px var(--jmc-full-shadow)!important}
html[data-jmc-theme] .jmc-cape.active{border-color:var(--jmc-full-accent)!important;box-shadow:0 0 0 2px var(--jmc-full-accent-soft)!important}
html[data-jmc-theme] .jmc-cape canvas{background:var(--jmc-full-input)!important;border-radius:4px!important}
html[data-jmc-theme] .jmc-cape.none{color:var(--jmc-full-muted)!important}

html[data-jmc-theme] .jmc-current-skin-preview{background:var(--jmc-full-checker1)!important;border-color:var(--jmc-full-border-soft)!important}
html[data-jmc-theme] .jmc-current-skin-preview::before{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border)!important}
html[data-jmc-theme] .jmc-current-detail{background:var(--jmc-full-surface2)!important;border-color:var(--jmc-full-border-soft)!important;border-radius:8px!important}
html[data-jmc-theme] .jmc-current-detail small{color:var(--jmc-full-muted)!important}
html[data-jmc-theme] .jmc-current-skin-badge{background:var(--jmc-full-accent-soft)!important;border-color:var(--jmc-full-accent)!important;color:var(--jmc-full-accent)!important;border-radius:999px!important}

html[data-jmc-theme] .jmc-gallery-grid{gap:12px!important}
html[data-jmc-theme] .jmc-gallery-item{background:var(--jmc-full-surface)!important;border-color:var(--jmc-full-border-soft)!important;border-radius:11px!important;overflow:hidden!important}
html[data-jmc-theme] .jmc-gallery-image{background:var(--jmc-full-checker1)!important}
html[data-jmc-theme] .jmc-gallery-image::before{background:var(--jmc-full-input)!important;border-color:var(--jmc-full-border-soft)!important;border-radius:8px!important}
html[data-jmc-theme] .jmc-gallery-item:hover{border-color:var(--jmc-full-accent)!important;box-shadow:0 9px 22px var(--jmc-full-shadow)!important}
html[data-jmc-theme] .jmc-gallery-item.active{border-color:var(--jmc-full-accent)!important;box-shadow:0 0 0 3px var(--jmc-full-accent-soft),0 10px 25px var(--jmc-full-shadow)!important}
html[data-jmc-theme] .jmc-gallery-item.active::after{background:var(--jmc-full-accent)!important;border-color:var(--jmc-full-accent-dark)!important;color:var(--jmc-full-accent-text)!important;border-radius:6px!important}

/* Light Skiny: aktywne segmented controls mają ciemny tekst, więc nie ma
   białych etykiet ginących na jasnych akcentach. */
html[data-jmc-theme="light"] :is(.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn).active,
html[data-jmc-theme="light"] :is(.jmc-edition-btn,.jmc-model-btn,.jmc-gallery-view-btn)[aria-pressed="true"]{
  color:var(--jmc-full-accent-dark)!important;background:var(--jmc-full-accent-soft2)!important;border-color:var(--jmc-full-accent)!important;box-shadow:inset 0 -2px 0 var(--jmc-full-accent)!important
}

/* ============================================================
   V116 — MAP CAMERA MODES
   Mini mapa: perspektywa 1. osoby + dron, wspólny HUD i switch.
   ============================================================ */
html[data-jmc-theme] .jmc-mini-map-head-actions,
html[data-jmc-theme] .head-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;min-width:0;
}
html[data-jmc-theme] .head-actions .jmc-profile-nav{
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;
}
html[data-jmc-theme] :is(.jmc-map-camera-switch,.map-camera-switch){
  display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;
  padding:3px;border:1px solid var(--jmc-full-border)!important;border-radius:10px;
  background:var(--jmc-full-input)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn){
  appearance:none;min-width:92px;min-height:38px;padding:0 12px;border:0!important;border-radius:7px;
  background:transparent!important;color:var(--jmc-full-muted)!important;cursor:pointer;
  font:950 .59rem/1 Inter,system-ui,sans-serif;letter-spacing:.075em;text-transform:uppercase;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .08s ease;
}
html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn):hover{
  color:var(--jmc-full-text)!important;background:var(--jmc-full-surface2)!important;
}
html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn).active,
html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn)[aria-pressed="true"]{
  color:var(--jmc-full-accent-text)!important;background:var(--jmc-full-accent)!important;
  box-shadow:0 5px 14px var(--jmc-full-accent-soft)!important;
}
html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn):active{transform:translateY(1px)}
html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn):focus-visible{
  outline:2px solid var(--jmc-full-accent)!important;outline-offset:2px!important;
}

html[data-jmc-theme] .jmc-mini-map-frame,
html[data-jmc-theme] .map{
  isolation:isolate;perspective:900px;perspective-origin:50% 46%;
}
html[data-jmc-theme] .jmc-mini-map-frame iframe,
html[data-jmc-theme] .map iframe{
  transition:transform .34s cubic-bezier(.2,.8,.2,1),filter .25s ease,opacity .2s ease,left .34s ease,top .34s ease,width .34s ease,height .34s ease;
  transform-origin:50% 53%;backface-visibility:hidden;
}

/* DRON — czytelny, klasyczny widok z góry. */
html[data-jmc-theme] .jmc-mini-map-frame[data-camera="drone"] iframe{
  left:0!important;top:-215px!important;width:100%!important;height:900px!important;transform:none!important;filter:none!important;
}
html[data-jmc-theme] .map[data-camera="drone"] iframe{
  left:0!important;top:-215px!important;width:100%!important;height:820px!important;transform:none!important;filter:none!important;
}

/* 1. OSOBA — niski widok perspektywiczny. To kamera na tej samej mapie,
   dzięki czemu zachowuje współrzędne i interakcje bez osobnego backendu. */
html[data-jmc-theme] .jmc-mini-map-frame[data-camera="person"]{
  background:linear-gradient(180deg,var(--jmc-full-bg2) 0 18%,var(--jmc-full-surface2) 58%,var(--jmc-full-bg) 100%)!important;
  overflow:hidden!important;
}
html[data-jmc-theme] .jmc-mini-map-frame[data-camera="person"] iframe{
  left:-19%!important;top:-258px!important;width:138%!important;height:980px!important;
  transform:perspective(920px) rotateX(54deg) translateY(56px) scale(1.16)!important;
  transform-origin:50% 54%!important;filter:saturate(1.06) contrast(1.04) brightness(.9)!important;
}
html[data-jmc-theme] .map[data-camera="person"]{
  background:linear-gradient(180deg,var(--jmc-full-bg2) 0 15%,var(--jmc-full-surface2) 55%,var(--jmc-full-bg) 100%)!important;
  overflow:hidden!important;
}
html[data-jmc-theme] .map[data-camera="person"] iframe{
  left:-15%!important;top:-245px!important;width:130%!important;height:980px!important;
  transform:perspective(1050px) rotateX(53deg) translateY(64px) scale(1.18)!important;
  transform-origin:50% 54%!important;filter:saturate(1.06) contrast(1.04) brightness(.9)!important;
}

html[data-jmc-theme] :is(.jmc-map-person-hud,.person-hud){
  position:absolute;inset:0;z-index:6;pointer-events:none;display:none;overflow:hidden;
  background:linear-gradient(180deg,rgba(0,0,0,.20),transparent 22%,transparent 65%,rgba(0,0,0,.28));
}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-person-hud,.person-hud){display:block}
html[data-jmc-theme] :is(.jmc-map-horizon,.horizon){
  position:absolute;left:8%;right:8%;top:31%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18) 18%,rgba(255,255,255,.34) 50%,rgba(255,255,255,.18) 82%,transparent);
  box-shadow:0 1px 0 rgba(0,0,0,.28);
}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross){
  position:absolute;left:50%;top:51%;width:28px;height:28px;transform:translate(-50%,-50%);
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.85));
}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross)::before,
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross)::after,
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross) span::before,
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross) span::after{
  content:"";position:absolute;background:rgba(244,250,255,.9);border-radius:2px;
}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross)::before{width:8px;height:2px;left:0;top:13px}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross)::after{width:8px;height:2px;right:0;top:13px}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross) span::before{width:2px;height:8px;left:13px;top:0}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross) span::after{width:2px;height:8px;left:13px;bottom:0}
html[data-jmc-theme] :is(.jmc-map-compass,.compass){
  position:absolute;top:13px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;
  min-width:126px;justify-content:center;padding:7px 11px;border:1px solid rgba(255,255,255,.17);border-radius:999px;
  background:rgba(3,8,14,.72);backdrop-filter:blur(8px);color:#a9bbca;font:900 .56rem/1 Inter,system-ui,sans-serif;letter-spacing:.12em;
}
html[data-jmc-theme] :is(.jmc-map-compass,.compass) strong{color:#fff;font-size:.67rem}
html[data-jmc-theme] :is(.jmc-map-camera-tag,.camera-tag),
html[data-jmc-theme] :is(.jmc-map-drone-tag,.drone-tag){
  position:absolute;z-index:7;right:12px;bottom:12px;padding:7px 9px;border:1px solid rgba(255,255,255,.16);border-radius:8px;
  background:rgba(3,8,14,.78);backdrop-filter:blur(7px);color:#e8f4ff;font:950 .54rem/1 Inter,system-ui,sans-serif;letter-spacing:.09em;
  pointer-events:none;
}
html[data-jmc-theme] :is(.jmc-map-drone-tag,.drone-tag){display:none}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="drone"] :is(.jmc-map-drone-tag,.drone-tag){display:block}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-drone-tag,.drone-tag){display:none}

/* Pełna mapa: stare krzyżyki pokazujemy tylko w trybie drona. */
html[data-jmc-theme] .map[data-camera="person"]>.cross{display:none!important}
html[data-jmc-theme] .map[data-camera="drone"]>.cross{display:block!important}
html[data-jmc-theme] .map>.badge{z-index:8!important}

html[data-jmc-theme="light"] :is(.jmc-map-camera-switch,.map-camera-switch){box-shadow:inset 0 1px 0 #fff,0 4px 14px rgba(39,77,104,.07)!important}
html[data-jmc-theme="light"] :is(.jmc-map-camera-tag,.camera-tag,.jmc-map-drone-tag,.drone-tag,.jmc-map-compass,.compass){background:rgba(28,45,58,.82)!important;color:#f5fbff!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) :is(.jmc-map-camera-switch,.map-camera-switch){border-radius:6px!important}
html:is([data-jmc-theme="namemc"],[data-jmc-theme="namemc-dark"]) :is(.jmc-map-camera-btn,.map-camera-btn){border-radius:4px!important;text-transform:none!important;letter-spacing:0!important;font-weight:700!important}

@media(max-width:760px){
  html[data-jmc-theme] .jmc-mini-map-head{align-items:flex-start!important;flex-direction:column!important}
  html[data-jmc-theme] .jmc-mini-map-head-actions{width:100%;justify-content:space-between}
  html[data-jmc-theme] :is(.jmc-map-camera-switch,.map-camera-switch){width:100%}
  html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn){min-width:0;width:100%}
  html[data-jmc-theme] .controls .map-camera-switch{flex:1 1 100%}
  html[data-jmc-theme] .head-actions{margin-top:10px;justify-content:flex-start}
  html[data-jmc-theme] .jmc-mini-map-frame[data-camera="person"] iframe{left:-30%!important;top:-215px!important;width:160%!important;height:820px!important;transform:perspective(740px) rotateX(55deg) translateY(48px) scale(1.18)!important}
  html[data-jmc-theme] .map[data-camera="person"] iframe{left:-26%!important;top:-208px!important;width:152%!important;height:840px!important;transform:perspective(760px) rotateX(54deg) translateY(54px) scale(1.2)!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-jmc-theme] .jmc-mini-map-frame iframe,html[data-jmc-theme] .map iframe,html[data-jmc-theme] :is(.jmc-map-camera-btn,.map-camera-btn){transition:none!important}
}


/* ============================================================
   V117 — FIRST PERSON CAMERA POLISH
   Bardziej czytelny horyzont, obrót kierunku i HUD. Seed pozostaje
   wyłącznie technicznym parametrem mapy i nie jest prezentowany w UI.
   ============================================================ */
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"]{
  --fp-yaw:0deg;
  perspective:1320px!important;
  perspective-origin:50% 40%!important;
  background:var(--jmc-full-bg2)!important;
}
html[data-jmc-theme] .jmc-mini-map-frame[data-camera="person"] iframe{
  left:-31%!important;top:-172px!important;width:162%!important;height:940px!important;
  transform:perspective(1280px) rotateX(66deg) rotateZ(var(--fp-yaw)) translateY(112px) scale(1.36)!important;
  transform-origin:50% 56%!important;
  filter:saturate(1.08) contrast(1.07) brightness(.88)!important;
}
html[data-jmc-theme] .map[data-camera="person"] iframe{
  left:-28%!important;top:-160px!important;width:156%!important;height:980px!important;
  transform:perspective(1450px) rotateX(65deg) rotateZ(var(--fp-yaw)) translateY(118px) scale(1.4)!important;
  transform-origin:50% 56%!important;
  filter:saturate(1.08) contrast(1.07) brightness(.89)!important;
}
html[data-jmc-theme] :is(.jmc-map-person-hud,.person-hud){
  background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 38%,transparent 73%,rgba(0,0,0,.34))!important;
}
html[data-jmc-theme] :is(.jmc-map-sky,.fp-sky){
  position:absolute;z-index:0;left:0;right:0;top:0;height:39%;
  background:
    radial-gradient(circle at 74% 32%,color-mix(in srgb,var(--jmc-full-accent) 18%,transparent),transparent 22%),
    linear-gradient(180deg,color-mix(in srgb,var(--jmc-full-bg2) 84%,var(--jmc-full-accent) 16%),color-mix(in srgb,var(--jmc-full-surface2) 88%,var(--jmc-full-accent) 12%));
  border-bottom:1px solid color-mix(in srgb,var(--jmc-full-border) 68%,transparent);
}
html[data-jmc-theme="light"] :is(.jmc-map-sky,.fp-sky){
  background:
    radial-gradient(circle at 74% 30%,rgba(255,255,255,.88),transparent 18%),
    linear-gradient(180deg,color-mix(in srgb,var(--jmc-full-accent-soft2) 54%,#e9f6ff 46%),color-mix(in srgb,var(--jmc-full-surface2) 68%,#d9effb 32%));
}
html[data-jmc-theme] :is(.jmc-map-haze,.fp-haze){
  position:absolute;z-index:1;left:0;right:0;top:34%;height:14%;pointer-events:none;
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--jmc-full-bg2) 36%,transparent) 48%,transparent);
  backdrop-filter:blur(.55px);
}
html[data-jmc-theme] :is(.jmc-map-horizon,.horizon){
  z-index:2!important;top:39%!important;left:5%!important;right:5%!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.15) 18%,rgba(255,255,255,.42) 50%,rgba(255,255,255,.15) 82%,transparent)!important;
}
html[data-jmc-theme] :is(.jmc-map-crosshair,.fp-cross){z-index:4!important;top:53%!important;width:30px!important;height:30px!important}
html[data-jmc-theme] :is(.jmc-map-compass,.compass){z-index:5!important;top:12px!important;min-width:154px!important;gap:25px!important}
html[data-jmc-theme] :is(.jmc-map-compass,.compass) span{min-width:22px;text-align:center}
html[data-jmc-theme] :is(.jmc-map-compass,.compass) strong{min-width:28px;text-align:center;color:#fff!important}
html[data-jmc-theme] :is(.jmc-map-camera-tag,.camera-tag){z-index:8!important}

html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls){
  position:absolute;z-index:10;left:12px;bottom:12px;display:none;grid-template-columns:repeat(3,40px);gap:5px;padding:5px;
  border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(3,8,14,.76);backdrop-filter:blur(9px);box-shadow:0 7px 22px rgba(0,0,0,.24)
}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-look-controls,.map-look-controls){display:grid}
html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls) button{
  appearance:none;width:40px;height:38px;padding:0;border:1px solid rgba(255,255,255,.12)!important;border-radius:7px!important;background:rgba(255,255,255,.055)!important;color:#f4f9fc!important;
  display:grid!important;place-items:center!important;font:950 .74rem/1 Inter,system-ui,sans-serif!important;cursor:pointer;box-shadow:none!important;transform:none!important
}
html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls) button:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.24)!important}
html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls) button:active{transform:translateY(1px)!important}
html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls) button:focus-visible{outline:2px solid var(--jmc-full-accent)!important;outline-offset:2px!important}
html[data-jmc-theme="light"] :is(.jmc-map-look-controls,.map-look-controls){background:rgba(28,45,58,.82)!important}

@media(max-width:700px){
  html[data-jmc-theme] .jmc-mini-map-frame[data-camera="person"] iframe{left:-42%!important;top:-158px!important;width:184%!important;height:850px!important;transform:perspective(980px) rotateX(67deg) rotateZ(var(--fp-yaw)) translateY(104px) scale(1.31)!important}
  html[data-jmc-theme] .map[data-camera="person"] iframe{left:-38%!important;top:-154px!important;width:176%!important;height:900px!important;transform:perspective(1060px) rotateX(66deg) rotateZ(var(--fp-yaw)) translateY(108px) scale(1.34)!important}
  html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls){left:8px;bottom:8px;grid-template-columns:repeat(3,38px);gap:4px;padding:4px}
  html[data-jmc-theme] :is(.jmc-map-look-controls,.map-look-controls) button{width:38px;height:36px}
  html[data-jmc-theme] :is(.jmc-map-camera-tag,.camera-tag){right:8px!important;bottom:8px!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] iframe{transition:none!important}
}

/* ============================================================
   V119 — REAL FIRST-PERSON 3D (WebGL)
   DRON nadal korzysta z mapy 2D; 1. osoba dostaje osobny renderer 3D.
   ============================================================ */
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map){isolation:isolate}
html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage){
  position:absolute;inset:0;z-index:4;display:none;overflow:hidden;
  background:linear-gradient(180deg,#77b7e3 0%,#a9d0e8 43%,#d7e3d9 44%,#9ebc82 100%);
}
html[data-jmc-theme] :is(.jmc-fp3d-canvas,.fp3d-canvas){position:absolute;inset:0;width:100%;height:100%;display:block;outline:0;touch-action:none;cursor:grab}
html[data-jmc-theme] :is(.jmc-fp3d-canvas,.fp3d-canvas):active{cursor:grabbing}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"]>iframe{display:none!important}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-fp3d-stage,.fp3d-stage){display:block}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="drone"] :is(.jmc-fp3d-stage,.fp3d-stage){display:none!important}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="drone"]>iframe{display:block!important;transform:none!important}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-sky,.fp-sky,.jmc-map-haze,.fp-haze,.jmc-map-horizon,.horizon){display:none!important}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-person-hud,.person-hud){z-index:8!important;pointer-events:none!important;background:none!important}
html[data-jmc-theme] :is(.jmc-fp3d-help,.fp3d-help){
  position:absolute;left:10px;bottom:10px;z-index:10;padding:7px 9px;border:1px solid rgba(255,255,255,.18);border-radius:8px;
  background:rgba(4,11,18,.72);backdrop-filter:blur(7px);color:#eaf6ff;font:800 .55rem/1.35 Inter,system-ui,sans-serif;letter-spacing:.04em;pointer-events:none
}
html[data-jmc-theme] :is(.jmc-fp3d-enter,.fp3d-enter){
  position:absolute;right:10px;top:10px;z-index:11;min-height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.2);border-radius:8px;
  background:rgba(4,11,18,.76);color:#fff;font:900 .55rem/1 Inter,system-ui,sans-serif;letter-spacing:.07em;cursor:pointer
}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile){position:absolute;right:10px;bottom:10px;z-index:11;display:none;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(3,42px);gap:5px}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile) button{border:1px solid rgba(255,255,255,.2);border-radius:8px;background:rgba(4,11,18,.72);color:#fff;font-weight:1000;touch-action:none}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile) [data-fp3d-key="KeyW"]{grid-column:2}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile) [data-fp3d-key="KeyA"]{grid-column:1;grid-row:2}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile) [data-fp3d-key="KeyS"]{grid-column:2;grid-row:2}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile) [data-fp3d-key="KeyD"]{grid-column:3;grid-row:2}
html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile) .fp3d-jump{grid-column:1/4;grid-row:3;width:100%;font-size:.62rem;letter-spacing:.08em}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-look-controls,.map-look-controls){z-index:12!important}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-camera-tag,.camera-tag){z-index:12!important}
html[data-jmc-theme="light"] :is(.jmc-fp3d-help,.fp3d-help,.jmc-fp3d-enter,.fp3d-enter){background:rgba(24,39,50,.74)!important;color:#fff!important}
@media(max-width:760px){
  html[data-jmc-theme] :is(.jmc-fp3d-mobile,.fp3d-mobile){display:grid}
  html[data-jmc-theme] :is(.jmc-fp3d-help,.fp3d-help){right:10px;bottom:94px;text-align:center}
  html[data-jmc-theme] :is(.jmc-fp3d-enter,.fp3d-enter){display:none}
}
@media(prefers-reduced-motion:reduce){html[data-jmc-theme] :is(.jmc-fp3d-canvas,.fp3d-canvas){scroll-behavior:auto}}
html[data-jmc-theme] .map>.badge{z-index:13!important}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map).jmc-fp3d-failed :is(.jmc-fp3d-stage,.fp3d-stage)::after{
  content:"WebGL 3D jest niedostępny w tej przeglądarce.";position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;background:var(--jmc-full-surface2);color:var(--jmc-full-text);font-weight:900;z-index:30
}


/* V119 — full map home action */
html[data-jmc-theme] .head-actions .map-home-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap;min-width:max-content}


/* ============================================================
   V120 — CREATIVE-STYLE FLIGHT
   2x Space toggles flight. Space ascends; Shift descends.
   ============================================================ */
html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage)::before{
  content:"LATANIE";position:absolute;left:50%;top:10px;z-index:14;transform:translateX(-50%) translateY(-5px);
  padding:6px 9px;border:1px solid rgba(153,224,255,.38);border-radius:8px;background:rgba(4,11,18,.78);color:#dff7ff;
  font:1000 .52rem/1 Inter,system-ui,sans-serif;letter-spacing:.12em;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease
}
html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage).jmc-fp3d-flying::before{opacity:1;transform:translateX(-50%) translateY(0)}
html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage).jmc-fp3d-flying :is(.jmc-fp3d-canvas,.fp3d-canvas){cursor:crosshair}
@media(max-width:760px){html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage)::before{top:8px}}
@media(prefers-reduced-motion:reduce){html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage)::before{transition:none}}

/* ============================================================
   V121 — MAP VISUAL UPGRADE
   Richer WebGL presentation, clearer map chrome and HUD.
   ============================================================ */
html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage){
  background:
    radial-gradient(circle at 78% 16%,rgba(255,244,184,.88) 0 18px,rgba(255,239,164,.26) 19px 54px,transparent 55px),
    linear-gradient(180deg,#69ade0 0%,#91c6e8 36%,#c8dfe6 58%,#d9dfc6 59%,#a7bd7b 100%)!important;
}
html[data-jmc-theme] :is(.jmc-fp3d-stage,.fp3d-stage)::after{
  content:"";position:absolute;inset:0;z-index:7;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,20,30,.08),transparent 24%,transparent 69%,rgba(3,8,13,.22)),radial-gradient(ellipse at center,transparent 48%,rgba(2,7,12,.18) 100%);
}
html[data-jmc-theme] :is(.jmc-fp3d-canvas,.fp3d-canvas){z-index:2;filter:saturate(1.06) contrast(1.025)}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"] :is(.jmc-map-person-hud,.person-hud){
  background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 24%,transparent 72%,rgba(0,0,0,.22))!important;
}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map){
  border-radius:14px!important;border-color:color-mix(in srgb,var(--jmc-full-border) 82%,var(--jmc-full-accent) 18%)!important;
  box-shadow:0 16px 42px var(--jmc-full-shadow),inset 0 1px 0 rgba(255,255,255,.045)!important;
}
html[data-jmc-theme] :is(.jmc-mini-map-frame,.map)[data-camera="person"]{
  background:#74b5df!important;
}
html[data-jmc-theme] :is(.jmc-fp3d-help,.fp3d-help){
  max-width:min(520px,calc(100% - 190px));padding:8px 11px!important;border-color:rgba(255,255,255,.22)!important;
  background:rgba(3,10,17,.74)!important;box-shadow:0 7px 20px rgba(0,0,0,.18)!important;line-height:1.45!important;
}
html[data-jmc-theme] :is(.jmc-fp3d-enter,.fp3d-enter){
  min-height:38px!important;padding:0 13px!important;border-color:rgba(255,255,255,.26)!important;
  background:rgba(3,10,17,.76)!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important;
}
html[data-jmc-theme] :is(.jmc-map-compass,.compass){
  border-color:rgba(255,255,255,.23)!important;background:rgba(3,10,17,.74)!important;box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
}
html[data-jmc-theme] :is(.jmc-map-camera-tag,.camera-tag,.jmc-map-drone-tag,.drone-tag){
  border-color:rgba(255,255,255,.22)!important;background:rgba(3,10,17,.76)!important;box-shadow:0 7px 20px rgba(0,0,0,.16)!important;
}
html[data-jmc-theme] .map>.badge{
  border-radius:8px!important;background:rgba(3,10,17,.78)!important;border-color:rgba(255,255,255,.20)!important;color:#e8f6ff!important;backdrop-filter:blur(8px);
}
html[data-jmc-theme] :is(.jmc-mini-map-controls,.controls) input{
  border-radius:9px!important;border-color:var(--jmc-full-border)!important;background:var(--jmc-full-input)!important;color:var(--jmc-full-text)!important;
}
html[data-jmc-theme] :is(.jmc-mini-map-controls,.controls) input:focus{
  border-color:var(--jmc-full-accent)!important;box-shadow:0 0 0 3px var(--jmc-full-accent-soft)!important;outline:0!important;
}
html[data-jmc-theme] .map[data-camera="drone"] iframe,
html[data-jmc-theme] .jmc-mini-map-frame[data-camera="drone"] iframe{filter:saturate(1.04) contrast(1.02)!important}
html[data-jmc-theme="light"] :is(.jmc-fp3d-stage,.fp3d-stage){filter:none!important}
@media(max-width:760px){
  html[data-jmc-theme] :is(.jmc-fp3d-help,.fp3d-help){max-width:calc(100% - 20px)!important;font-size:.51rem!important}
  html[data-jmc-theme] :is(.jmc-mini-map-frame,.map){border-radius:11px!important}
}

/* ============================================================
   V125 — FULL MOBILE PASS
   Cała strona: kompaktowy nav, lepszy rytm, touch targets,
   czytelne karty/formularze oraz układy bez poziomego chaosu.
   Desktop pozostaje bez zmian.
   ============================================================ */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  html[data-jmc-theme] body{font-size:15px;-webkit-text-size-adjust:100%}
  html[data-jmc-theme] :is(.shell,.wrap){width:calc(100% - 16px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}

  /* NAV: jedna kompaktowa belka marki + przewijane zakładki zamiast wielopiętrowego menu. */
  html[data-jmc-theme] nav{
    height:auto!important;min-height:0!important;padding:10px!important;margin-top:6px!important;gap:9px!important;
    align-items:stretch!important;flex-direction:column!important;border-radius:13px!important
  }
  html[data-jmc-theme] nav .brand{min-height:42px!important;align-self:flex-start!important;font-size:.82rem!important;line-height:1.1!important}
  html[data-jmc-theme] nav .brand-logo{width:34px!important;height:34px!important;border-radius:8px!important}
  html[data-jmc-theme] nav .brand-cube{width:29px!important;height:29px!important}
  html[data-jmc-theme] .nav-actions{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;max-width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;padding:2px 1px 5px!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain
  }
  html[data-jmc-theme] .nav-actions::-webkit-scrollbar{height:0}
  html[data-jmc-theme] .nav-actions>.btn,
  html[data-jmc-theme] .nav-actions>.jmc-settings-slot,
  html[data-jmc-theme] nav .jmc-profile-nav{flex:0 0 auto!important;scroll-snap-align:start}
  html[data-jmc-theme] nav .btn{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;height:40px!important;min-height:40px!important;
    padding:0 11px!important;border-radius:9px!important;white-space:nowrap!important;font-size:.61rem!important;line-height:1!important;letter-spacing:.045em!important
  }
  html[data-jmc-theme] nav .jmc-profile-nav{max-width:190px!important;gap:7px!important}
  html[data-jmc-theme] nav .jmc-profile-nav-head{width:25px!important;height:25px!important}
  html[data-jmc-theme] .jmc-settings-button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}

  /* Ustawienia nie mogą wypaść poza ekran telefonu. */
  html[data-jmc-theme] .jmc-settings-popover{
    position:fixed!important;left:8px!important;right:8px!important;top:72px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 84px)!important;
    overflow:auto!important;border-radius:14px!important;padding:12px!important
  }

  /* Globalny rytm mobilny. */
  html[data-jmc-theme] main{padding-left:0!important;padding-right:0!important}
  html[data-jmc-theme] .section{padding:20px 14px!important;margin-bottom:14px!important;border-radius:14px!important}
  html[data-jmc-theme] .section-head{display:block!important;margin-bottom:18px!important}
  html[data-jmc-theme] .section-head h2{font-size:clamp(1.45rem,8vw,2.1rem)!important;line-height:1!important;letter-spacing:-.04em!important}
  html[data-jmc-theme] .section-head p{margin-top:9px!important;font-size:.84rem!important;line-height:1.55!important}
  html[data-jmc-theme] :is(input,textarea,select){font-size:16px!important}
  html[data-jmc-theme] :is(.btn,button,input,select){touch-action:manipulation}

  /* HOME */
  html[data-jmc-theme] .hero{
    min-height:auto!important;display:flex!important;flex-direction:column!important;gap:28px!important;padding:42px 2px 46px!important
  }
  html[data-jmc-theme] .hero>div{min-width:0!important;width:100%!important}
  html[data-jmc-theme] .hero h1{font-size:clamp(2.85rem,15vw,4.5rem)!important;line-height:.9!important;letter-spacing:-.06em!important;overflow-wrap:anywhere}
  html[data-jmc-theme] .eyebrow{margin-bottom:14px!important;font-size:.58rem!important;letter-spacing:.11em!important}
  html[data-jmc-theme] .hero-lead{margin-top:18px!important;font-size:.92rem!important;line-height:1.62!important}
  html[data-jmc-theme] .ip-panel{display:grid!important;grid-template-columns:1fr!important;margin-top:22px!important;border-radius:12px!important}
  html[data-jmc-theme] .ip-meta{padding:14px 15px!important;min-width:0!important}
  html[data-jmc-theme] .ip{font-size:1rem!important;overflow-wrap:anywhere}
  html[data-jmc-theme] .ip-panel .copy{width:100%!important;min-width:0!important;min-height:48px!important;border-width:1px 0 0!important;border-radius:0 0 11px 11px!important}
  html[data-jmc-theme] .hero-notes{gap:6px!important;margin-top:12px!important}
  html[data-jmc-theme] .chip{padding:6px 8px!important;font-size:.59rem!important}
  html[data-jmc-theme] .showcase{min-height:245px!important;width:100%!important;border-radius:16px!important}
  html[data-jmc-theme] .logo-block{width:145px!important;height:145px!important;border-radius:15px!important}
  html[data-jmc-theme] .logo-block strong{font-size:2.45rem!important}
  html[data-jmc-theme] :is(.steps,.server-grid,.form-wrap){grid-template-columns:1fr!important;gap:10px!important}
  html[data-jmc-theme] :is(.step,.card,.form-side,.form-panel){padding:17px!important;border-radius:11px!important}
  html[data-jmc-theme] .faq{gap:8px!important}
  html[data-jmc-theme] .faq summary{padding:15px!important;gap:12px!important;font-size:.88rem!important}
  html[data-jmc-theme] .faq .answer{padding:0 15px 15px!important;font-size:.84rem!important;line-height:1.6!important}
  html[data-jmc-theme] .form-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  html[data-jmc-theme] .form-actions .btn{width:100%!important;min-height:46px!important}
  html[data-jmc-theme] footer{display:grid!important;gap:6px!important;padding:28px 4px 34px!important;font-size:.72rem!important}

  /* MINI MAPA NA HOME */
  html[data-jmc-theme] .jmc-mini-map-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px!important}
  html[data-jmc-theme] .jmc-mini-map-head-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important}
  html[data-jmc-theme] .jmc-map-camera-switch{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  html[data-jmc-theme] .jmc-map-camera-btn{min-height:42px!important}
  html[data-jmc-theme] .jmc-mini-map-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px!important}
  html[data-jmc-theme] .jmc-mini-map-controls label{min-width:0!important}
  html[data-jmc-theme] .jmc-mini-map-controls input{width:100%!important;height:44px!important}
  html[data-jmc-theme] .jmc-mini-map-controls :is(button,.btn){min-height:44px!important;width:100%!important}
  html[data-jmc-theme] .jmc-mini-map-frame{height:430px!important;border-radius:0!important}
  html[data-jmc-theme] .jmc-fp3d-help{max-width:calc(100% - 16px)!important;font-size:.52rem!important;line-height:1.35!important}
  html[data-jmc-theme] .jmc-fp3d-enter{min-height:42px!important;padding:0 12px!important}

  /* TOP */
  html[data-jmc-theme] .top-toolbar{padding:10px!important;border-radius:12px!important;gap:9px!important}
  html[data-jmc-theme] .top-toolbar-row.top-toolbar-main{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] :is(.edition-switch,.view-switch){width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-jmc-theme] :is(.edition-btn,.view-btn){min-height:42px!important;padding:0 8px!important;font-size:.55rem!important}
  html[data-jmc-theme] .top-search{width:100%!important}
  html[data-jmc-theme] .top-search input{height:44px!important;min-height:44px!important}
  html[data-jmc-theme] .top-search-clear{height:44px!important;min-height:44px!important}
  html[data-jmc-theme] .rank-check-btn{width:100%!important;min-height:44px!important}
  html[data-jmc-theme] .toolbar-status{width:100%!important;min-height:42px!important}
  html[data-jmc-theme] .top-toolbar-row.top-toolbar-bottom{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .top-toolbar-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  html[data-jmc-theme] .top-toolbar-actions .btn{width:100%!important;min-height:42px!important}
  html[data-jmc-theme] .top-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-jmc-theme] .top-card{min-width:0!important;border-radius:11px!important}
  html[data-jmc-theme] .preview{height:118px!important;padding:8px!important}
  html[data-jmc-theme] .preview canvas,html[data-jmc-theme] .preview img{max-width:82px!important;max-height:82px!important}
  html[data-jmc-theme] .meta{padding:8px!important}
  html[data-jmc-theme] .name{font-size:.61rem!important;line-height:1.25!important}
  html[data-jmc-theme] .wearers{font-size:.55rem!important}
  html[data-jmc-theme] .card-actions{grid-template-columns:1fr!important;gap:5px!important}
  html[data-jmc-theme] .card-actions .btn{min-height:34px!important;font-size:.48rem!important}
  html[data-jmc-theme] .rank-check-result{grid-template-columns:48px minmax(0,1fr)!important;padding:10px!important}
  html[data-jmc-theme] .rank-check-position{grid-column:1/-1!important;text-align:left!important}
  html[data-jmc-theme] .modal{padding:6px!important;align-items:flex-start!important;overflow:auto!important}
  html[data-jmc-theme] .modal-card{width:100%!important;max-width:none!important;margin:6px 0!important;border-radius:13px!important}
  html[data-jmc-theme] .modal-grid{grid-template-columns:1fr!important}
  html[data-jmc-theme] .viewer-wrap{height:330px!important}

  /* SKINY */
  html[data-jmc-theme] .jmc-skin-layout{grid-template-columns:1fr!important;gap:12px!important}
  html[data-jmc-theme] .jmc-skin-card{padding:14px!important;border-radius:13px!important}
  html[data-jmc-theme] .jmc-skin-search{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .jmc-skin-search .btn{width:100%!important;min-height:46px!important}
  html[data-jmc-theme] .jmc-edition-bar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .jmc-edition-switch{width:100%!important}
  html[data-jmc-theme] .jmc-viewer-stage{min-height:390px!important;height:54vh!important;max-height:520px!important}
  html[data-jmc-theme] .jmc-viewer-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  html[data-jmc-theme] .jmc-viewer-actions .btn{min-height:42px!important;padding:0 8px!important;font-size:.55rem!important}
  html[data-jmc-theme] .jmc-current-skin-card{grid-template-columns:1fr!important;gap:12px!important;padding:14px!important}
  html[data-jmc-theme] .jmc-current-skin-preview{min-height:210px!important}
  html[data-jmc-theme] .jmc-current-skin-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  html[data-jmc-theme] .jmc-gallery-head,html[data-jmc-theme] .jmc-capes-head{align-items:flex-start!important;flex-direction:column!important;gap:9px!important}
  html[data-jmc-theme] .jmc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-jmc-theme] .jmc-gallery-item{min-width:0!important;padding:8px!important}
  html[data-jmc-theme] .jmc-gallery-image{min-height:142px!important}
  html[data-jmc-theme] .jmc-cape-grid{grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .jmc-top-skins-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-jmc-theme] .jmc-top-skin-face,html[data-jmc-theme] .jmc-top-skin-face img{width:58px!important;height:58px!important}

  /* PROFIL */
  html[data-jmc-theme] .finder{grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .finder .btn{width:100%!important;min-height:46px!important}
  html[data-jmc-theme] .profile{grid-template-columns:1fr!important;gap:12px!important}
  html[data-jmc-theme] .identity{display:grid!important;grid-template-columns:1fr!important;text-align:center!important;gap:12px!important}
  html[data-jmc-theme] .head-frame{width:108px!important;height:108px!important;margin:auto!important}
  html[data-jmc-theme] .identity-actions{grid-template-columns:1fr!important;width:100%!important}
  html[data-jmc-theme] .data-grid{grid-template-columns:1fr!important;gap:7px!important}
  html[data-jmc-theme] .lower{grid-template-columns:1fr!important;gap:12px!important}
  html[data-jmc-theme] .rank-card{grid-template-columns:1fr!important;gap:12px!important}
  html[data-jmc-theme] .rank-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  html[data-jmc-theme] .rank-actions .btn{width:100%!important}
  html[data-jmc-theme] .viewer-card .viewer-wrap{height:380px!important}

  /* GRY / JULIAN FLY */
  html[data-jmc-theme] .games-grid{grid-template-columns:1fr!important;gap:12px!important}
  html[data-jmc-theme] .game-card{min-height:0!important;padding:18px!important;border-radius:14px!important}
  html[data-jmc-theme] .game-preview{position:relative!important;right:auto!important;bottom:auto!important;transform:none!important;margin:18px auto 0!important;opacity:.72!important}
  html[data-jmc-theme] .leaderboard{padding:14px!important;border-radius:13px!important}
  html[data-jmc-theme] .leaderboard-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .leaderboard-refresh{width:100%!important}
  html[data-jmc-theme] .leaderboard-row{grid-template-columns:38px minmax(0,1fr) auto!important;gap:7px!important;padding:9px 7px!important;font-size:.7rem!important}
  html[data-jmc-theme] .game-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-bottom:12px!important}
  html[data-jmc-theme] .game-head h1{font-size:clamp(2rem,12vw,3.4rem)!important}
  html[data-jmc-theme] .player-info{width:100%!important;min-width:0!important}
  html[data-jmc-theme] .game-shell{padding:6px!important;border-radius:13px!important}
  html[data-jmc-theme] .canvas-wrap{aspect-ratio:4/5!important;min-height:0!important;height:min(540px,72dvh)!important;border-radius:9px!important}
  html[data-jmc-theme] .hud{inset:8px 9px auto!important;gap:6px!important}
  html[data-jmc-theme] :is(.score-box,.best-box){padding:6px 8px!important;border-radius:8px!important}
  html[data-jmc-theme] :is(.score-box,.best-box) strong{font-size:1.08rem!important}
  html[data-jmc-theme] .overlay{padding:10px!important}
  html[data-jmc-theme] .overlay-card{width:min(100%,390px)!important;padding:16px!important;border-radius:12px!important}
  html[data-jmc-theme] .overlay-card h2{font-size:clamp(1.6rem,9vw,2.5rem)!important}
  html[data-jmc-theme] .overlay-card p{font-size:.82rem!important;line-height:1.45!important}
  html[data-jmc-theme] .rank-submit-row{grid-template-columns:1fr!important}
  html[data-jmc-theme] .rank-submit button{width:100%!important}
  html[data-jmc-theme] .game-meta{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html[data-jmc-theme] .game-meta-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  html[data-jmc-theme] .game-meta-actions .btn{width:100%!important}

  /* PEŁNA MAPA */
  html[data-jmc-theme] .wrap>.head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px!important;border-radius:12px!important}
  html[data-jmc-theme] .head-actions{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;padding-bottom:3px!important;-webkit-overflow-scrolling:touch}
  html[data-jmc-theme] .head-actions::-webkit-scrollbar{height:0}
  html[data-jmc-theme] .head-actions>*{flex:0 0 auto!important}
  html[data-jmc-theme] .head-actions .map-reset{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:40px!important;white-space:nowrap!important}
  html[data-jmc-theme] .controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:end!important;margin:8px 0!important}
  html[data-jmc-theme] .controls label{min-width:0!important}
  html[data-jmc-theme] .controls input{width:100%!important;height:44px!important}
  html[data-jmc-theme] .controls>button{width:100%!important;height:44px!important}
  html[data-jmc-theme] .controls .map-camera-switch{grid-column:1/-1!important;width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  html[data-jmc-theme] .controls .map-camera-btn{height:42px!important}
  html[data-jmc-theme] .map{height:64dvh!important;min-height:430px!important;border-radius:12px!important}
  html[data-jmc-theme] .badge{left:8px!important;top:8px!important;max-width:calc(100% - 16px)!important;font-size:.5rem!important}
  html[data-jmc-theme] .note{font-size:.56rem!important;line-height:1.45!important}
}

@media(max-width:420px){
  html[data-jmc-theme] :is(.shell,.wrap){width:calc(100% - 12px)!important}
  html[data-jmc-theme] nav{padding:8px!important}
  html[data-jmc-theme] nav .brand{font-size:.77rem!important}
  html[data-jmc-theme] nav .btn{padding:0 9px!important;font-size:.57rem!important}
  html[data-jmc-theme] .hero{padding-top:34px!important}
  html[data-jmc-theme] .hero h1{font-size:clamp(2.55rem,15vw,3.7rem)!important}
  html[data-jmc-theme] .section{padding:17px 11px!important}
  html[data-jmc-theme] .top-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  html[data-jmc-theme] .preview{height:104px!important}
  html[data-jmc-theme] .preview canvas,html[data-jmc-theme] .preview img{max-width:72px!important;max-height:72px!important}
  html[data-jmc-theme] .jmc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  html[data-jmc-theme] .jmc-gallery-image{min-height:124px!important}
  html[data-jmc-theme] .jmc-top-skins-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  html[data-jmc-theme] .canvas-wrap{height:min(520px,70dvh)!important}
  html[data-jmc-theme] .controls{grid-template-columns:1fr 1fr!important}
}

@media(max-width:340px){
  html[data-jmc-theme] .top-grid,html[data-jmc-theme] .jmc-gallery-grid,html[data-jmc-theme] .jmc-top-skins-grid{grid-template-columns:1fr!important}
  html[data-jmc-theme] .jmc-mini-map-controls,html[data-jmc-theme] .controls{grid-template-columns:1fr!important}
  html[data-jmc-theme] .controls .map-camera-switch{grid-column:1!important}
}
\n\n/* ============================================================\n   V129 — PERFORMANCE / MANY TABS\n   Pause decorative work off-screen and reduce expensive effects\n   on low-power devices without changing layout or controls.\n   ============================================================ */\nhtml.jmc-page-hidden *,\nhtml.jmc-page-hidden *::before,\nhtml.jmc-page-hidden *::after{animation-play-state:paused!important}\nhtml.jmc-page-hidden .world,\nhtml.jmc-page-hidden .particle{visibility:hidden!important}\nhtml.jmc-low-power .world .particle:nth-child(n+4){display:none!important}\nhtml.jmc-low-power :is(nav,.overlay-card,.score-box,.best-box,.esc-menu){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}\n@supports(content-visibility:auto){\n  html[data-jmc-theme] :is(.section,.game-card,.leaderboard,.jmc-gallery-section,.jmc-history-section){content-visibility:auto;contain-intrinsic-size:1px 520px}\n}\n
html.jmc-low-power .game-card::after{filter:none!important;opacity:.55!important}
html.jmc-low-power :is(.showcase,.logo-block,.section,.game-card){box-shadow:none!important}

/* V379: no avatar when a profile has not been selected. */
.jmc-profile-nav-head[hidden],#gamesProfileHead[hidden],#learnProfileHead[hidden],#simHubProfileHead[hidden]{display:none!important}
