.patcher-page{max-width:1240px;margin:2rem auto;font:16px system-ui,sans-serif;color:#e5e7eb;padding:0 1rem}.local-note{color:#a78bfa}.file-drop{border:2px dashed #34383f;border-radius:10px;padding:1rem;margin:1rem 0;min-height:100px;background:#202328}.file-drop strong{margin-right:1rem}.file-drop input{display:none}.file-drop button,.apply,.success button,.choose-patch{padding:.55rem .85rem;cursor:pointer;border:none;border-radius:8px;background:#7529f1;color:#fff;font-weight:600}.file-drop button:hover,.apply:not(:disabled):hover,.success button:hover,.choose-patch:hover{background:#8b3ff7}.file-drop p{color:#9ca3af}.apply{margin:1rem 0}.apply:disabled{cursor:not-allowed;opacity:.55}.error{border-left:4px solid #f87171;background:#2a1517;padding:1rem;color:#fca5a5;border-radius:8px}.success{margin-top:1rem;padding:1rem;background:#14231a;border:1px solid #2f7a4f;border-radius:8px}.compatible{margin:1rem 0;padding:1rem;border:1px solid #6d3fc9;background:#241a38;border-radius:8px}.compatible h2{margin-top:0;color:#e5e7eb}.compatible small{color:#9ca3af}.choose-patch{display:block;margin-top:.5rem;padding:.4rem .65rem;cursor:pointer;border:none;border-radius:8px;background:#7529f1;color:#fff;font-weight:600}.choose-patch:hover{background:#8b3ff7}.rom-signatures{margin:1rem 0;padding:1rem;background:#202328;border:1px solid #34383f;border-radius:8px}.rom-signatures h2{margin-top:0;color:#e5e7eb}.rom-signatures dl{display:grid;grid-template-columns:max-content 1fr;gap:.35rem 1rem;margin:0}.rom-signatures dt{font-weight:700;color:#d1d5db}.rom-signatures dd{margin:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#e5e7eb}.patcher-layout{display:grid;grid-template-columns:minmax(0,420px) 1fr;gap:1.5rem;align-items:start}.patcher-left{padding-bottom:96px}.patcher-right{border:1px solid #34383f;border-radius:10px;padding:1rem;background:#202328;max-height:85vh;overflow-y:auto}.patcher-right h2{margin-top:0;color:#e5e7eb}.catalog-groups{display:flex;flex-direction:column;gap:1.25rem}.catalog-group h3{margin:0 0 .5rem;color:#f8fafc;border-bottom:1px solid #34383f;padding-bottom:.3rem}.catalog-card{border:1px solid #34383f;background:#24272c;border-radius:8px;padding:.7rem;margin-bottom:.6rem}.catalog-card.selected{border-color:#7529f1;box-shadow:0 0 0 1px #7529f1}.catalog-card.grayed{opacity:.55;background:#1f2227}.catalog-card.grayed img{filter:grayscale(1)}.catalog-card-head{display:flex;gap:.75rem}.catalog-card-head img{width:96px;height:72px;object-fit:cover;border:1px solid #34383f;border-radius:4px;background:#2a2d33;flex:0 0 auto}.catalog-no-image{width:96px;height:72px;border:1px dashed #6b7280;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:.75rem;text-align:center}.catalog-card h4{margin:0 0 .2rem;font-size:.95rem;color:#f8fafc}.catalog-meta{margin:0;color:#9ca3af;font-size:.8rem}.catalog-desc{color:#d1d5db;font-size:.85rem;margin:.5rem 0 0;white-space:pre-line}.catalog-required{color:#fbbf24;font-size:.8rem;margin:.5rem 0 0;border-top:1px dashed #b45309;padding-top:.4rem}@media(max-width:900px){.patcher-layout{grid-template-columns:1fr}}.site-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:28px;padding:18px clamp(20px,4vw,56px);background:#111827;border-bottom:3px solid #7529F1;color:#f8fafc;font-family:system-ui,sans-serif}.site-brand{color:#f8fafc;text-decoration:none;font-weight:800;letter-spacing:.02em}.brand-name{font-size:1.3rem;color:#f8fafc}.brand-patch{color:#a78bfa}.site-header nav{display:flex;flex-wrap:wrap;gap:8px}.site-header nav a{padding:10px 15px;border-radius:8px;color:#e2e8f0;text-decoration:none}.site-header nav a:hover{background:#334155}.site-header nav a[aria-current=page]{color:#fff;background:#7529f1;font-weight:700}.lang-switch{display:inline-flex;border:1px solid #34383f;border-radius:8px;overflow:hidden}.lang-switch button{background:#1b1d21;color:#9ca3af;border:none;padding:7px 12px;cursor:pointer;font-weight:700;font-size:.85rem}.lang-switch button.active{background:#7529f1;color:#fff}.lang-switch button+button{border-left:1px solid #34383f}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}.account-actions{display:flex;align-items:center;gap:12px;padding-left:18px;border-left:1px solid #34383f}.profile-link{color:#e5e7eb;text-decoration:none;font-weight:700;font-size:.88rem;display:inline-flex;align-items:center;gap:7px}.profile-link img{width:30px;height:30px;border-radius:50%}.admin-link{color:#fbbf24;text-decoration:none;font-weight:800;font-size:.86rem;padding:8px 10px;border-radius:8px;background:#fbbf241a}.account-actions button{color:#9ca3af;background:none;border:none;cursor:pointer;font-size:.82rem;padding:8px}.google-signin{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border:1px solid #596273;color:#f8fafc;text-decoration:none;border-radius:9px;font-weight:700;font-size:.86rem;white-space:nowrap}.google-signin span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;color:#4285f4;font-weight:900}.site-header a:focus-visible{outline:3px solid #facc15;outline-offset:3px}.site-skip{position:absolute;left:16px;top:-100px;padding:12px;background:#fff;color:#111827;z-index:10}.site-skip:focus{top:8px}@media(max-width:540px){.site-header{padding:16px 14px;gap:14px}.site-header nav{width:100%}.site-header nav a{padding:10px}.header-actions{width:100%;justify-content:space-between;gap:10px}.account-actions{padding-left:0;border-left:0}}:root{color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0;background:#1b1d21;color:#e5e7eb;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}#root{min-height:100vh}a{color:#a78bfa}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#2a2d33;padding:1px 5px;border-radius:4px}.chip{display:inline-block;background:#24272c;border:1px solid #34383f;border-radius:999px;padding:4px 12px;font-size:.8rem;color:#d1d5db}.kofi-button{display:inline-flex;align-items:center;padding:10px 18px;border-radius:8px;background:#7529f1;color:#fff;font-weight:700;text-decoration:none}.kofi-button:hover{background:#8b3ff7}
