.merge-action{width:100%;min-height:46px;margin-top:12px;padding:11px 14px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #c0ad7566;border-radius:8px;background:#253e32;color:#ecdfb6;font:600 13px inherit;cursor:pointer}
.merge-action>span{font-size:15px;color:#c8ad72}.merge-action b{margin-left:auto;min-width:23px;padding:3px 6px;border-radius:5px;background:#142b24;font-size:12px}.merge-action.available{border-color:#cbbb7d;background:#375746;box-shadow:0 0 16px #cbbb7d16}.merge-action:hover{background:#3a5847}.merge-action:focus-visible{outline:2px solid #e3cc8b;outline-offset:3px}
.synthesis-help{margin:0 0 20px;line-height:1.7;font-size:13px;color:#c5cdb7}.recipe-controls{flex-wrap:wrap}.recipe-controls label{white-space:nowrap}
.recipe-detail{min-width:0}.recipe-components{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.recipe-component{display:flex;align-items:center;gap:6px;padding:4px 7px 4px 2px;background:#152e26;border:1px solid #8c997737;border-radius:6px;font-size:10px;color:#d0d7c1}.recipe-component img{width:27px!important;height:29px!important;object-fit:contain!important}.recipe-component b{font-size:11px;color:#9cd4ab}.recipe-component.missing{border-style:dashed;color:#a8b3a1}.recipe-component.missing img{opacity:.48}.recipe-component.missing b{color:#c39f83}.recipe-anchor{font-size:10px!important;color:#c8b77e!important;margin:8px 0 0!important}.recipe-row>small{max-width:120px;line-height:1.5}.recipe-row>button{min-height:44px}
@media(max-width:760px){.merge-action{grid-column:1/-1;margin-top:4px}.recipe-row{align-items:start!important}.recipe-row>small{max-width:none;grid-column:2/-1}.recipe-component{font-size:9px}.synthesis-help{font-size:12px}}

.recipe-inventory{padding:12px;border:1px solid #72b39b55;border-radius:10px;background:#0f342c;margin-bottom:14px}
.recipe-inventory summary{cursor:pointer;color:#f3d393;font-size:14px}.stock-scroll{max-height:160px;overflow-y:auto;padding-right:4px}
.stock-scroll h4{font-size:11px;color:#bbd6c2;margin:12px 0 7px}.stock-grid{display:flex;flex-wrap:wrap;gap:5px}
.stock-gem{display:flex;align-items:center;gap:5px;padding:4px 7px 4px 3px;border:1px solid #65a98966;border-radius:6px;background:#174337;color:#e0e9cb;font-size:11px}
.stock-gem img{width:27px;height:30px;object-fit:contain}.stock-gem small{display:block;font-size:8px;color:#b6cbb2}.stock-gem b{color:#f1d188;font-size:11px}
.stock-gem.draft{border-color:#d5b36388;background:#5d4b282e}.recipe-component.saved{border-color:#70b99299}.recipe-component.draft{border-color:#d7b867aa;background:#6d532b30}.recipe-component.draft b{color:#f5cf7c}
.recipe-count{color:#a9bfa9;font-size:11px;margin:12px 0}.recipe-plan{font-size:11px!important;line-height:1.6!important;color:#bfceb4!important;margin:8px 0 0!important}
.recipe-row.near{border-color:#caad6470}.recipe-row{scroll-margin-top:15px}
.recipe-hints{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#6d9d81 transparent;padding:2px 0}
.recipe-hints[hidden]{display:none}.recipe-hint{display:flex;gap:7px;align-items:center;flex:0 0 min(340px,100%);min-width:0;padding:5px 7px;border:1px solid #719d7a66;border-radius:8px;background:#164b3c55}
.recipe-hint.found{border-color:#dfbc70aa;background:#80602c22}.hint-open{flex:0 0 36px;width:36px;min-height:44px;padding:0;background:none;border:0;cursor:pointer}.hint-open img{width:35px;height:42px;object-fit:contain}
.hint-copy{flex:1;min-width:0}.hint-copy b{display:block;color:#f1dbab;font:15px Georgia,serif}.hint-copy b small{font:10px Arial,sans-serif;color:#b9d0a3;margin-left:3px}
.hint-copy>span{display:block;font-size:10px;line-height:1.4;color:#d1ddba;margin:3px 0;overflow-wrap:anywhere}.hint-copy>small{display:block;font-size:8px;color:#98b99d}
.hint-keep{flex-shrink:0;min-height:44px;max-width:74px;padding:6px 8px;border:1px solid #e3cb88;border-radius:6px;background:#e2bb6c;color:#163a2d;font-family:inherit;font-size:10px;font-weight:600;cursor:pointer}.hint-keep:disabled{background:#284b3c;color:#a6bda6;border-color:#7c936066;cursor:default}
.hint-open:focus-visible,.hint-keep:focus-visible{outline:2px solid #78ddbc;outline-offset:2px}.mobile-game .draft-slot.for-recipe{border-color:#ebc66e;box-shadow:inset 0 0 0 1px #ebc66e66}
@media(max-height:500px) and (orientation:landscape){.recipe-hint{padding:3px 6px}.hint-copy>small{display:none}.hint-open,.hint-keep{min-height:36px}.hint-open img{height:34px}.hint-copy>span{font-size:9px}.hint-copy b{font-size:14px}}
@media(max-height:500px) and (orientation:landscape){.mobile-game .action-dock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px}.mobile-game .draft-strip{grid-column:1;grid-row:1}.selected-card{grid-column:2;grid-row:1}.instant-actions{grid-column:1;grid-row:2;min-width:0}.recipe-hints{grid-column:2;grid-row:2;min-width:0}.recipe-hint{flex-basis:100%}}
