.patch-shell{width:min(1500px,calc(100% - 32px));margin:0 auto 70px;color:#f3e7d6}
.patch-intro,.patch-tree,.patch-results{position:relative;background:rgba(14,25,39,.78);border:1px solid rgba(222,181,119,.43);box-shadow:0 14px 40px rgba(1,7,15,.38);backdrop-filter:blur(5px)}
.patch-intro{padding:30px clamp(20px,4vw,58px);margin-bottom:18px;overflow:visible}
.patch-intro::before,.patch-intro::after,.patch-results::before,.patch-results::after{content:"";position:absolute;z-index:2;width:72px;height:72px;background:url('harbor-filigree.svg') center/contain no-repeat;opacity:.72;pointer-events:none}
.patch-intro::before{top:-14px;left:-14px}.patch-intro::after{top:-14px;right:-14px;transform:scaleX(-1)}
.patch-results::before{bottom:-14px;left:-14px;transform:scaleY(-1)}.patch-results::after{bottom:-14px;right:-14px;transform:scale(-1,-1)}
.patch-kicker{margin:0 0 9px;color:#e8c58e;font:700 11px/1.3 Arial,sans-serif;letter-spacing:.19em}
.patch-intro h1,.patch-results h2,.patch-tree h2{margin:0;color:#f5d8a7;font-family:Georgia,'Times New Roman',serif;font-weight:700}
.patch-intro h1{font-size:clamp(28px,3vw,43px)}.patch-intro>p:not(.patch-kicker){line-height:1.55;margin:15px 0 0;font-size:15px}
.patch-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:21px}.patch-stats span{border:1px solid rgba(226,189,132,.33);border-radius:5px;background:rgba(5,13,23,.45);padding:7px 11px;font-size:12px;color:#e8d2ae}
.patch-layout{display:grid;grid-template-columns:minmax(240px,290px) minmax(0,1fr);gap:18px;align-items:start}.patch-tree{padding:20px;position:static}.patch-tree h2{font-size:22px;margin-bottom:16px}.tree-group{border-top:1px solid rgba(222,181,119,.24);padding:9px 0}.tree-group summary{cursor:pointer;color:#f1d7af;font:700 15px/1.4 Georgia,serif;list-style:none}.tree-group summary::-webkit-details-marker{display:none}.tree-group summary::after{content:'⌄';float:right}.tree-group[open] summary::after{content:'⌃'}.tree-children{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:9px}.tree-children button,.tree-all{border:1px solid rgba(222,181,119,.3);border-radius:5px;background:rgba(8,20,33,.6);color:#f1e3cc;padding:8px 9px;text-align:left;font-size:12px;line-height:1.25}.tree-children button:hover,.tree-all:hover,.tree-children button.active,.tree-all.active{border-color:#e7bc7c;background:rgba(113,76,35,.38);color:#fff0d1}.tree-all{width:100%;font-size:14px;font-weight:700;margin-bottom:8px}
.patch-results{padding:23px clamp(15px,2.3vw,32px) 70px;min-height:600px}.patch-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px}.patch-results h2{font-size:clamp(22px,2.1vw,30px)}.patch-search{display:block;width:min(340px,45%)}.patch-search input{width:100%;border:1px solid rgba(231,188,124,.55);border-radius:7px;background:rgba(5,14,24,.83);color:#f8e8cf;padding:12px 13px;outline:none}.patch-search input:focus{border-color:#f1d19c;box-shadow:0 0 0 2px rgba(235,187,115,.2)}.patch-search input::placeholder{color:#c7b797}.patch-tools{display:flex;justify-content:space-between;gap:12px;margin:18px 0;color:#d9c4a5;font-size:12px}.patch-tools label{display:flex;align-items:center;gap:7px}.patch-tools input{accent-color:#d9ad72}
.patch-entry{position:relative;border:1px solid rgba(222,181,119,.32);background:rgba(7,17,29,.66);border-radius:8px;margin:0 0 12px;padding:16px 18px}.patch-entry:target{border-color:#f1c98e;box-shadow:0 0 0 2px rgba(241,201,142,.25)}.patch-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#dcb981;font-size:12px;margin-bottom:8px}.patch-tag{border:1px solid rgba(222,181,119,.24);border-radius:4px;padding:3px 6px;color:#e7d5b9;background:rgba(23,39,55,.72)}.patch-entry h3{font:700 18px/1.35 Georgia,serif;color:#f4d7a5;margin:0 0 8px}.patch-entry p{line-height:1.5;margin:6px 0;font-size:14px}.patch-entry a{color:#efc98f;text-decoration:underline;text-underline-offset:2px}.patch-entry a:hover{color:#ffe3b8}.patch-entry s{color:#d0b3a5;text-decoration-color:#e7a39a;text-decoration-thickness:2px}.patch-revision{border-left:3px solid #d9ad72;padding-left:11px;color:#eddbc2}.patch-source{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:12px}.patch-excerpt{white-space:pre-line;max-height:400px;overflow:auto;border-top:1px solid rgba(222,181,119,.2);padding-top:12px;margin-top:12px;color:#d9cfc0}.patch-original{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto;border-top:1px solid rgba(222,181,119,.2);padding-top:12px;margin-top:12px;font-size:12px;line-height:1.5;color:#d6cbbc}.patch-empty{padding:30px;text-align:center;color:#e1ceaf}.patch-source details{width:100%}.patch-source summary{cursor:pointer;color:#e9c48d}
@media(max-width:950px){.patch-layout{grid-template-columns:1fr}.patch-tree{position:static;max-height:none}.patch-tree #patch-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.patch-tree .tree-all{grid-column:1/-1}.patch-results{min-height:0}}
@media(max-width:600px){.patch-shell{width:calc(100% - 20px)}.patch-intro{padding:45px 20px 20px}.patch-intro::before,.patch-intro::after,.patch-results::before,.patch-results::after{width:50px;height:50px}.patch-intro::before{top:-10px;left:-10px}.patch-intro::after{top:-10px;right:-10px}.patch-results::before{bottom:-10px;left:-10px}.patch-results::after{bottom:-10px;right:-10px}.patch-tree{padding:15px}.patch-tree #patch-tree{display:block}.patch-toolbar{display:block}.patch-search{width:100%;margin-top:15px}.patch-tools{display:block}.patch-tools #result-count{display:block;margin-top:7px}.patch-entry{padding:14px}}
.patch-section{display:grid;gap:10px;margin-top:12px}.patch-skill{border-top:1px solid rgba(222,181,119,.2);padding:10px 0 0}.patch-skill-heading{display:flex;align-items:center;gap:10px}.patch-skill h4{font:700 15px/1.35 Georgia,serif;color:#f0d3a5;margin:0}.patch-icon{width:32px;height:32px;object-fit:contain;flex:none;border:1px solid rgba(222,181,119,.35);border-radius:4px}.patch-image{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:8px 0}.patch-skill ul{margin:8px 0 0;padding-left:21px;display:grid;gap:4px}.patch-skill li{line-height:1.45;font-size:13px}.patch-comment{margin:8px 0;color:#bcb6aa;font-size:12px;line-height:1.45}.patch-comment summary{cursor:pointer;color:#d2b990}.patch-comment p{font-size:12px}.patch-original{white-space:normal}.patch-original p{margin:5px 0;line-height:1.45}.patch-original .patch-icon{display:inline-block;vertical-align:middle;margin-right:5px}
.patch-summary{margin:10px 0 0;padding-left:20px;display:grid;gap:6px}.patch-summary li{font-size:14px;line-height:1.5}.patch-section>.patch-image{display:none}
.patch-translations{margin:13px 0 0!important;font-size:12px!important;color:#d5c4a8}.patch-translations a{color:#eac58c;text-decoration:underline;text-underline-offset:2px}
.patch-date-note{margin:6px 0 0!important;font-size:12px!important;color:#bfb09a}
.patch-read{border-top:1px solid rgba(222,181,119,.18);margin-top:10px;padding-top:9px}.patch-read>summary{cursor:pointer;color:#efc98f;font-size:13px}.patch-skill p.patch-fact{border-left:2px solid rgba(226,180,111,.58);background:rgba(217,173,114,.07);padding:7px 10px;margin:5px 0;overflow-wrap:anywhere}.patch-skill p.patch-prose{padding:3px 0;margin:5px 0;color:#e4d8c6;overflow-wrap:anywhere}.patch-section>.patch-image{display:block}
.patch-atom h3{margin:0;font-size:17px}.patch-facts{display:grid;gap:5px;margin-top:9px}.patch-facts .patch-fact{border-left:2px solid rgba(226,180,111,.58);background:rgba(217,173,114,.07);padding:7px 10px;margin:0;overflow-wrap:anywhere}.patch-stats,.patch-translations,.patch-date-note,.patch-tools label{display:none!important}
.patch-fact .patch-icon,.patch-skill-heading h3 .patch-icon{display:inline-block;vertical-align:middle;margin:0 5px 0 3px}.patch-fact .patch-icon:first-child{margin-left:0}
.patch-inline-revision{display:inline-block;margin-left:9px;font:500 11px/1.3 Arial,sans-serif;white-space:normal}
body{background:#101823!important}body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background:url('../assets/backgrounds/main.png?v=54') center center/cover no-repeat}body>.topbar,body>main,body>.site-footer{position:relative;z-index:1}body>.topbar{z-index:3}
.patch-day{border:1px solid rgba(222,181,119,.4);border-radius:8px;background:rgba(7,17,29,.72);margin:0 0 17px;padding:0 18px 4px}.patch-day-title{font:700 22px/1.3 Georgia,serif;color:#f4d7a5;margin:0;padding:16px 0 12px}.patch-day>.patch-entry{border:0;border-top:1px solid rgba(222,181,119,.25);border-radius:0;background:none;box-shadow:none;margin:0;padding:13px 0}.patch-day>.patch-entry .patch-meta{display:none}.patch-day>.patch-entry:target{background:rgba(223,177,107,.12);outline:1px solid rgba(241,201,142,.4)}@media(max-width:600px){.patch-day{padding:0 13px 4px}.patch-day-title{font-size:19px}}
html{scrollbar-color:#b48c58 #102033;scrollbar-width:thin}
html::-webkit-scrollbar{width:11px}
html::-webkit-scrollbar-track{background:#102033;border-left:1px solid rgba(222,181,119,.2)}
html::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d5ad73,#8e673a);border:2px solid #102033;border-radius:8px}
html::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#f0cf9a,#b38752)}
.patch-breadcrumb{position:relative;z-index:1;margin:0 0 18px}.patch-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;list-style:none;font-size:13px}.patch-breadcrumb li{display:flex;align-items:center;gap:7px;color:#dbc6aa}.patch-breadcrumb li+li::before{content:"/";color:#b99a70}.patch-breadcrumb a{color:#edcb9a;text-decoration:none}.patch-breadcrumb a:hover{text-decoration:underline;color:#ffe1b0}.patch-breadcrumb a:focus-visible{outline:2px solid #fff0c9;outline-offset:3px}.patch-breadcrumb [aria-current="page"]{color:#f5e2c9;font-weight:700}
@media(max-width:480px){.patch-breadcrumb ol{font-size:12px;gap:5px}.patch-breadcrumb li{gap:5px}}
.patch-gallery{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin:10px 0}.patch-gallery .patch-image{width:auto;height:auto;max-width:100%;max-height:none;object-fit:initial;margin:0;flex:none}
.patch-intro-copy a{color:#f1c88b;text-decoration:underline;text-underline-offset:2px}.patch-intro-copy a:hover{color:#ffe3b5}.patch-intro-copy a:focus-visible{outline:2px solid #fff0c9;outline-offset:3px}
@media(max-width:950px){.patch-layout{grid-template-columns:minmax(0,1fr);gap:12px}.patch-tree,.patch-results{min-width:0}.patch-tree #patch-tree{display:block}.tree-group summary{display:flex;align-items:center;justify-content:space-between;min-height:44px}.tree-children{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tree-children button,.tree-all{min-width:0;min-height:44px;font-size:13px;overflow-wrap:anywhere}}
@media(max-width:600px){.patch-intro{padding:43px 16px 18px}.patch-intro h1{font-size:clamp(25px,7.4vw,31px);line-height:1.12;overflow-wrap:anywhere}.patch-intro-copy{font-size:14px!important;line-height:1.5!important}.patch-breadcrumb{margin-bottom:13px}.patch-tree{padding:14px}.patch-results{padding:18px 12px 62px}.patch-day{padding:0 10px 3px}.patch-day-title{font-size:18px;line-height:1.25}.patch-entry h3{font-size:16px;overflow-wrap:anywhere}.patch-facts .patch-fact{font-size:13px;line-height:1.45;padding:8px}.patch-source{gap:8px}.patch-source a{overflow-wrap:anywhere}.patch-inline-revision{display:block;margin:7px 0 0}.patch-icon{width:28px;height:28px}}
.patch-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:14px 0;color:#e5d1b2}.patch-pagination[hidden]{display:none}.patch-page-status{font-size:13px}.patch-page-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.patch-page-button{min-width:39px;min-height:39px;padding:7px 9px;border:1px solid rgba(219,181,124,.51);border-radius:6px;background:rgba(6,19,34,.65);color:#f0ddbf;font:700 13px/1.2 Arial,sans-serif;cursor:pointer}.patch-page-button:hover,.patch-page-button:focus-visible{border-color:#f0c788;background:rgba(117,80,40,.48);outline:none}.patch-page-button[aria-current="page"]{border-color:#e7bc7c;background:rgba(113,76,35,.65);color:#fff3da}.patch-page-button:disabled{opacity:.42;cursor:default}.patch-page-ellipsis{padding:0 2px;color:#c7aa7c}.patch-mobile-nav{display:none}
@media(max-width:760px){body:has(.patch-mobile-nav){padding-bottom:calc(68px + env(safe-area-inset-bottom))}body.patch-nav-open{overflow:hidden}.patch-tree{display:none;position:fixed;z-index:16;top:auto;right:10px;bottom:calc(68px + env(safe-area-inset-bottom));left:10px;box-sizing:border-box;width:auto;max-height:min(68vh,600px);overflow-y:auto;overscroll-behavior:contain;border-radius:10px;background:#102238;box-shadow:0 8px 26px #030a18a8}.patch-tree.is-open{display:block}.patch-mobile-nav{position:fixed;z-index:15;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;box-sizing:border-box;width:100%;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:1px solid rgba(219,178,118,.64);border-right:0;border-bottom:0;border-left:0;border-radius:14px 14px 0 0;background:rgba(10,26,43,.96);box-shadow:0 -8px 24px rgba(2,10,21,.34);backdrop-filter:blur(7px)}.patch-mobile-nav button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:45px;padding:6px 5px;border:1px solid rgba(219,181,124,.51);border-radius:7px;background:rgba(47,55,64,.69);color:#f7ddba;font:700 11px/1.2 Georgia,'Times New Roman',serif;text-align:center;cursor:pointer}.patch-mobile-nav button:hover,.patch-mobile-nav button:focus-visible{border-color:rgba(229,190,126,.62);background:rgba(206,159,90,.18);outline:none}body:has(.patch-mobile-nav) .site-back-top{bottom:calc(82px + env(safe-area-inset-bottom))}.patch-pagination{justify-content:center}.patch-page-status{width:100%;text-align:center}.patch-page-controls{justify-content:center}}
@media(max-width:760px){.patch-page-step-label{display:none}}
@media(max-width:600px){.patch-long-heading .patch-skill-heading h3{font:500 14px/1.5 Arial,sans-serif;color:#e9dcc7}}

