/* Scoped to Android-derived settings. Does not reskin the PC game windows. */
/* MobileBlackGoldSkin400.panel/control/cell; the old stone PNG is unused by
   VideoHelperDialog376.ScaledSurface in the authoritative Android source. */
#dialog:has(.assist-settings){background:#171512f2;border:2px solid #735938;border-radius:0;box-shadow:inset 0 0 0 2px #171512,inset 0 0 0 3px #b18d53,0 12px 40px #000a;color:#e3dbbd}
#dialog:has(.assist-settings) .dialoghead{background:#302820;border-bottom:1px solid #735938}
#dialog:has(.assist-settings) .dialoghead h2{color:#e3dbbd}
.assist-settings button,.assist-settings select,.assist-settings input[type=number]{background:#242019;border:1px solid #8d7248;color:#ead5ac;box-shadow:none}
.assist-settings button:active{background:#59472c}
.assist-settings input[type=checkbox]{accent-color:#b18d53}
.assist-settings{display:grid;gap:12px;min-width:0}
.assist-settings fieldset{display:flex;flex-wrap:wrap;gap:10px;margin:0;min-width:0;padding:10px;border:1px solid #665a43}
.assist-settings legend{max-width:100%;padding:0 4px;white-space:normal}
.assist-settings label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex:1 1 160px}
.assist-settings input[type=number]{width:76px;min-width:64px;min-height:44px;padding:6px;font:inherit}
.assist-settings input[type=checkbox]{width:22px;height:22px;flex:0 0 22px}
.assist-settings select{max-width:100%;min-width:0;min-height:44px;padding:6px;font:inherit}
.assist-settings button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.assist-settings p{margin:4px 0;overflow-wrap:anywhere}
.helper-slot-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:100%;min-width:0}
.helper-slot-grid button{min-width:0;padding:4px;font-size:11px;min-height:54px}
.helper-slot-grid button{background:#090909;border-color:#746044}
.helper-slot-grid button img{display:block;width:32px;height:32px;object-fit:contain;image-rendering:pixelated;margin:0 auto;pointer-events:none}
.helper-slot-grid button span{display:block;line-height:1.3}
.helper-slot-grid button[aria-pressed=true]{outline:2px solid #e4c474;outline-offset:-2px;background:#49412d}
.helper-slot-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;min-width:0}
.helper-slot-fields>p{grid-column:1/-1}
.helper-slot-fields label{flex-wrap:wrap}
@media(max-width:480px){.assist-settings fieldset{padding:8px;gap:8px}.helper-slot-fields{grid-template-columns:minmax(0,1fr)}.helper-slot-fields label{flex-wrap:nowrap}.helper-slot-grid button{font-size:10px;padding:3px}.assist-settings>button{width:100%}}
