.breeding{padding:32px 4%}.breeding[hidden],.breeding [hidden]{display:none!important}.breed-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.breed-heading h1{font:700 clamp(26px,3vw,42px)/1.2 'Space Grotesk',sans-serif;margin:10px 0 25px}.breed-heading a{color:#8ce9e7;white-space:nowrap}.breed-tabs{display:flex;gap:10px;border-bottom:1px solid #3e7181;padding-bottom:20px;margin-bottom:25px}.breed-tabs button,.breed-reset,.tree-expand{border:1px solid #4e91a2;background:#12475a;color:#d6f6fa;border-radius:9px;padding:12px 18px;font:700 14px inherit;min-height:44px}.breed-tabs button[aria-pressed=true]{background:#ffcb66;color:#183b47;border-color:#ffdf91}.breed-equation{display:grid;grid-template-columns:1fr 32px 1fr 32px 1fr;align-items:center;gap:15px;padding:12px 3% 20px}.breed-slot{min-width:0;min-height:280px;border:2px dashed #538b9d;background:#103e52;border-radius:17px;padding:20px 14px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:9px;color:#eefbff;font:inherit}.breed-slot.selecting{border-color:#50e0da;box-shadow:0 0 0 4px #35d9db19}.breed-slot>img{width:100%;max-width:180px;height:160px;object-fit:contain}.slot-label{color:#6ce4de;font-size:13px;letter-spacing:.12em;font-weight:800}.breed-slot strong{font-size:21px;color:#ffe297}.breed-slot small{color:#bbdce7;font-size:13px}.slot-placeholder{font-size:60px;color:#6396a8;height:120px;display:grid;place-items:center}.breed-operator{text-align:center;font-size:29px;font-weight:700;color:#ffcf69}.breed-result{border-style:solid;border-color:#d6ad5c;background:#274748}.breed-result .breed-mini{background:transparent;border:0;box-shadow:none}.breed-result .breed-mini img{width:150px;height:150px}.breed-reset{display:block;margin:0 auto 25px;background:transparent}.breed-library{border-top:1px solid #3f7183;margin-top:30px;padding-top:25px}.breed-library-top{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.breed-library-top h2{font-size:23px;margin-right:auto}.breeding input,.breeding select{font:inherit;font-size:16px;color:#e4f7ff;background:#0b3043;border:1px solid #5b899a;border-radius:8px;min-height:44px;padding:10px 12px;max-width:100%}.breed-library-top input{width:260px}#breedPickHint{color:#b6d8e1;font-size:14px}.breed-pal-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.breed-mini{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 6px;border:1px solid #3d6f84;border-radius:12px;background:#153f53;color:#ffe29a;font:700 15px/1.25 inherit;min-width:0;text-align:center}.breed-mini img{object-fit:contain;width:96px;height:96px;max-width:100%;filter:drop-shadow(0 5px 5px #001a2a66)}.breed-mini span{overflow-wrap:anywhere;font-weight:700}.breed-mini small{color:#a9cfdb;font-size:13px}.breed-mini:hover,.breed-mini.chosen{background:#206477;border-color:#ffcf6c;transform:translateY(-2px)}.breed-note{color:#b9d8df;font-size:14px;line-height:1.7;border-top:1px solid #3e7080;padding-top:20px;margin-top:30px}.breed-note a{color:#74e5df}.target-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.breed-target{display:flex;align-items:center;gap:15px;background:#235765;color:#ffe5a0;border:1px solid #78b7b9;padding:12px 16px;border-radius:12px;font:inherit;min-height:76px}.breed-target>span{display:flex;flex-direction:column;gap:5px}.breed-target small{font-size:12px;color:#8ee5dc}.breed-target strong{font-size:23px}.target-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#c4e3e9}.recipe-count{color:#ffdf96;font-size:16px;margin-top:25px}.recipe-tree{border:1px solid #457789;background:#103a4b;border-radius:15px;padding:20px;margin:16px 0}.tree-root{display:flex;flex-direction:column;align-items:center}.tree-root>.breed-mini{min-width:160px;background:#315754;border-color:#cea959}.tree-line{height:24px;border-left:2px solid #70acb5}.tree-parents{display:grid;grid-template-columns:1fr 1fr;gap:20px;position:relative;border-top:2px solid #70acb5;padding-top:20px}.tree-branch{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;position:relative}.tree-branch:before{content:'';height:20px;border-left:2px solid #70acb5;position:absolute;top:-20px;left:50%}.tree-branch>.breed-mini{min-width:130px;max-width:100%}.tree-expand{font-size:13px;padding:8px 12px}.tree-note{font-size:13px;color:#a8ccd6;text-align:center}.subtree{width:100%;padding:12px 0 0}.subtree>label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#b9dee8;margin-bottom:18px}.subtree .tree-parents{gap:8px}.subtree .breed-mini{min-width:0;width:100%;font-size:13px}.subtree .breed-mini img{width:72px;height:72px}.subtree .tree-expand{padding:6px;font-size:12px}.breed-empty{padding:24px;text-align:center;background:#164254;border-radius:12px;color:#c2e0e8}#breedStatus{padding:35px;text-align:center}#breedStatus button{padding:12px}
@media(max-width:1000px){.breed-pal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.breed-equation{padding-inline:0;gap:8px;grid-template-columns:1fr 20px 1fr 20px 1fr}.subtree .tree-parents{grid-template-columns:1fr}.subtree .tree-branch:before{left:50%}}@media(max-width:600px){.breeding{padding:24px 5%}.breed-heading{display:block}.breed-heading a{display:none}.breed-tabs{gap:8px}.breed-tabs button{flex:1;padding:10px;font-size:14px}.breed-equation{grid-template-columns:1fr 22px 1fr;gap:9px}.breed-slot{min-height:220px;padding:12px 8px}.breed-slot>img{height:120px}.breed-slot strong{font-size:17px}.breed-equation>.breed-operator:nth-child(4){grid-column:1/-1;height:24px}.breed-result{grid-column:1/-1;min-height:230px}.breed-result .breed-mini img{height:125px}.breed-pal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.breed-mini{font-size:14px;padding:10px 5px}.breed-mini img{width:75px;height:75px}.breed-library-top{gap:10px}.breed-library-top h2{width:100%;font-size:22px}.breed-library-top input{width:100%}.breed-library-top select{width:100%}.target-toolbar>label,.target-toolbar input,.breed-target{width:100%}.recipe-tree{padding:14px 10px}.tree-parents{gap:10px}.tree-branch>.breed-mini{min-width:0;width:100%}.tree-root>.breed-mini{min-width:130px}.tree-expand{font-size:12px;padding:8px}.subtree .tree-parents{grid-template-columns:1fr}.breed-note{font-size:13px}}
.tree-expand{max-width:100%;overflow-wrap:anywhere}.subtree .subtree .tree-parents{grid-template-columns:1fr}.tree-branch select{min-width:0;width:100%}
