/* Static adaptation: preserve the original Metin2 skin. */
/* Quattrocento from the skin has no Polish letters (ą ę ł ś ż …): headings use Lora (OFL) under the same family name. */
@font-face{font-display:swap;font-family:Quattrocento;font-weight:400;src:url("/wiki/plus/global/fonts/lora-400.woff") format('woff')}
@font-face{font-display:swap;font-family:Quattrocento;font-weight:700;src:url("/wiki/plus/global/fonts/lora-700.woff") format('woff')}
#wiki-search{box-sizing:border-box;border:0;margin:0;height:2.1em;padding:.4em 4.5em .2em 2em;box-shadow:none;background:transparent;width:100%;min-height:0;font:inherit;color:#333}
#menu-toggle{display:none}
#mw-site-navigation .site-sidebar{background:#1f0e02;color:#f1de8e;border:1px solid #fece58;padding:1.5em 1.5em 0;margin:1em 0;line-height:1.1}
#mw-site-navigation .site-sidebar h2{display:none}
#mw-site-navigation .site-sidebar ul{margin:0 0 2em;padding:0;list-style:none}
#mw-site-navigation .site-sidebar li{margin:0 0 .35em;padding:0;list-style:none}
#mw-site-navigation .site-sidebar a{color:#f0d9a2}
#mw-site-navigation .site-sidebar h3{font-weight:normal;font-size:1em;margin:.25em 0 .75em;padding-bottom:.15em;border-bottom:1px solid white}
#main-article{display:block;color:#000;background:transparent;padding:0;margin:0;min-width:0;font-size:inherit}
#main-article p{font-size:inherit;line-height:inherit}
#main-article.wiki-article h1{font-family:inherit;font-size:1.8em;color:#26130b;border-bottom:1px solid #a98952;padding-bottom:.25em}
#main-article.wiki-article h2{font-family:inherit;font-size:1.5em;color:#26130b;margin-top:1.2em;border-bottom:1px solid #a98952}
#main-article.wiki-article h3{font-family:inherit;font-size:1.2em;color:#26130b}
.wiki-article img{max-width:100%;height:auto}.wiki-article table{max-width:100%}
.category-directory ul,.link-columns{columns:2;column-gap:2em}.link-columns li{break-inside:avoid;margin-bottom:.35em}
.wiki-panel{margin:1em 0}.wiki-panel h2{background:#26130b;color:#f0d9a2!important;font-size:1.1em!important;padding:6px 10px;border-radius:8px 8px 0 0;border:0!important;margin-bottom:0}.panel-content{border:1px solid #26130b;padding:10px}
.search-result{border-bottom:1px solid #baa06a;padding:.6em 0}.search-result h2{margin:.15em 0!important}.search-result small{color:#68552d}
#personal h2 a{color:#f0d9a2}#footer-bottom{padding:1em;font-size:12px}
@media(max-width:850px){#menu-toggle{display:block;position:fixed;right:12px;top:48px;z-index:102;background:#26130b;color:#f0d9a2;border:1px solid #fece58;padding:8px}#mw-site-navigation{display:none!important}.navigation-open #mw-site-navigation{display:block!important;position:fixed;left:0;top:75px;margin:0!important;padding:0 10px!important;width:210px!important;height:calc(100vh - 75px);overflow:auto;z-index:110;background:#1f0e02}#mw-content{margin-left:0!important;width:auto!important;padding:1em!important}#mw-site-logo{display:block!important;margin-top:70px}#mw-content-block{background:transparent!important}#user-tools{display:none!important}#p-logo-text{width:9em}#p-search{margin-left:9em!important;margin-right:0!important}.global-home>.mw-parser-output>table>tbody>tr{display:flex;flex-wrap:wrap;justify-content:center}.global-home>.mw-parser-output>table>tbody>tr>td{display:block;width:100%!important}.global-home>.mw-parser-output>table>tbody>tr>td>div{margin-left:auto!important;margin-right:auto!important}.category-directory ul,.link-columns{columns:1}}
#mw-page-header-links:after{content:"";display:block;clear:both}#main-article.wiki-article h1{clear:both;float:none;width:auto;margin-top:1em}#main-article.wiki-article h1:after{display:none}
#mw-header-hack{border-bottom:2px solid #fece58;width:100%}
@media(max-width:850px){#mw-header-container{height:88px!important;padding:0!important}#p-logo-text{position:absolute;left:14px;top:9px;width:120px}#p-search{position:absolute;top:48px;left:12px;right:92px;width:auto;margin:0!important}#wiki-search{padding-left:8px;padding-right:30px}#searchButton{right:0}#menu-toggle{top:47px;padding:7px}#mw-header-hack{top:87px}}
#main-article h1:before,#main-article h1:after{display:none!important}
.navigation-open #site-navigation .sidebar-inner{display:block!important;position:static!important;width:auto!important;padding:0!important;background:transparent!important;border:0!important}
/* Readable, consistent article components. The official skin remains intact. */
#main-article{font-size:14px;line-height:1.55}#main-article:not(.global-home) *{text-shadow:none}
#main-article:not(.global-home) p,#main-article:not(.global-home) li,#main-article:not(.global-home) span,#main-article:not(.global-home) div{color:inherit}
#main-article .section-title{display:flex;gap:24px;align-items:flex-start;margin:18px 0 26px;padding:18px;background:#f7e7bd;border:1px solid #b29a67;border-radius:0}
#main-article .intro-text{flex:1;min-width:0;color:#261b0e;font-size:15px;font-weight:normal}
#main-article .image-container{max-width:300px;flex-shrink:0}#main-article .image-container img{max-width:100%;height:auto}
#main-article:not(.global-home) table{border-collapse:collapse;border:1px solid #ad935f;background:#f7e7bd;color:#241b10;width:100%;margin:12px 0 24px}
#main-article:not(.global-home) th{background:#d2b577;color:#201508;font-weight:bold;text-align:left;padding:9px 10px;border:1px solid #b19a6c}
#main-article:not(.global-home) td{background:#f7e7bd;color:#241b10;padding:9px 10px;border:1px solid #c6af7e;vertical-align:top}
#main-article:not(.global-home) tbody tr:nth-child(even)>td{background:#efdbac}#main-article:not(.global-home) tbody tr:hover>td{background:#faedcb}
#main-article .table-scroll{overflow:auto;max-width:100%;margin:12px 0 22px}#main-article .table-scroll table{margin:0;min-width:600px}
#main-article .item-icon{display:inline-block;object-fit:contain;vertical-align:middle;margin-right:7px;width:32px;height:32px;box-shadow:none;border:0}
#main-article .item-name{display:inline-flex;align-items:center;vertical-align:middle;gap:3px;margin:2px 0;font-weight:normal}
#main-article .catalogue-filter{display:flex;gap:16px;flex-wrap:wrap;background:#e8d09a;border:1px solid #b69b64;padding:14px;margin:15px 0}
#main-article .catalogue-filter label{display:flex;flex-direction:column;gap:4px;font-weight:bold}
#main-article input,#main-article select,#main-article button{font:inherit;color:#241b10;background:#fff7e3;border:1px solid #977b44;padding:7px;box-sizing:border-box}
#main-article button{cursor:pointer}#main-article [hidden]{display:none!important}
#main-article .monster-table{max-width:760px}#main-article .item-list{list-style:none;margin-left:0;padding:0}#main-article .item-list>li{padding:10px;border-bottom:1px solid #bba06b}
#main-article .maps-container{display:flex;gap:18px;flex-wrap:wrap}#main-article .item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px}
#main-article .item-card{padding:12px;background:#f7e7bd;border:1px solid #b69b64;color:#241b10}.item-card h3{margin:0 0 8px!important}
#site-navigation .mw-portlet:not(#p-navigation) h3{margin:14px 0;padding:0 0 6px}#site-navigation .mw-portlet:not(#p-navigation) ul{margin-bottom:1em}
#main-article .slot-grid{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:8px;max-width:760px;margin:15px 0}
#main-article .slot-grid button{min-height:64px}#main-article .slot-grid button[aria-pressed=true]{background:#d2b577;border:2px solid #6b4d20}
#main-article .guide-note{padding:12px 16px;border-left:4px solid #a17832;background:#f7e7bd;margin:16px 0}
@media(max-width:650px){#main-article .section-title{display:block;padding:12px}#main-article .image-container{max-width:210px;margin:12px auto}#main-article .slot-grid{grid-template-columns:repeat(2,1fr)}#main-article .table-scroll table{font-size:12px}#main-article .catalogue-filter label{width:100%}#main-article .catalogue-filter input,#main-article .catalogue-filter select{width:100%}}
/* Player directory: deliberately separate from the legacy imported homepage. */
#main-article.global-home .player-home{font-family:inherit;color:#26130b;line-height:1.55}
.player-home *{box-sizing:border-box}.player-home .home-hero{padding:42px;background:linear-gradient(125deg,#352010,#1f0e02);border-radius:18px;color:#fff9ec;position:relative;overflow:hidden}
.player-home .home-eyebrow{color:#ebc984;letter-spacing:.16em;font-size:12px;font-weight:750;margin-bottom:16px}
#main-article.global-home .home-hero h2{font-size:clamp(26px,3vw,42px);line-height:1.15;font-weight:750;color:#fff9ec;border:0;margin:0 0 18px;padding:0;letter-spacing:-.035em}
.player-home .home-hero>p{max-width:600px;color:#f0d9a2;font-size:16px;margin-bottom:26px}.player-home .home-search{max-width:620px}.player-home .home-search label{display:block;font-size:13px;font-weight:650;color:#ebc984;margin-bottom:7px}.player-home .home-search>div{display:flex;gap:8px}.player-home .home-search input{min-width:0;flex:1;background:#fffdf5!important;border:0!important;border-radius:8px;padding:13px!important}.player-home .home-search button{border:0!important;border-radius:8px;background:#edc57a!important;color:#26130b!important;padding:12px 22px!important;font-weight:750!important}
.player-home .home-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 30px}.player-home .home-jumps a{padding:7px 12px;border:1px solid #cdbb94;border-radius:30px;background:#fff9eb;text-decoration:none;font-size:12px;color:#52452e}.player-home .home-jumps a:hover{background:#ead6ac}
.player-home .home-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.player-home .home-topic{background:#f3dda4;border:1px solid #ad935f;border-radius:14px;padding:22px;scroll-margin-top:90px;box-shadow:0 3px 12px #30271908}.player-home .home-topic header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.player-home .home-number{font-size:12px;font-weight:750;color:#876b39;background:#f1e6cd;border-radius:7px;padding:7px 9px}
#main-article.global-home .home-topic h2{border:0;padding:0;margin:0 0 5px;font-size:20px;line-height:1.25;font-weight:700;color:#26130b}.player-home .home-topic header p{font-size:13px;color:#706551;margin:0}.player-home .home-topic ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.player-home .home-topic li{background:none!important;padding:0!important;margin:0!important;min-width:0}.player-home .home-topic li a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eadfc9;text-decoration:none;font-size:13px;font-weight:550;color:#26130b}.player-home .home-topic li a span{color:#a49372;font-size:12px}.player-home .home-topic li a:hover{color:#87601e;border-color:#b99550}.player-home .home-help{border-top:1px solid #cbb78d;margin-top:30px;padding:22px 0 6px}.player-home .home-help h2{font-size:20px;border:0;margin:0}.player-home .home-help p{font-size:13px;color:#706551}.player-home .home-help a{display:inline-block;margin:4px 20px 4px 0;font-size:13px;font-weight:650}.player-home a:focus-visible{outline:3px solid #ab812d;outline-offset:4px;border-radius:3px}
@media(max-width:1050px){.player-home .home-sections{grid-template-columns:1fr}.player-home .home-hero{padding:28px}}
@media(max-width:550px){.player-home .home-topic{padding:16px}.player-home .home-topic ul{grid-template-columns:1fr}.player-home .home-hero{padding:22px}.player-home .home-search>div{flex-direction:column}}

/* Homepage shares the parchment, gold and brown article skin. */
body.page-Strona_główna #mw-page-header-links{display:none}
#main-article .set-bonus-table{table-layout:fixed;border-spacing:2px;border-collapse:separate;border:0;background:transparent;min-width:720px}
#main-article .set-bonus-table th{background:#1f0e02;color:#f1de8e;text-align:center;border:0;vertical-align:middle;font-size:13px}
#main-article .set-bonus-table th:first-child{width:175px}
#main-article .set-bonus-table td{text-align:center;vertical-align:middle;padding:12px 8px}
#main-article .set-bonus-table .item-name{display:flex;flex-direction:column;gap:5px;justify-content:center;font-size:12px;margin:8px 0;line-height:1.3}
#main-article .set-bonus-table .item-icon{margin:0;width:32px;height:32px}
#main-article .set-bonus-table td[colspan]{text-align:left;font-size:14px;padding-left:18px}

.player-home .home-install{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 26px;margin:20px 0;border:1px solid #ae8646;border-radius:10px;background:#f6e7b8;color:#352014}
.player-home .home-install h2{margin:0 0 6px;font-size:1.35em;color:#352014;border:0;padding:0}
.player-home .home-install p{margin:0;color:#5a4127;line-height:1.6}
.player-home .home-install a{flex-shrink:0;padding:12px 17px;background:#51311a;border-radius:6px;color:#fff0c6;text-decoration:none;font-weight:bold}
@media(max-width:800px){.player-home .home-install{align-items:flex-start;flex-direction:column}.player-home .home-install a{white-space:normal}}

/* 2026-10-31 refresh: modern components in the same brown, gold and parchment palette. */
:root{--m2-ink:#26130b;--m2-dark:#1f0e02;--m2-gold:#fece58;--m2-gold-2:#d9a945;--m2-cream:#f0d9a2;--m2-parch:#f7e7bd;--m2-parch-2:#efdbac;--m2-line:#c6af7e;--m2-muted:#6b5636;--m2-shadow:0 6px 22px rgba(38,19,11,.13)}
html{scroll-behavior:smooth}
#main-article.wiki-article{font-size:15px;line-height:1.7;color:var(--m2-ink)}
#main-article.wiki-article h1{font-size:2.05em;letter-spacing:-.01em;border-bottom:0;padding-bottom:.35em;background:linear-gradient(90deg,var(--m2-gold-2),rgba(217,169,69,0)) left bottom/100% 2px no-repeat}
#main-article.wiki-article h2{position:relative;font-size:1.42em;margin:1.7em 0 .7em;padding:0 0 .3em .75em;border-bottom:1px solid rgba(169,137,82,.55);scroll-margin-top:90px}
#main-article.wiki-article h2:before{content:"";position:absolute;left:0;top:.18em;bottom:.45em;width:4px;border-radius:3px;background:linear-gradient(var(--m2-gold),var(--m2-gold-2))}
#main-article.wiki-article h3{font-size:1.14em;margin:1.2em 0 .45em}
#main-article.wiki-article a{color:#7a4a12;text-decoration-color:rgba(122,74,18,.4);text-underline-offset:3px}
#main-article.wiki-article a:hover{color:#a3601a;text-decoration-color:currentColor}
#main-article a:focus-visible,#site-navigation a:focus-visible{outline:3px solid var(--m2-gold-2);outline-offset:3px;border-radius:4px}
#main-article.wiki-article ul{padding-left:1.3em}#main-article.wiki-article li{margin:.25em 0}
/* Tables as rounded cards */
#main-article .table-scroll{border-radius:12px;box-shadow:var(--m2-shadow);border:1px solid #b9a06b;background:var(--m2-parch)}
#main-article .table-scroll table{border:0!important;border-collapse:separate;border-spacing:0;margin:0!important;min-width:0}
#main-article:not(.global-home) .table-scroll th{background:linear-gradient(#2d1608,var(--m2-dark));color:var(--m2-cream);border:0;border-bottom:2px solid var(--m2-gold-2);font-size:13px;letter-spacing:.02em;white-space:nowrap}
#main-article:not(.global-home) .table-scroll td{border:0;border-top:1px solid rgba(198,175,126,.65)}
#main-article:not(.global-home) .table-scroll tbody tr:first-child td{border-top:0}
#main-article:not(.global-home) .table-scroll tbody tr:hover>td{background:#fbf0d2}
@media(min-width:651px){#main-article .table-scroll table{min-width:480px}}
/* Dungeon walkthrough: numbered step cards */
#main-article .dungeon-walkthrough{margin:1.2em 0 1.6em}
#main-article .dungeon-walkthrough ol{list-style:none;counter-reset:m2step;padding:0!important;margin:0;display:grid;gap:12px}
#main-article .dungeon-walkthrough li{counter-increment:m2step;position:relative;margin:0;padding:14px 16px 14px 62px;background:linear-gradient(180deg,#fbf0d4,var(--m2-parch));border:1px solid #c9b082;border-radius:12px;box-shadow:0 2px 8px rgba(38,19,11,.07)}
#main-article .dungeon-walkthrough li:before{content:counter(m2step);position:absolute;left:14px;top:14px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:var(--m2-dark);background:radial-gradient(circle at 35% 30%,#ffe7a3,var(--m2-gold-2));border:2px solid #8a5e1c;box-shadow:0 2px 6px rgba(38,19,11,.25)}
#main-article .dungeon-walkthrough li h3{margin:.1em 0 .25em!important;font-size:1.05em}
#main-article .dungeon-walkthrough li p{margin:0}
/* Notes */
#main-article .guide-note{border-radius:0 12px 12px 0;border-left:5px solid var(--m2-gold-2);background:#fbefcc;box-shadow:0 2px 8px rgba(38,19,11,.06)}
#main-article .source-note{font-size:12.5px;color:var(--m2-muted);border-top:1px dashed #c4ab7a;padding-top:6px}
/* Sidebar */
#mw-site-navigation .site-sidebar{border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.35);border-color:#a8822f}
#mw-site-navigation .site-sidebar a{display:block;padding:3px 6px;margin:0 -6px;border-radius:6px;transition:background .15s,color .15s}
#mw-site-navigation .site-sidebar a:hover{background:rgba(254,206,88,.14);color:#fff1c4;text-decoration:none}
#mw-site-navigation .site-sidebar h3{border-bottom-color:rgba(254,206,88,.45)}
/* Home: about block, feature cards and FAQ */
.player-home .home-about{margin:30px 0 4px;padding:26px 28px;background:linear-gradient(180deg,#fbf0d4,#f3dda4);border:1px solid #ad935f;border-radius:16px;box-shadow:var(--m2-shadow)}
#main-article.global-home .home-about h2{font-size:22px;border:0;margin:0 0 10px;padding:0;color:var(--m2-ink)}
#main-article.global-home .home-about h2+p{font-size:15px;color:#3a2614;max-width:900px}
.player-home .home-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 26px}
.player-home .home-features a{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:12px;background:linear-gradient(135deg,#352010,var(--m2-dark));color:var(--m2-cream);text-decoration:none;border:1px solid #7a5520;transition:transform .15s,box-shadow .15s}
.player-home .home-features a strong{color:var(--m2-gold);font-size:15px}.player-home .home-features a span{font-size:12.5px;line-height:1.4}
.player-home .home-features a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(31,14,2,.35)}
.player-home .home-faq-item{border:1px solid #c9b082;border-radius:10px;background:#fbf2d8;margin:8px 0;overflow:hidden}
.player-home .home-faq-item summary{cursor:pointer;padding:12px 16px;font-weight:650;color:var(--m2-ink);list-style:none;position:relative;padding-right:40px}
.player-home .home-faq-item summary::-webkit-details-marker{display:none}
.player-home .home-faq-item summary:after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;color:#8a5e1c}
.player-home .home-faq-item[open] summary:after{content:"–"}
.player-home .home-faq-item p{margin:0;padding:0 16px 14px;color:#3a2614;font-size:14px}
.player-home .home-topic{transition:box-shadow .2s,transform .2s}.player-home .home-topic:hover{box-shadow:0 10px 26px rgba(38,19,11,.14)}
#firstHeading{letter-spacing:-.01em}
@media(max-width:900px){.player-home .home-features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.player-home .home-features{grid-template-columns:1fr}.player-home .home-about{padding:18px}#main-article .dungeon-walkthrough li{padding:12px 12px 12px 54px}#main-article .dungeon-walkthrough li:before{left:10px;width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.player-home .home-features a,.player-home .home-topic{transition:none}}
.player-home .home-features a,.player-home .home-features a *{text-decoration:none!important}
#main-article .dungeon-walkthrough li h3{font-weight:700;color:var(--m2-ink)}
/* Live search suggestions */
.m2-suggest{position:fixed;z-index:1000;max-height:min(70vh,560px);overflow:auto;background:#fbf2d8;border:1px solid #a8822f;border-radius:12px;box-shadow:0 14px 34px rgba(0,0,0,.45);padding:6px;font-family:'PTSans','Trebuchet MS',sans-serif}
.m2-suggest[hidden]{display:none}
.m2-suggest a{display:flex;align-items:flex-start;gap:10px;padding:8px 10px;border-radius:8px;color:#26130b;text-decoration:none}
.m2-suggest a[aria-selected=true],.m2-suggest a:hover{background:#f0d9a2}
.m2-suggest img{width:32px;height:32px;object-fit:contain;flex-shrink:0}
.m2-suggest-dot{width:32px;height:32px;flex-shrink:0;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe7a3,#d9a945);box-shadow:inset 0 0 0 2px #8a5e1c;transform:scale(.55)}
.m2-suggest-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.m2-suggest-text strong{font-size:14px;font-weight:700}
.m2-suggest-text mark{background:#fece58;color:inherit;border-radius:3px;padding:0 1px}
.m2-suggest-text small{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#8a5e1c}
.m2-suggest-text em{font-style:normal;font-size:12px;color:#5a4127;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:380px}
.m2-suggest-all{margin-top:4px;border-top:1px solid #d8c18f;border-radius:0 0 8px 8px!important;font-weight:650;font-size:13px;color:#7a4a12!important}
.m2-suggest-empty{margin:6px 10px;font-size:13px;color:#5a4127}
/* Original MT2009 Singleplayer Plus background */
body.skin-metin2{background:linear-gradient(rgba(12,8,6,.35),rgba(12,8,6,.6)),url("/wiki/images/mt2009plus-tlo.webp") center top/cover fixed no-repeat,#120d0b}
@media(max-width:1024px){body.skin-metin2{background-attachment:scroll,scroll}}
/* Header logo: MT2009 Singleplayer Plus (cut from the original background) */
#p-logo .mw-wiki-logo{background:url("/wiki/images/mt2009plus-logo.jpg") center/contain no-repeat!important;-webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%);width:420px;height:200px;margin:.2em auto 0}
@media(max-width:850px){#p-logo .mw-wiki-logo{width:300px;height:150px}}
/* Table of contents (MediaWiki shape, MT2009 palette) */
#main-article .toc{display:inline-block;min-width:260px;max-width:100%;margin:10px 0 22px;padding:14px 22px 14px 18px;background:#fbf2d8;border:1px solid #b9a06b;border-radius:12px;box-shadow:0 4px 14px rgba(38,19,11,.10)}
#main-article .toc summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;gap:10px}
#main-article .toc summary::-webkit-details-marker{display:none}
#main-article .toc .toctitle{font-size:1.15em;font-weight:700;color:#26130b}
#main-article .toc .toctoggle:before{content:"[ukryj]";font-size:.85em;color:#7a4a12}
#main-article .toc details:not([open]) .toctoggle:before{content:"[pokaż]"}
#main-article .toc ol{list-style:none;margin:.5em 0 0;padding:0}
#main-article .toc ol ol{margin:.15em 0 .25em 1.3em}
#main-article .toc li{margin:.18em 0}
#main-article .toc a{text-decoration:none;color:#26130b}
#main-article .toc a:hover .toctext{text-decoration:underline;color:#7a4a12}
#main-article .toc .tocnumber{color:#8a5e1c;font-weight:700;margin-right:.25em}
#main-article .toc li.toc-h3{font-size:.95em}
#main-article a.autolink{text-decoration-style:dotted}
#main-article .see-also{columns:2;column-gap:2em}@media(max-width:650px){#main-article .see-also{columns:1}#main-article .toc{display:block}}
#main-article:not(.global-home) .table-scroll .item-facts th{background:#efdbac;color:#26130b;border-bottom:1px solid rgba(198,175,126,.65);width:42%;white-space:normal;font-size:14px;letter-spacing:0}
#main-article .item-facts{max-width:640px}#main-article .table-scroll:has(.item-facts){max-width:640px}
#main-article .article-faq .home-faq-item{border:1px solid #c9b082;border-radius:10px;background:#fbf2d8;margin:8px 0;overflow:hidden}
#main-article .article-faq summary{cursor:pointer;padding:11px 40px 11px 16px;font-weight:650;list-style:none;position:relative}
#main-article .article-faq summary::-webkit-details-marker{display:none}
#main-article .article-faq summary:after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;color:#8a5e1c}
#main-article .article-faq details[open] summary:after{content:"–"}
#main-article .article-faq p{margin:0;padding:0 16px 12px}
/* Visible breadcrumbs */
.breadcrumbs ol{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:4px;font-size:13px;color:#6b5636}
.breadcrumbs li{margin:0;padding:0;background:none}
.breadcrumbs li+li:before{content:"›";margin:0 6px 0 2px;color:#a8822f}
.breadcrumbs a{color:#7a4a12;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.breadcrumbs [aria-current]{color:#26130b;font-weight:600}
#main-article .notfound-search{display:flex;gap:8px;max-width:560px;margin:14px 0 22px}#main-article .notfound-search input{flex:1;border-radius:8px;padding:11px}#main-article .notfound-search button{border-radius:8px;background:#51311a;color:#fff0c6;font-weight:700;padding:10px 18px}
@media(max-width:850px){body.skin-metin2{background:linear-gradient(rgba(12,8,6,.35),rgba(12,8,6,.6)),url("/wiki/images/mt2009plus-tlo-m.jpg") center top/cover no-repeat,#120d0b}}
.player-home .home-guides{list-style:none!important;margin:0 0 22px!important;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}
.player-home .home-guides li{margin:0!important;padding:0!important;background:none!important}
.player-home .home-guides a{display:block;padding:8px 0;border-bottom:1px solid #e3d2a8;color:#26130b;text-decoration:none;font-weight:600;font-size:14px}
.player-home .home-guides a:hover{color:#87601e}
#main-article.global-home .home-about h2{margin-top:6px}
@media(max-width:650px){.player-home .home-guides{grid-template-columns:1fr}}
#main-article .news-history{list-style:none;padding:0!important}#main-article .news-history li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid rgba(198,175,126,.6)}#main-article .news-history span{color:#6b5636;font-size:13px;white-space:nowrap}
/* Tools */
#main-article .tool-box{background:#fbf2d8;border:1px solid #b9a06b;border-radius:14px;padding:18px;margin:16px 0 24px;box-shadow:0 4px 14px rgba(38,19,11,.08)}
#main-article .tool-box label{font-weight:700;display:block;margin-bottom:6px}
#main-article .tool-box input[type=search]{width:100%;border-radius:8px;padding:11px;font-size:15px}
#main-article .tool-row{display:flex;gap:16px;margin:12px 0}#main-article .tool-row label{display:flex;gap:8px;align-items:center;font-weight:600}
#main-article .tool-row select{border-radius:8px;min-width:80px}
#main-article .drop-item h3{display:flex;align-items:center;gap:6px;margin:18px 0 6px}
#main-article .calc-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
#main-article .calc-summary div{background:linear-gradient(135deg,#352010,#1f0e02);color:#f0d9a2;border-radius:12px;padding:14px}
#main-article .calc-summary strong{display:block;color:#fece58;font-size:20px}#main-article .calc-summary span{font-size:12.5px}
#main-article input.table-filter{width:100%;max-width:420px;border-radius:8px;padding:10px;margin:6px 0}
@media(max-width:650px){#main-article .calc-summary{grid-template-columns:1fr}#main-article .tool-row{flex-wrap:wrap}}
/* Theme toggle button */
#theme-toggle{position:absolute;right:225px;top:9px;z-index:105;width:34px;height:30px;border-radius:8px;border:1px solid #a8822f;background:#26130b;color:#fece58;cursor:pointer;display:grid;place-items:center;padding:0}
#theme-toggle span:before{content:"☾";font-size:17px;line-height:1}
html[data-theme=dark] #theme-toggle span:before{content:"☀"}
#theme-toggle:hover{background:#3a2210}
@media(max-width:850px){#theme-toggle{position:fixed;top:47px;right:96px}}
/* Dark theme: same brown and gold, dark parchment */
html[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] #mw-content{background:#1b120b!important;box-shadow:0 0 0 1px #4a3218}
html[data-theme=dark] #main-article,html[data-theme=dark] #main-article.wiki-article,html[data-theme=dark] #mw-page-header-links a,html[data-theme=dark] #footer-bottom{color:#ecdcb7!important}
html[data-theme=dark] #main-article.wiki-article h1,html[data-theme=dark] #main-article.wiki-article h2,html[data-theme=dark] #main-article.wiki-article h3,html[data-theme=dark] #main-article h2,html[data-theme=dark] #main-article h3,html[data-theme=dark] #firstHeading{color:#f5e2b5!important;border-color:#5a3e1c!important}
html[data-theme=dark] #main-article a,html[data-theme=dark] #main-article.wiki-article a{color:#f2c46b!important}
html[data-theme=dark] #main-article:not(.global-home) td,html[data-theme=dark] #main-article .table-scroll,html[data-theme=dark] #main-article:not(.global-home) table{background:#24180e!important;color:#ecdcb7!important;border-color:#4a3218!important}
html[data-theme=dark] #main-article:not(.global-home) tbody tr:nth-child(even)>td{background:#2b1d11!important}
html[data-theme=dark] #main-article:not(.global-home) tbody tr:hover>td{background:#352414!important}
html[data-theme=dark] #main-article:not(.global-home) .table-scroll .item-facts th{background:#2f2013!important;color:#f5e2b5!important}
html[data-theme=dark] #main-article .dungeon-walkthrough li,html[data-theme=dark] #main-article .toc,html[data-theme=dark] #main-article .article-faq .home-faq-item,html[data-theme=dark] #main-article .tool-box,html[data-theme=dark] #main-article .guide-note{background:#24180e!important;border-color:#5a3e1c!important;color:#ecdcb7!important}
html[data-theme=dark] #main-article .toc a,html[data-theme=dark] #main-article .toc .toctitle{color:#ecdcb7!important}
html[data-theme=dark] #main-article .source-note,html[data-theme=dark] .breadcrumbs ol,html[data-theme=dark] #main-article .news-history span{color:#bfa77a!important}
html[data-theme=dark] .breadcrumbs [aria-current]{color:#f5e2b5}
html[data-theme=dark] #main-article input,html[data-theme=dark] #main-article select,html[data-theme=dark] #main-article button:not(#theme-toggle){background:#2f2013!important;color:#f5e2b5!important;border-color:#6b4a22!important}
html[data-theme=dark] .player-home .home-topic,html[data-theme=dark] .player-home .home-about,html[data-theme=dark] .player-home .home-install,html[data-theme=dark] .player-home .home-faq-item{background:#24180e!important;border-color:#5a3e1c!important;color:#ecdcb7!important}
html[data-theme=dark] #main-article.global-home h2,html[data-theme=dark] .player-home .home-topic li a,html[data-theme=dark] .player-home .home-guides a,html[data-theme=dark] .player-home .home-faq-item summary,html[data-theme=dark] .player-home .home-install h2,html[data-theme=dark] .player-home .home-about p{color:#f5e2b5!important;border-color:#4a3218!important}
html[data-theme=dark] .player-home .home-topic header p,html[data-theme=dark] .player-home .home-help p,html[data-theme=dark] .player-home .home-faq-item p,html[data-theme=dark] .player-home .home-install p{color:#cbb48a!important}
html[data-theme=dark] .player-home .home-jumps a{background:#2b1d11;border-color:#5a3e1c;color:#ecdcb7}
html[data-theme=dark] .m2-suggest{background:#24180e;border-color:#6b4a22}html[data-theme=dark] .m2-suggest a{color:#ecdcb7}html[data-theme=dark] .m2-suggest a[aria-selected=true],html[data-theme=dark] .m2-suggest a:hover{background:#3a2814}html[data-theme=dark] .m2-suggest-text em{color:#cbb48a}
html[data-theme=dark] #simpleSearch{background:#2b1d11}html[data-theme=dark] #wiki-search{color:#f5e2b5}
#main-article a.chest-page{font-size:12.5px;margin-left:8px}
/* Theme toggle: floating button (does not cover the header search) */
#theme-toggle,#theme-toggle:hover{position:fixed!important;top:auto!important;right:18px!important;bottom:18px;width:46px;height:46px;border-radius:50%;box-shadow:0 6px 18px rgba(0,0,0,.45);z-index:300}
#theme-toggle span:before{font-size:20px}
html[data-theme=dark] .player-home .home-search input{background:#fffdf5!important;color:#26130b!important}
html[data-theme=dark] .player-home .home-search button{background:#edc57a!important;color:#26130b!important}
html[data-theme=dark] .player-home .home-install a{background:#edc57a!important;color:#26130b!important}
/* The sidebar floats; on short pages it was taller than the article and ran over the footer. */
#mw-content-block{display:flow-root}
/* Row headers (tbody th) wrap; only column headers stay on one line. */
#main-article:not(.global-home) .table-scroll tbody th,#main-article .set-bonus-table tbody th{white-space:normal;overflow-wrap:anywhere}
/* Setup guide follows the dark theme instead of keeping its light panel. */
html[data-theme=dark] #main-article #setup-wizard{--guide-ink:#ecdcb7;--guide-line:#6b4a22;background:#24180e;border-color:#6b4a22}
html[data-theme=dark] .breadcrumbs a{color:#f2c46b!important}
html[data-theme=dark] #main-article .player-home .home-install a{color:#26130b!important}
/* Dark theme: panels that keep a light background in the imported articles. */
html[data-theme=dark] #main-article pre,html[data-theme=dark] #main-article code{background:#2f2013!important;color:#f5e2b5!important;border-color:#5a3e1c!important}
html[data-theme=dark] #main-article .section-title,html[data-theme=dark] #main-article .catalogue-filter{background:#24180e!important;border-color:#5a3e1c!important}
html[data-theme=dark] #main-article th{background:#3a2814!important;color:#f5e2b5!important}
/* Set tables scroll sideways on phones instead of squeezing item names together. */
#main-article .table-scroll .set-bonus-table{min-width:760px}
html[data-theme=dark] #main-article #setup-wizard .sg-meta,html[data-theme=dark] #main-article #setup-wizard .sg-note{color:#cbb48a!important}
#main-article:not(.global-home) .table-scroll .set-bonus-table thead th{white-space:normal}
/* NPC shops drawn like the in-game shop window (5 slots wide). */
#main-article .m2-shop{display:inline-block;margin:10px 0 14px;background:#1b120b;border:2px solid #8a6a32;border-radius:6px;box-shadow:0 6px 18px rgba(0,0,0,.45);padding:0 6px 6px}
#main-article .m2-shop-title{color:#f0d9a2!important;font-size:13px;text-align:center;padding:5px 0;border-bottom:1px solid #5a3e1c;margin:0 -6px 6px;background:linear-gradient(#3a2412,#26150a)}
#main-article .m2-shop-grid{display:grid;grid-template-columns:repeat(5,34px);gap:2px}
#main-article .m2-slot{position:relative;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#0d0906;border:1px solid #3d2a15;text-decoration:none!important}
#main-article .m2-slot:hover,#main-article .m2-slot:focus{border-color:#f2c46b;outline:none}
#main-article .m2-slot img{width:32px;height:32px;margin:0}
#main-article .m2-slot-txt{color:#f0d9a2!important;font-size:10px}
#main-article .m2-qty{position:absolute;right:2px;bottom:1px;font-size:9px;line-height:9px;color:#fff!important;text-shadow:1px 0 0 #000,-1px 0 0 #000,0 1px 0 #000,0 -1px 0 #000}
/* Boss and Metin card (as on the global wiki's monster pages). */
#main-article .m2-card{border:1px solid #26130b;border-radius:10px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.25);margin:0 0 18px;background:rgba(255,248,230,.55)}
#main-article .m2-card-title{background:#26130b;color:#f0d9a2!important;font-weight:bold;padding:7px 12px;font-size:15px}
#main-article .m2-card-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:12px}
#main-article .m2-card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#main-article .m2-card-stats div{background:#5c3317;border-radius:8px;text-align:center;padding:6px 4px;color:#f0d9a2!important}
#main-article .m2-card-stats span{display:block;font-size:12px;opacity:.85;color:#f0d9a2!important}
#main-article .m2-card-stats strong{display:block;font-size:18px;color:#ffe2a0!important}
#main-article .m2-card-side h3{margin:0 0 4px;font-size:14px}
#main-article .m2-card-side ul{margin:0 0 10px}
@media(max-width:650px){#main-article .m2-card-body{grid-template-columns:1fr}}
html[data-theme=dark] #main-article .m2-card{background:#24180e;border-color:#5a3e1c}
/* Random base bonuses: a row per version, the bonus name spans its versions. */
#main-article .bonus-matrix th[scope=rowgroup]{white-space:normal;min-width:150px;vertical-align:middle;text-align:left}
#main-article .bonus-matrix td{text-align:center;padding:6px 5px;font-size:13px}
/* Dark theme: search suggestions (category, snippet, highlight, "all results"). */
html[data-theme=dark] .m2-suggest-text small{color:#d9b46a}
html[data-theme=dark] .m2-suggest-text em,html[data-theme=dark] .m2-suggest-empty{color:#cbb48a}
html[data-theme=dark] .m2-suggest-text mark{background:#7a5414;color:#fff1c4}
html[data-theme=dark] .m2-suggest-all{color:#f2c46b!important;border-top-color:#5a3e1c}
/* Dark theme: every panel of the setup guide (notes, confirm box, choices, folds, fields). */
html[data-theme=dark] #main-article #setup-wizard .sg-note{background:#2f2013;border-left-color:#c79a45}
html[data-theme=dark] #main-article #setup-wizard .sg-confirm,html[data-theme=dark] #main-article #setup-wizard details,html[data-theme=dark] #main-article #setup-wizard .sg-choice{background:#2b1d11;border-color:#6b4a22}
html[data-theme=dark] #main-article #setup-wizard .sg-error{color:#ff9d8f!important}
html[data-theme=dark] #main-article #setup-wizard .sg-trail{color:#cbb48a!important}
html[data-theme=dark] #main-article #setup-wizard .sg-note *,html[data-theme=dark] #main-article #setup-wizard .sg-confirm *,html[data-theme=dark] #main-article #setup-wizard details *{color:#ecdcb7}
html[data-theme=dark] #main-article #setup-wizard .sg-note code,html[data-theme=dark] #main-article #setup-wizard .sg-confirm code{color:#f5e2b5!important}
html[data-theme=dark] #main-article #setup-wizard input[type=text],html[data-theme=dark] #main-article #setup-wizard input[type=number],html[data-theme=dark] #main-article #setup-wizard select{background:#1f150c!important;color:#f5e2b5!important;border-color:#6b4a22!important}
html[data-theme=dark] #main-article .toc .tocnumber{color:#d9b46a!important}
